git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
decoder.cpp: stop all pids first, and the restart pids... this hopefully fixes proble...
[enigma2.git]
/
lib
/
driver
/
rc.h
diff --git
a/lib/driver/rc.h
b/lib/driver/rc.h
index ebaffb04eaad7bf5b89823d71562bc388d6a0158..9708ea7b73d81907c37a98a2f1faca139f4d5679 100644
(file)
--- a/
lib/driver/rc.h
+++ b/
lib/driver/rc.h
@@
-41,7
+41,7
@@
public:
* For Example, it might be 16bit codes with one bit make/break or special codes
* for repeat.
*/
* For Example, it might be 16bit codes with one bit make/break or special codes
* for repeat.
*/
- virtual void handleCode(
int
code)=0;
+ virtual void handleCode(
long
code)=0;
/**
* \brief Get user readable description.
* \result The description.
/**
* \brief Get user readable description.
* \result The description.
@@
-95,7
+95,7
@@
class eRCShortDriver: public eRCDriver
{
protected:
int handle;
{
protected:
int handle;
- e
SocketNotifier *
sn;
+ e
Ptr<eSocketNotifier>
sn;
void keyPressed(int);
public:
eRCShortDriver(const char *filename);
void keyPressed(int);
public:
eRCShortDriver(const char *filename);
@@
-106,7
+106,7
@@
class eRCInputEventDriver: public eRCDriver
{
protected:
int handle;
{
protected:
int handle;
- e
SocketNotifier *
sn;
+ e
Ptr<eSocketNotifier>
sn;
void keyPressed(int);
public:
std::string getDeviceName();
void keyPressed(int);
public:
std::string getDeviceName();
@@
-126,12
+126,15
@@
public:
}
enum
{
}
enum
{
+ /* there are not really flags.. */
+ flagMake=0,
flagBreak=1,
flagRepeat=2,
flagBreak=1,
flagRepeat=2,
+ flagLong=3,
+ /* but this is. */
flagAscii=4,
flagAscii=4,
- flagLong=8
};
};
-
+
bool operator<(const eRCKey &r) const
{
if (r.producer == producer)
bool operator<(const eRCKey &r) const
{
if (r.producer == producer)