* 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.
{
protected:
int handle;
- eSocketNotifier *sn;
+ ePtr<eSocketNotifier> sn;
void keyPressed(int);
public:
eRCShortDriver(const char *filename);
{
protected:
int handle;
- eSocketNotifier *sn;
+ ePtr<eSocketNotifier> sn;
void keyPressed(int);
public:
std::string getDeviceName();
}
enum
{
+ /* there are not really flags.. */
+ flagMake=0,
flagBreak=1,
flagRepeat=2,
- flagAscii=4
+ flagLong=3,
+ /* but this is. */
+ flagAscii=4,
};
-
+
bool operator<(const eRCKey &r) const
{
if (r.producer == producer)