X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=protocols%2Fpanasonicoldprotocol.h;fp=protocols%2Fpanasonicoldprotocol.h;h=bd48713bdbf842f08b93e2e6db573ef0267738f3;hb=4a08d7494fbeaf202ea8eeaa641fd3ea808f9160;hp=0000000000000000000000000000000000000000;hpb=04d45dab5c6b32e9214fa21b7ade432da95c8a98;p=pierogi diff --git a/protocols/panasonicoldprotocol.h b/protocols/panasonicoldprotocol.h new file mode 100644 index 0000000..bd48713 --- /dev/null +++ b/protocols/panasonicoldprotocol.h @@ -0,0 +1,31 @@ +#ifndef PANASONICOLDPROTOCOL_H +#define PANASONICOLDPROTOCOL_H + +#include "spaceprotocol.h" + +class PIRRX51Hardware; + +// +// This is apparently a very old Panasonic protocol, but still in use by a +// few manufacturers. +// + +class PanasonicOldProtocol: public SpaceProtocol +{ +public: + PanasonicOldProtocol( + QObject *guiObject, + unsigned int index); + +public slots: + void startSendingCommand( + unsigned int threadableID, + PIRKeyName command); + +private: + int generateStandardCommand( + const PIRKeyBits &bits, + PIRRX51Hardware &device); +}; + +#endif // PANASONICOLDPROTOCOL_H