summaryrefslogtreecommitdiff
path: root/status.h
blob: fbdd7c72cac5752ebf48e856b3ee0d645d1caf72 (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
/*
 * status.h: A plugin for the Video Disk Recorder
 *
 * See the README file for copyright information and how to reach the author.
 *
 */
#ifndef __status_h_
#define __status_h_

#include <vdr/status.h>

#define UNUSED(v) UNUSED_ ## v __attribute__((unused))

// --- cStatusMarkAd
class cStatusMarkAd : public cStatus
{
private:
    char *recs[MAXDEVICES*MAXRECEIVERS];
    const char *bindir;
    const char *logodir;
    void Add(const char *FileName);
protected:
    virtual void Recording(const cDevice *Device, const char *Name, const char *FileName, bool On);
public:
    cStatusMarkAd(const char *BinDir,const char *LogoDir);
    ~cStatusMarkAd();
    bool MarkAdRunning(void);
};

#endif