Logo Search packages:      
Sourcecode: vdr-plugin-live version File versions  Download package

RecordingsListPtr vdrlive::RecordingsManager::GetRecordingsList ( bool  ascending = true  )  const

Return a shared pointer to a populated recordings list. The list is optionally sorted ascending or descending by date and may be constrained by a date range.

Definition at line 58 of file recman.cpp.

      {
            RecordingsManagerPtr recMan = EnsureValidData();
            if (! recMan) {
                  return RecordingsListPtr(recMan, shared_ptr< RecordingsList >());
            }
            return RecordingsListPtr(recMan, shared_ptr< RecordingsList >(new RecordingsList(m_recList, ascending)));
      }


Generated by  Doxygen 1.6.0   Back to index