projects
/
irwi
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Complete rewrite. Does not work yet.
[irwi]
/
src
/
iremote.h
1
#ifndef _IREMOTE_H_
2
#define _IREMOTE_H_
3
4
#include <QObject>
5
6
class IRemote : public QObject
7
{
8
Q_OBJECT
9
10
public:
11
enum RemoteCmd
12
{
13
VOLUMEUP,
14
VOLUMEDOWN,
15
CHANNELUP,
16
CHANNELDOWN,
17
POWER,
18
MUTE
19
};
20
21
IRemote() {}
22
virtual ~IRemote() {}
23
24
virtual void updateRating() = 0;
25
virtual void sendRating(bool) = 0;
26
virtual void sendCmd(RemoteCmd) = 0;
27
28
signals:
29
void ratingChanged(int rating);
30
};
31
32
#endif // _IREMOTE_H_
33