blob: 60d8b1d5b374b12cc3a30640655577b9b855ec15 (
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
|
/*
* visibility.h: Visibility classes for duplicates plugin.
*
* See the README file for copyright information and how to reach the author.
*
* $Id$
*/
#ifndef _DUPLICATES_VISIBILITY_H
#define _DUPLICATES_VISIBILITY_H
#include <vdr/recording.h>
// --- eVisibility -----------------------------------------------------------
enum eVisibility {UNKNOWN, VISIBLE, HIDDEN};
// --- cVisibility -----------------------------------------------------------
class cVisibility {
private:
cString hiddenFileName;
eVisibility visibility;
public:
cVisibility(const char *fileName);
cVisibility(const cVisibility &Visibility);
eVisibility Get(void);
void Set(bool visible);
eVisibility Read(void);
bool Write(bool visible);
};
#endif
|