-
Notifications
You must be signed in to change notification settings - Fork 3
/
common.h
31 lines (25 loc) · 1.35 KB
/
common.h
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
30
31
#ifndef __DBUS2VDR_COMMON_H
#define __DBUS2VDR_COMMON_H
#include <vdr/tools.h>
#define DBUS_VDR_BUSNAME "de.tvdr.vdr"
#define DBUS_VDR_CHANNEL_INTERFACE DBUS_VDR_BUSNAME".channel"
#define DBUS_VDR_DEVICE_INTERFACE DBUS_VDR_BUSNAME".device"
#define DBUS_VDR_EPG_INTERFACE DBUS_VDR_BUSNAME".epg"
#define DBUS_VDR_OSD_INTERFACE DBUS_VDR_BUSNAME".osd"
#define DBUS_VDR_PLUGIN_INTERFACE DBUS_VDR_BUSNAME".plugin"
#define DBUS_VDR_PLUGINMANAGER_INTERFACE DBUS_VDR_BUSNAME".pluginmanager"
#define DBUS_VDR_RECORDING_INTERFACE DBUS_VDR_BUSNAME".recording"
#define DBUS_VDR_REMOTE_INTERFACE DBUS_VDR_BUSNAME".remote"
#define DBUS_VDR_SETUP_INTERFACE DBUS_VDR_BUSNAME".setup"
#define DBUS_VDR_SHUTDOWN_INTERFACE DBUS_VDR_BUSNAME".shutdown"
#define DBUS_VDR_SKIN_INTERFACE DBUS_VDR_BUSNAME".skin"
#define DBUS_VDR_STATUS_INTERFACE DBUS_VDR_BUSNAME".status"
#define DBUS_VDR_TIMER_INTERFACE DBUS_VDR_BUSNAME".timer"
#define DBUS_VDR_VDR_INTERFACE DBUS_VDR_BUSNAME".vdr"
enum eBusType { busSystem = 0, busNetwork = 1};
extern int dbus2vdr_SysLogLevel;
extern int dbus2vdr_SysLogTarget;
#define d4syslog(a...) void( (dbus2vdr_SysLogLevel > 2) ? dsyslog(a) : void() )
extern cString dbus2vdr_DBusSessionBusAddress;
extern cString dbus2vdr_UpstartSession;
#endif