summaryrefslogtreecommitdiff
path: root/qt4/examples/protocols/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt4/examples/protocols/main.cpp')
-rw-r--r--qt4/examples/protocols/main.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/qt4/examples/protocols/main.cpp b/qt4/examples/protocols/main.cpp
new file mode 100644
index 000000000..eed72c236
--- /dev/null
+++ b/qt4/examples/protocols/main.cpp
@@ -0,0 +1,21 @@
+#include <TelepathyQt4/Debug>
+#include <TelepathyQt4/Constants>
+#include <TelepathyQt4/Types>
+
+#include <QDebug>
+#include <QtCore>
+
+#include "protocols.h"
+
+int main(int argc, char **argv)
+{
+ QCoreApplication app(argc, argv);
+
+ Tp::registerTypes();
+ Tp::enableDebug(false);
+ Tp::enableWarnings(false);
+
+ Protocols protocols;
+
+ return app.exec();
+}