2002-06-22 10:11:59 +02:00
|
|
|
/*
|
|
|
|
* cutter.h: The video cutting facilities
|
|
|
|
*
|
|
|
|
* See the main source file 'vdr.c' for copyright information and
|
|
|
|
* how to reach the author.
|
|
|
|
*
|
2010-08-29 13:40:37 +02:00
|
|
|
* $Id: cutter.h 2.2 2010/08/29 13:32:33 kls Exp $
|
2002-06-22 10:11:59 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __CUTTER_H
|
|
|
|
#define __CUTTER_H
|
|
|
|
|
2010-08-29 13:40:37 +02:00
|
|
|
#include "thread.h"
|
|
|
|
|
2002-06-22 10:11:59 +02:00
|
|
|
class cCuttingThread;
|
|
|
|
|
|
|
|
class cCutter {
|
|
|
|
private:
|
2010-08-29 13:40:37 +02:00
|
|
|
static cMutex mutex;
|
2002-06-22 10:11:59 +02:00
|
|
|
static char *editedVersionName;
|
|
|
|
static cCuttingThread *cuttingThread;
|
|
|
|
static bool error;
|
|
|
|
static bool ended;
|
|
|
|
public:
|
|
|
|
static bool Start(const char *FileName);
|
|
|
|
static void Stop(void);
|
|
|
|
static bool Active(void);
|
|
|
|
static bool Error(void);
|
|
|
|
static bool Ended(void);
|
|
|
|
};
|
|
|
|
|
2010-01-02 14:02:48 +01:00
|
|
|
bool CutRecording(const char *FileName);
|
|
|
|
|
2002-06-22 10:11:59 +02:00
|
|
|
#endif //__CUTTER_H
|