vdr  2.0.2
cutter.h
Go to the documentation of this file.
1 /*
2  * cutter.h: The video cutting facilities
3  *
4  * See the main source file 'vdr.c' for copyright information and
5  * how to reach the author.
6  *
7  * $Id: cutter.h 2.3 2012/02/16 12:05:33 kls Exp $
8  */
9 
10 #ifndef __CUTTER_H
11 #define __CUTTER_H
12 
13 #include "thread.h"
14 #include "tools.h"
15 
16 class cCuttingThread;
17 
18 class cCutter {
19 private:
20  static cMutex mutex;
24  static bool error;
25  static bool ended;
26 public:
27  static bool Start(const char *FileName, const char *TargetFileName = NULL, bool Overwrite = true);
28  static void Stop(void);
29  static bool Active(const char *FileName = NULL);
33  static bool Error(void);
34  static bool Ended(void);
35  };
36 
37 bool CutRecording(const char *FileName);
38 
39 #endif //__CUTTER_H
40