vdr
1.7.27
|
#include <filetransfer.h>
Static Public Member Functions | |
static bool | Start (cRecording *Recording, const char *NewName, bool CopyOnly=false) |
static void | Stop (void) |
static bool | Active (void) |
static bool | Error (void) |
static bool | Ended (void) |
static bool | Start (cRecording *Recording, const char *NewName, bool CopyOnly=false) |
static void | Stop (void) |
static bool | Active (void) |
static bool | Error (void) |
static bool | Ended (void) |
Static Private Attributes | |
static cMutex | mutex |
static char * | copiedVersionName = NULL |
static cCopyingThread * | copyingThread = NULL |
static bool | error = false |
static bool | ended = false |
Definition at line 18 of file filetransfer.h.
bool cFileTransfer::Active | ( | void | ) | [static] |
Definition at line 249 of file filetransfer.c.
References cThread::Active(), copiedVersionName, copyingThread, ended, error, cCopyingThread::Error(), mutex, and Stop().
Referenced by cSVDRP::CmdCPYR(), cSVDRP::CmdMOVR(), cShutdownHandler::ConfirmRestart(), cShutdownHandler::ConfirmShutdown(), main(), cMenuEditRecording::ProcessKey(), and cMenuMain::Update().
static bool cFileTransfer::Active | ( | void | ) | [static] |
bool cFileTransfer::Ended | ( | void | ) | [static] |
static bool cFileTransfer::Ended | ( | void | ) | [static] |
bool cFileTransfer::Error | ( | void | ) | [static] |
static bool cFileTransfer::Error | ( | void | ) | [static] |
static bool cFileTransfer::Start | ( | cRecording * | Recording, |
const char * | NewName, | ||
bool | CopyOnly = false |
||
) | [static] |
bool cFileTransfer::Start | ( | cRecording * | Recording, |
const char * | NewName, | ||
bool | CopyOnly = false |
||
) | [static] |
Definition at line 215 of file filetransfer.c.
References copiedVersionName, copyingThread, ended, error, cRecording::FileName(), mutex, and NewVideoFileName().
Referenced by cSVDRP::CmdCPYR(), cSVDRP::CmdMOVR(), and cMenuEditRecording::ProcessKey().
void cFileTransfer::Stop | ( | void | ) | [static] |
Definition at line 231 of file filetransfer.c.
References cThread::Active(), copiedVersionName, copyingThread, cRecordings::DelByName(), DELETENULL(), Error(), cCopyingThread::Error(), esyslog, isyslog, mutex, Recordings, and RemoveVideoFile().
Referenced by Active(), main(), and cMenuMain::ProcessKey().
static void cFileTransfer::Stop | ( | void | ) | [static] |
static char * cFileTransfer::copiedVersionName = NULL [static, private] |
Definition at line 21 of file filetransfer.h.
static cCopyingThread * cFileTransfer::copyingThread = NULL [static, private] |
Definition at line 22 of file filetransfer.h.
static bool cFileTransfer::ended = false [static, private] |
Definition at line 24 of file filetransfer.h.
static bool cFileTransfer::error = false [static, private] |
Definition at line 23 of file filetransfer.h.
static cMutex cFileTransfer::mutex [static, private] |