aboutsummaryrefslogtreecommitdiff
path: root/qtmips_cli
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_cli')
-rw-r--r--qtmips_cli/machineapp.cpp11
-rw-r--r--qtmips_cli/machineapp.h16
-rw-r--r--qtmips_cli/tracer.cpp6
-rw-r--r--qtmips_cli/tracer.h12
4 files changed, 18 insertions, 27 deletions
diff --git a/qtmips_cli/machineapp.cpp b/qtmips_cli/machineapp.cpp
deleted file mode 100644
index 09fcd3e..0000000
--- a/qtmips_cli/machineapp.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
-#include "machineapp.h"
-#include <iostream>
-
-MachineApp::MachineApp(int argc, char **argv) : QCoreApplication(argc, argv) {
- connect(this, SIGNAL(aboutToQuit()), this, SLOT(quit()));
- // TODO drop hello
- std::cout << "Hello\n";
- std::cout.flush();
- // TODO check argc
- this->machine = new QtMipsMachine(argv[1]);
-}
diff --git a/qtmips_cli/machineapp.h b/qtmips_cli/machineapp.h
deleted file mode 100644
index 6587154..0000000
--- a/qtmips_cli/machineapp.h
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef MACHINEAPP_H
-#define MACHINEAPP_H
-
-#include <QCoreApplication>
-
-#include "qtmipsmachine.h"
-#include "programloader.h"
-
-class MachineApp : public QCoreApplication {
-public:
- MachineApp(int argc, char **argv);
-private:
- QtMipsMachine *machine;
-};
-
-#endif // MACHINEAPP_H
diff --git a/qtmips_cli/tracer.cpp b/qtmips_cli/tracer.cpp
new file mode 100644
index 0000000..63d00d1
--- /dev/null
+++ b/qtmips_cli/tracer.cpp
@@ -0,0 +1,6 @@
+#include "tracer.h"
+
+Tracer::Tracer()
+{
+
+}
diff --git a/qtmips_cli/tracer.h b/qtmips_cli/tracer.h
new file mode 100644
index 0000000..5c99970
--- /dev/null
+++ b/qtmips_cli/tracer.h
@@ -0,0 +1,12 @@
+#ifndef TRACER_H
+#define TRACER_H
+
+#include <QObject>
+
+class Tracer
+{
+public:
+ Tracer();
+};
+
+#endif // TRACER_H \ No newline at end of file