aboutsummaryrefslogtreecommitdiff
path: root/client/esp/main.cpp
diff options
context:
space:
mode:
authorNielsCoding <n.stunnebrink@student.avans.nl>2022-10-10 18:30:19 +0200
committerNielsCoding <n.stunnebrink@student.avans.nl>2022-10-10 18:30:19 +0200
commit2cdbf0173600183f1fb14fdd0e01f00e8b09f308 (patch)
treeb1f4ace8a0fd769056377710b63006bef69a8c6a /client/esp/main.cpp
parent1000c8fd861b046a72bb3957dcc04cd6b28ceede (diff)
esp code voor qt
Diffstat (limited to 'client/esp/main.cpp')
-rw-r--r--client/esp/main.cpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/client/esp/main.cpp b/client/esp/main.cpp
new file mode 100644
index 0000000..753b946
--- /dev/null
+++ b/client/esp/main.cpp
@@ -0,0 +1,29 @@
+#include <QCoreApplication>
+#include "mytcpsocket.h"
+#include "timetest.h"
+
+int main(int argc, char *argv[])
+{
+ QCoreApplication a(argc, argv);
+// qint16 startTime= 46;
+TimeTest time;
+
+
+//while(1){
+
+//
+// qint16 minuut = time.myfunction();
+
+// if(minuut == startTime)
+// {
+// qDebug() << "Tijd: " << minuut;
+// startTime+=1;
+
+// }
+//}
+MyTcpSocket s;
+s.doConnect();
+
+
+ return a.exec();
+}