X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=protocols%2Fprotonprotocol.h;fp=protocols%2Fprotonprotocol.h;h=849f5ac03c52e261cc7e8a7bf786194cbb3e09a5;hb=04d45dab5c6b32e9214fa21b7ade432da95c8a98;hp=0000000000000000000000000000000000000000;hpb=7176298055beaf1a9ad8f9fd1099f93df3461265;p=pierogi diff --git a/protocols/protonprotocol.h b/protocols/protonprotocol.h new file mode 100644 index 0000000..849f5ac --- /dev/null +++ b/protocols/protonprotocol.h @@ -0,0 +1,30 @@ +#ifndef PROTONPROTOCOL_H +#define PROTONPROTOCOL_H + +#include "spaceprotocol.h" + +class PIRRX51Hardware; + +// +// The Proton protocol looks a bit like a stripped-down NEC protocol. +// + +class ProtonProtocol: public SpaceProtocol +{ +public: + ProtonProtocol( + QObject *guiObject, + unsigned int index); + +public slots: + void startSendingCommand( + unsigned int threadableID, + PIRKeyName command); + +private: + int generateStandardCommand( + const PIRKeyBits &bits, + PIRRX51Hardware &device); +}; + +#endif // PROTONPROTOCOL_H