vdr  1.7.31
include/vdr/filetransfer.h
Go to the documentation of this file.
1 /*
2  * filetransfer.h: The video file transfer facilities
3  *
4  * See the main source file 'vdr.c' for copyright information and
5  * how to reach the author.
6  *
7  * $Id: $
8  */
9 
10 #ifndef __FILETRANSFER_H
11 #define __FILETRANSFER_H
12 
13 #include "recording.h"
14 #include "thread.h"
15 
16 class cCopyingThread;
17 
18 class cFileTransfer {
19 private:
20  static cMutex mutex;
21  static char *copiedVersionName;
23  static bool error;
24  static bool ended;
25 public:
26  static bool Start(cRecording *Recording, const char *NewName, bool CopyOnly = false);
27  static void Stop(void);
28  static bool Active(void);
29  static bool Error(void);
30  static bool Ended(void);
31  };
32 
33 #endif //__FILETRANSFER_H