vdr 2.6.1
include/vdr/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);
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
Definition: cutter.h:18
bool Start(void)
Starts the actual cutting process.
cString editedVersionName
Definition: cutter.h:21
static cString EditedFileName(const char *FileName)
Returns the full path name of the edited version of the recording with the given FileName.
cCutter(const char *FileName)
Sets up a new cutter for the given FileName, which must be the full path name of an existing recordin...
bool error
Definition: cutter.h:23
void Stop(void)
Stops an ongoing cutting process.
bool Error(void)
Returns true if an error occurred while cutting the recording.
cString originalVersionName
Definition: cutter.h:20
bool Active(void)
Returns true if the cutter is currently active.
cCuttingThread * cuttingThread
Definition: cutter.h:22
bool CutRecording(const char *FileName)
Definition: cutter.c:726