From 0e426ff6dfb960c105908a437c435924e59eb822 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Thu, 16 Oct 2014 00:39:35 +0000 Subject: reorganized code git-svn-id: file:///var/local/svn/basicwriter@58 daaaf23c-2e50-4459-9457-1e69db5a47bf --- src/main.cpp | 41 ----------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 src/main.cpp (limited to 'src') 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 -#include -#include -#include -#include -#include - -#include -#include - -#include - -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; -} - -- cgit v1.2.3