tpsession initial import
[tpsession] / tpsession-0.1 / tests / syncsms / testprog.h
diff --git a/tpsession-0.1/tests/syncsms/testprog.h b/tpsession-0.1/tests/syncsms/testprog.h
new file mode 100644 (file)
index 0000000..07a6297
--- /dev/null
@@ -0,0 +1,21 @@
+#ifndef TESTPROG_H
+#define TESTPROG_H
+
+#include <QObject>
+#include <QDebug>
+#include "tpsession.h"
+#include "tpsessionaccount.h"
+
+
+class TestProg : public QObject
+{
+    Q_OBJECT
+public:
+  TestProg(QString addr,QString msg);
+public slots:
+    void onMessageReceived(const Tp::ReceivedMessage &,TpSessionAccount *);
+private:
+    TpSession* tps;
+};
+
+#endif // TESTPROG_H