diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 41 |
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; -} - |