openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
fccdecoder.h
Go to the documentation of this file.
1 #ifndef __dvb_fcc_decoder_h
2 #define __dvb_fcc_decoder_h
3 
4 #include <vector>
5 
7 {
8  std::vector<int> m_fccs;
9  static eFCCDecoder *instance;
10  static bool isDestroyed;
11 
12 public:
13  eFCCDecoder();
14  ~eFCCDecoder();
15  int allocateFcc();
16  void freeFcc(int fccFd);
17 
19  {
20  if (isDestroyed)
21  return NULL;
22 
23  static eFCCDecoder instance;
24  return &instance;
25  }
26 };
27 
28 #endif /* __dvb_fcc_decoder_h */
Definition: fccdecoder.h:7
void freeFcc(int fccFd)
Definition: fccdecoder.cpp:59
~eFCCDecoder()
Definition: fccdecoder.cpp:29
eFCCDecoder()
Definition: fccdecoder.cpp:10
static eFCCDecoder * getInstance()
Definition: fccdecoder.h:18
int allocateFcc()
Definition: fccdecoder.cpp:34
#define NULL
Definition: eerror.h:101