tpsession initial import
[tpsession] / tpsession-0.1 / tests / smstest / testprog.h
1 #ifndef TESTPROG_H
2 #define TESTPROG_H
3
4 #include <QObject>
5 #include <QDebug>
6 #include "tpsession.h"
7 #include "tpsessionaccount.h"
8
9
10 class TestProg : public QObject
11 {
12     Q_OBJECT
13 public:
14   TestProg(QString addr,QString msg);
15 public slots:
16     void onAccountReady(TpSessionAccount *);
17     void onMessageReceived(const Tp::ReceivedMessage &,TpSessionAccount *);
18 private:
19     QString address;
20     QString message;
21     TpSession* tps;
22 };
23
24 #endif // TESTPROG_H