aboutsummaryrefslogtreecommitdiff
path: root/examples/servicefw/user/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/servicefw/user/main.cpp')
-rw-r--r--examples/servicefw/user/main.cpp36
1 files changed, 36 insertions, 0 deletions
diff --git a/examples/servicefw/user/main.cpp b/examples/servicefw/user/main.cpp
new file mode 100644
index 00000000..1f21db5e
--- /dev/null
+++ b/examples/servicefw/user/main.cpp
@@ -0,0 +1,36 @@
+/***************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (directui@nokia.com)
+**
+** This file is part of libdui.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at directui@nokia.com.
+**
+** This library is free software; you can redistribute it and/or
+** modify it under the terms of the GNU Lesser General Public
+** License version 2.1 as published by the Free Software Foundation
+** and appearing in the file LICENSE.LGPL included in the packaging
+** of this file.
+**
+****************************************************************************/
+
+#include <QApplication>
+
+#include "echowindow.h"
+
+/*
+ * This is an example program to demonstrate the use of the service framework
+ */
+
+int main(int argv, char *args[])
+{
+ QApplication app(argv, args);
+
+ EchoWindow window;
+ window.show();
+
+ return app.exec();
+}