vdr  1.7.27
cutter.h
Go to the documentation of this file.
00001 /*
00002  * cutter.h: The video cutting facilities
00003  *
00004  * See the main source file 'vdr.c' for copyright information and
00005  * how to reach the author.
00006  *
00007  * $Id: cutter.h 2.3 2012/02/16 12:05:33 kls Exp $
00008  */
00009 
00010 #ifndef __CUTTER_H
00011 #define __CUTTER_H
00012 
00013 #include "thread.h"
00014 #include "tools.h"
00015 
00016 class cCuttingThread;
00017 
00018 class cCutter {
00019 private:
00020   static cMutex mutex;
00021   static cString originalVersionName;
00022   static cString editedVersionName;
00023   static cCuttingThread *cuttingThread;
00024   static bool error;
00025   static bool ended;
00026 public:
00027   static bool Start(const char *FileName, const char *TargetFileName = NULL, bool Overwrite = true);
00028   static void Stop(void);
00029   static bool Active(const char *FileName = NULL);
00033   static bool Error(void);
00034   static bool Ended(void);
00035   };
00036 
00037 bool CutRecording(const char *FileName);
00038 
00039 #endif //__CUTTER_H