summaryrefslogtreecommitdiff
path: root/blacklist.h
blob: da822198e124b9302c6f86252418e7a4db8c8396 (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
/*
 * 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 <vdr/channels.h>
#include <vdr/tools.h>

#include "tools.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_