summaryrefslogtreecommitdiff
path: root/blacklist.h
blob: 1d601850ac8a2379bf925f0c70d90093dcea1310 (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
/*
 * blacklist.h: Blacklist list item
 *
 * See the README file for copyright information and how to reach the author.
 *
 */

#ifndef __EPGFIXER_BLACKLIST_H_
#define __EPGFIXER_BLACKLIST_H_

#include "tools.h"
#include <vdr/epg.h>

class cBlacklist : public cListItem
{
public:
  cBlacklist() {}
  virtual ~cBlacklist() {}
  using cListItem::Apply;
  virtual bool Apply(cChannel *Channel);
  void SetFromString(char *string, bool Enabled);
};

// Global instance
extern cEpgfixerList<cBlacklist, cChannel> EpgfixerBlacklists;

#endif //__EPGFIXER_BLACKLIST_H_