#include <storagegroup.h>

Definition at line 10 of file storagegroup.h.
Public Member Functions | |
| StorageGroup (const QString group="", const QString hostname="") | |
| StorageGroup constructor. | |
| void | Init (const QString group="Default", const QString hostname="") |
| QString | getName (void) const |
| QStringList | GetDirList (void) const |
| QString | FindRecordingFile (QString filename) |
| QString | FindRecordingDir (QString filename) |
| QString | FindNextDirMostFree (void) |
Static Public Member Functions | |
| static void | CheckAllStorageGroupDirs (void) |
| static QStringList | getRecordingsGroups (void) |
Static Public Attributes | |
| static const char * | kDefaultStorageDir = "/mnt/store" |
| static const QStringList | kSpecialGroups |
Private Attributes | |
| QString | m_groupname |
| QString | m_hostname |
| QStringList | m_dirlist |
| StorageGroup::StorageGroup | ( | const QString | group = "", |
|
| const QString | hostname = "" | |||
| ) |
StorageGroup constructor.
| group | storage group to search, blank will search all groups. | |
| hostname | hostname where to search, blank will search all hosts' directories, but only in local directory structure. This is parameter is ignored if group is an empty string. |
Definition at line 30 of file storagegroup.cpp.
| void StorageGroup::Init | ( | const QString | group = "Default", |
|
| const QString | hostname = "" | |||
| ) |
| QString StorageGroup::getName | ( | void | ) | const [inline] |
Definition at line 18 of file storagegroup.h.
| QStringList StorageGroup::GetDirList | ( | void | ) | const [inline] |
| QString StorageGroup::FindRecordingFile | ( | QString | filename | ) |
Definition at line 118 of file storagegroup.cpp.
Referenced by ProgramInfo::GetPlaybackURL(), MainServer::LocalFilePath(), and PreviewGenerator::Run().
| QString StorageGroup::FindRecordingDir | ( | QString | filename | ) |
Definition at line 142 of file storagegroup.cpp.
Referenced by FindRecordingDir(), and FindRecordingFile().
| QString StorageGroup::FindNextDirMostFree | ( | void | ) |
Definition at line 187 of file storagegroup.cpp.
| void StorageGroup::CheckAllStorageGroupDirs | ( | void | ) | [static] |
| QStringList StorageGroup::getRecordingsGroups | ( | void | ) | [static] |
const char * StorageGroup::kDefaultStorageDir = "/mnt/store" [static] |
const QStringList StorageGroup::kSpecialGroups [static] |
Initial value:
QStringList()
<< "LiveTV"
<< "DB Backups"
Definition at line 32 of file storagegroup.h.
Referenced by StorageGroupListEditor::doDelete(), getRecordingsGroups(), StorageGroupListEditor::load(), and StorageGroupEditor::StorageGroupEditor().
QString StorageGroup::m_groupname [private] |
Definition at line 37 of file storagegroup.h.
Referenced by CheckAllStorageGroupDirs(), FindRecordingDir(), Init(), and StorageGroup().
QString StorageGroup::m_hostname [private] |
QStringList StorageGroup::m_dirlist [private] |
Definition at line 39 of file storagegroup.h.
Referenced by FindNextDirMostFree(), FindRecordingDir(), Init(), and StorageGroup().
1.5.5