vdr 2.6.9
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
16class cCuttingThread;
17
18class cCutter {
19private:
23 bool error;
24public:
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
47bool CutRecording(const char *FileName);
48
49#endif //__CUTTER_H
cCuttingThread * cuttingThread
Definition cutter.h:22
bool Start(void)
Starts the actual cutting process.
Definition cutter.c:668
cString editedVersionName
Definition cutter.h:21
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:644
~cCutter()
Definition cutter.c:651
bool error
Definition cutter.h:23
void Stop(void)
Stops an ongoing cutting process.
Definition cutter.c:691
bool Error(void)
Returns true if an error occurred while cutting the recording.
Definition cutter.c:721
cString originalVersionName
Definition cutter.h:20
bool Active(void)
Returns true if the cutter is currently active.
Definition cutter.c:708
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:656
bool CutRecording(const char *FileName)
Definition cutter.c:728