X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=tpsession-0.1%2Ftests%2Fsmstest%2Ftestprog.h;fp=tpsession-0.1%2Ftests%2Fsmstest%2Ftestprog.h;h=9bd16dcface80e6d79bd0141351f0ab3de5bba6a;hb=9a48f77860a2bb996f3ca318fe3c19096110f28a;hp=0000000000000000000000000000000000000000;hpb=f116f1ac60b47e9186e4eef5f68597980518a2eb;p=tpsession diff --git a/tpsession-0.1/tests/smstest/testprog.h b/tpsession-0.1/tests/smstest/testprog.h new file mode 100644 index 0000000..9bd16dc --- /dev/null +++ b/tpsession-0.1/tests/smstest/testprog.h @@ -0,0 +1,24 @@ +#ifndef TESTPROG_H +#define TESTPROG_H + +#include +#include +#include "tpsession.h" +#include "tpsessionaccount.h" + + +class TestProg : public QObject +{ + Q_OBJECT +public: + TestProg(QString addr,QString msg); +public slots: + void onAccountReady(TpSessionAccount *); + void onMessageReceived(const Tp::ReceivedMessage &,TpSessionAccount *); +private: + QString address; + QString message; + TpSession* tps; +}; + +#endif // TESTPROG_H