X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/4f7505ea2c068dccf505861e5b5ea005e955c256..c3a4f93b11133f6d2512bf6b240111dc98c53511:/lib/driver/rc.h diff --git a/lib/driver/rc.h b/lib/driver/rc.h index ebaffb04..2a776ee4 100644 --- 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. */ - virtual void handleCode(int code)=0; + virtual void handleCode(long code)=0; /** * \brief Get user readable description. * \result The description. @@ -126,12 +126,15 @@ public: } enum { + /* there are not really flags.. */ + flagMake=0, flagBreak=1, flagRepeat=2, + flagLong=3, + /* but this is. */ flagAscii=4, - flagLong=8 }; - + bool operator<(const eRCKey &r) const { if (r.producer == producer)