vdr  2.2.0
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 3.1 2013/10/05 11:34:55 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:
23  bool error;
24 public:
25  cCutter(const char *FileName);
28  ~cCutter();
29  static cString EditedFileName(const char *FileName);
34  bool Start(void);
39  void Stop(void);
41  bool Active(void);
43  bool Error(void);
45  };
46 
47 bool CutRecording(const char *FileName);
48 
49 #endif //__CUTTER_H
bool Start(void)
Starts the actual cutting process.
Definition: cutter.c:669
bool Active(void)
Returns true if the cutter is currently active.
Definition: cutter.c:709
bool error
Definition: cutter.h:23
bool CutRecording(const char *FileName)
Definition: cutter.c:729
cString originalVersionName
Definition: cutter.h:20
cCuttingThread * cuttingThread
Definition: cutter.h:22
~cCutter()
Definition: cutter.c:652
cCutter(const char *FileName)
Sets up a new cutter for the given FileName, which must be the full path name of an existing recordin...
Definition: cutter.c:645
void Stop(void)
Stops an ongoing cutting process.
Definition: cutter.c:691
static cString EditedFileName(const char *FileName)
Returns the full path name of the edited version of the recording with the given FileName.
Definition: cutter.c:657
Definition: cutter.h:18
cString editedVersionName
Definition: cutter.h:21
bool Error(void)
Returns true if an error occurred while cutting the recording.
Definition: cutter.c:722
Definition: tools.h:168