vdr
2.6.1
interface.h
Go to the documentation of this file.
1
/*
2
* interface.h: Abstract user interface layer
3
*
4
* See the main source file 'vdr.c' for copyright information and
5
* how to reach the author.
6
*
7
* $Id: interface.h 4.1 2015/04/28 11:15:11 kls Exp $
8
*/
9
10
#ifndef __INTERFACE_H
11
#define __INTERFACE_H
12
13
#include "
config.h
"
14
#include "
remote.h
"
15
#include "
skins.h
"
16
17
class
cInterface
{
18
private
:
19
bool
interrupted
;
20
bool
QueryKeys
(
cRemote
*Remote,
cSkinDisplayMenu
*DisplayMenu);
21
public
:
22
cInterface
(
void
);
23
~cInterface
();
24
void
Interrupt
(
void
) {
interrupted
=
true
; }
25
eKeys
GetKey
(
bool
Wait
=
true
);
26
eKeys
Wait
(
int
Seconds = 0,
bool
KeepChar =
false
);
27
bool
Confirm
(
const
char
*s,
int
Seconds = 10,
bool
WaitForTimeout =
false
);
28
void
LearnKeys
(
void
);
29
};
30
31
extern
cInterface
*
Interface
;
32
33
#endif
//__INTERFACE_H
cInterface
Definition:
include/vdr/interface.h:17
cInterface::Confirm
bool Confirm(const char *s, int Seconds=10, bool WaitForTimeout=false)
cInterface::QueryKeys
bool QueryKeys(cRemote *Remote, cSkinDisplayMenu *DisplayMenu)
cInterface::Interrupt
void Interrupt(void)
Definition:
interface.h:24
cInterface::GetKey
eKeys GetKey(bool Wait=true)
cInterface::~cInterface
~cInterface()
cInterface::cInterface
cInterface(void)
cInterface::LearnKeys
void LearnKeys(void)
cInterface::interrupted
bool interrupted
Definition:
include/vdr/interface.h:19
cInterface::Wait
eKeys Wait(int Seconds=0, bool KeepChar=false)
Definition:
interface.c:41
cRemote
Definition:
include/vdr/remote.h:20
cSkinDisplayMenu
Definition:
include/vdr/skins.h:150
config.h
eKeys
eKeys
Definition:
include/vdr/keys.h:16
Interface
cInterface * Interface
Definition:
interface.c:20
remote.h
skins.h
Generated by
1.9.4