summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2014-10-16 00:39:35 +0000
committerandreas <andreas@daaaf23c-2e50-4459-9457-1e69db5a47bf>2014-10-16 00:39:35 +0000
commit0e426ff6dfb960c105908a437c435924e59eb822 (patch)
tree8e8080e478bf51c59bb1b7900c1abe96ffccf469 /src/main.cpp
parent5fcdd424d7bd798673b1b545f7f990aba65471a9 (diff)
reorganized code
git-svn-id: file:///var/local/svn/basicwriter@58 daaaf23c-2e50-4459-9457-1e69db5a47bf
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp41
1 files changed, 0 insertions, 41 deletions
diff --git a/src/main.cpp b/src/main.cpp
deleted file mode 100644
index 3603b9c..0000000
--- a/src/main.cpp
+++ /dev/null
@@ -1,41 +0,0 @@
-#include <QApplication>
-#include <QFile>
-#include <QIODevice>
-#include <QXmlStreamReader>
-#include <QScriptEngine>
-#include <QDebug>
-
-#include <vector>
-#include <iostream>
-
-#include <xml/XmlReader.hpp>
-
-using namespace ousia::xml;
-
-int main(int argc, char *argv[])
-{
- QScriptEngine engine;
- qDebug() << "JS Test: " << engine.evaluate("Test");
-
- // Open the file given as first argument
-// if (argc < 2) {
-// std::cout << "No filename specified!" << std::endl;
-// return 1;
-// }
-
-// QFile file(argv[1]);
-// if (!file.open(QIODevice::ReadOnly | QIODevice::Text)) {
-// std::cout << "Error while opening file " << argv[1] << std::endl;
-// return 1;
-// }
-
- // Create the QXmlStreamReader instance
-// QXmlStreamReader xml(&file);
-
- // Pass it to the XmlReader
-// XmlReader xmlReader(xml);
-// xmlReader.process();
-
- return 0;
-}
-