blob: 8a618793683e7fea85ea145ba4e124b505491afb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
/*
* common.h: A plugin for the Video Disk Recorder
*
* See the README file for copyright information and how to reach the author.
*
* $Id$
*/
#ifndef __common_h_
#define __common_h_
#include <vdr/tools.h> // needed for (d/e/i)syslog
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "global.h"
class cMarkAdCommon
{
private:
int recvnumber;
MarkAdContext *macontext;
MarkAdMark mark;
void ResetMark();
bool AddMark(int Position, const char *Comment);
void SetTimerMarks(int LastIFrame);
public:
MarkAdMark *Process(int LastIFrame);
cMarkAdCommon(int RecvNumber,MarkAdContext *maContext);
~cMarkAdCommon();
};
#endif
|