/*
 * cutter.h: The video cutting facilities
 *
 * See the main source file 'vdr.c' for copyright information and
 * how to reach the author.
 *
 * $Id: cutter.h 1.1 2002/06/22 10:03:15 kls Exp $
 */

#ifndef __CUTTER_H
#define __CUTTER_H

#include "timers.h"
#include "transfer.h"

class cCuttingThread;
class cMutex;

class cCutter {
private:
  static char *editedVersionName;
  static cCuttingThread *cuttingThread;
  static bool error;
  static bool ended;
  static cMutex *cutterLock;
  static cLiveRecorder *liveRecorder;
public:
  static bool Start(const char *FileName, cLiveRecorder *LiveRecorder = NULL, bool IsBeginning = false, cTimer *Timer = NULL);
  static void Stop(void);
  static bool Active(bool *needsLiveBuffer = NULL);
  static bool Error(void);
  static bool Ended(void);
  };

#endif //__CUTTER_H
