-
Notifications
You must be signed in to change notification settings - Fork 0
/
AxVdrTools.h
88 lines (76 loc) · 3.4 KB
/
AxVdrTools.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
#ifndef __MailBox_AxVdrTools_H__
#define __MailBox_AxVdrTools_H__
//=============================================================================
/*
* See the file README in the main directory for a description of
* this software, copyright information, and how to reach the author.
*
* Author: alex
* Date: 15.11.2003
*
* Last modfied:
* $Author: alex $
* $Date: 2013-03-20 20:33:18 +0100 (Mi, 20 Mär 2013) $
*/
//=============================================================================
//=============================================================================
// includes
//=============================================================================
//----- qt --------------------------------------------------------------------
//----- CORBA -----------------------------------------------------------------
//----- C++ -------------------------------------------------------------------
//----- C ---------------------------------------------------------------------
//----- AxLib -----------------------------------------------------------------
//----- vdr -------------------------------------------------------------------
#include <vdr/osd.h>
//----- local -----------------------------------------------------------------
//----- other includes --------------------------------------------------------
//=============================================================================
// forward declarations
//=============================================================================
//=============================================================================
// class AxVdrTools
//=============================================================================
/** The class AxVdrTools contains some small helper functions for
* this vdr-plugin.
*/
class AxVdrTools
{
public:
//-------------------------------------------------------------------------
// names for c-client options
//-------------------------------------------------------------------------
static const char *AccountTypeNames [];
static const char *AccessModeNames [];
static const char *BGCheckModeNames [];
static const char *CClientOptSecNames [];
static const char *CClientOptRSHNames [];
static const char *CClientOptSSLNames [];
static const char *CClientOptTLSNames [];
static const char *CClientOptCertNames[];
static const char *CClientOptDbgNames [];
static const char *WrapModeStrings [];
#if 0
static const char *VdrFontNames [];
#endif
//-------------------------------------------------------------------------
// Sort order
//-------------------------------------------------------------------------
// the values of the enum correspond to the strings in SortOrderStrings
enum SortOrder
{
SO_ASC ///< ascending
, SO_DESC ///< descending
, SO_COUNT ///< number of entries
};
static const char *SortOrderStrings[];
//-------------------------------------------------------------------------
// initialize()
//-------------------------------------------------------------------------
static void initialize();
//-------------------------------------------------------------------------
// getVdrCharSet()
//-------------------------------------------------------------------------
static std::string getVdrCharSet();
}; // class AxVdrTools
#endif