File: status.h

package info (click to toggle)
vdr-plugin-live 3.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,116 kB
  • sloc: cpp: 12,988; javascript: 3,220; makefile: 241; sh: 40
file content (28 lines) | stat: -rw-r--r-- 685 bytes parent folder | download | duplicates (2)
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
#ifndef VDR_LIVE_STATUS_H
#define VDR_LIVE_STATUS_H

#if TNTVERSION >= 30000
        #include <cxxtools/log.h>  // must be loaded before any VDR include because of duplicate macros (LOG_ERROR, LOG_DEBUG, LOG_INFO)
#endif

#include <vdr/status.h>

namespace vdrlive {

class StatusMonitor: public cStatus
{
  friend StatusMonitor& LiveStatusMonitor();

private:
  StatusMonitor();
  StatusMonitor( StatusMonitor const& );

  virtual void TimerChange(const cTimer *Timer, eTimerChange Change);
  virtual void Recording( cDevice const* Device, char const* Name, char const* FileName, bool On );
};

StatusMonitor& LiveStatusMonitor();

} // namespace vdrlive

#endif // VDR_LIVE_STATUS_H