aboutsummaryrefslogtreecommitdiffstats
path: root/ServerExecute.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ServerExecute.cpp')
-rw-r--r--ServerExecute.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/ServerExecute.cpp b/ServerExecute.cpp
new file mode 100644
index 0000000..6ba8acd
--- /dev/null
+++ b/ServerExecute.cpp
@@ -0,0 +1,12 @@
+#include <QApplication>
+#include <QStringList>
+#include "PageRunner.h"
+
+int main(int argc, char *argv[])
+{
+ if (argc != 2)
+ return -1;
+ QApplication app(argc, argv);
+ PageRunner page(app.arguments().at(1));
+ return app.exec();
+}