mirror of
https://github.com/rofafor/vdr-plugin-femon.git
synced 2023-10-10 13:36:53 +02:00
7da8cb2110
Added french translation (Thanks to Nicolas Huillard). Enabled bitrate commands via SVDRP. Added new SVDRP commands. Modified femon service without incrementing version number. Added "Duotone" theme for 2bpp on screen displays. Fixed crash bug in femonreceiver. Fixed setup page bug (Thanks to Thomas Günther for reporting this one).
31 lines
663 B
C
31 lines
663 B
C
/*
|
|
* Frontend Status Monitor plugin for the Video Disk Recorder
|
|
*
|
|
* See the README file for copyright information and how to reach the author.
|
|
*
|
|
* $Id$
|
|
*/
|
|
|
|
#ifndef __FEMONTOOLS_H
|
|
#define __FEMONTOOLS_H
|
|
|
|
#include <stdint.h>
|
|
#include <vdr/tools.h>
|
|
|
|
#ifdef FEMON_DEBUG
|
|
#define Dprintf(x...) printf(x);
|
|
#else
|
|
#define Dprintf(x...) ;
|
|
#endif
|
|
|
|
#define FRONTEND_DEVICE "/dev/dvb/adapter%d/frontend%d"
|
|
|
|
cString getFrontendName(int cardIndex = 0);
|
|
cString getFrontendStatus(int cardIndex = 0);
|
|
uint16_t getSNR(int cardIndex = 0);
|
|
uint16_t getSignal(int cardIndex = 0);
|
|
uint32_t getBER(int cardIndex = 0);
|
|
uint32_t getUNC(int cardIndex = 0);
|
|
|
|
#endif // __FEMONTOOLS_H
|