vdr
1.7.27
|
00001 /* 00002 * filetransfer.h: The video file transfer facilities 00003 * 00004 * See the main source file 'vdr.c' for copyright information and 00005 * how to reach the author. 00006 * 00007 * $Id: $ 00008 */ 00009 00010 #ifndef __FILETRANSFER_H 00011 #define __FILETRANSFER_H 00012 00013 #include "recording.h" 00014 #include "thread.h" 00015 00016 class cCopyingThread; 00017 00018 class cFileTransfer { 00019 private: 00020 static cMutex mutex; 00021 static char *copiedVersionName; 00022 static cCopyingThread *copyingThread; 00023 static bool error; 00024 static bool ended; 00025 public: 00026 static bool Start(cRecording *Recording, const char *NewName, bool CopyOnly = false); 00027 static void Stop(void); 00028 static bool Active(void); 00029 static bool Error(void); 00030 static bool Ended(void); 00031 }; 00032 00033 #endif //__FILETRANSFER_H