aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/main.cpp
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2014-12-09 20:39:15 +0100
committerRenaud G <renaud@rolisteam.org>2014-12-09 20:39:15 +0100
commit23ea53c2aa66a9591c96108f5d9584f8123eb09a (patch)
tree331903f20d34e0dfa36d9b8dc3cc1a507da65ab9 /main.cpp
parentd044490547eb9c5b14bc937ee7cce448ea29d562 (diff)
downloadOneRoll-23ea53c2aa66a9591c96108f5d9584f8123eb09a.tar.gz
OneRoll-23ea53c2aa66a9591c96108f5d9584f8123eb09a.zip
-add command management
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/main.cpp b/main.cpp
index 6c774ec..5f5a8ec 100644
--- a/main.cpp
+++ b/main.cpp
@@ -36,7 +36,7 @@ int main(int argc, char *argv[])
QStringList commands;
- commands<< "2*(4+4)"
+ commands<< "help";/*
<< "1+(4*3)D10"
<< "2+4/4"
<< "2D10*2D20*8"
@@ -59,7 +59,8 @@ int main(int argc, char *argv[])
<< "100/28*3"
<< "100/8"
<< "100*3*8"
- << "100*3*8";
+ << "help"
+ << "100*3*8";*/
if(argc>1)
{
@@ -79,7 +80,7 @@ int main(int argc, char *argv[])
myParser->displayResult();
}
}
- main.show();
- return a.exec();
+ //main.show();
+ //return a.exec();
}