From 2c6562fa78e884d66b8c2a306f020101e8803f2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 19 Nov 2017 21:16:46 +0100 Subject: Just something I had stagged --- qtmips_cli/machineapp.cpp | 11 ----------- qtmips_cli/machineapp.h | 16 ---------------- qtmips_cli/tracer.cpp | 6 ++++++ qtmips_cli/tracer.h | 12 ++++++++++++ 4 files changed, 18 insertions(+), 27 deletions(-) delete mode 100644 qtmips_cli/machineapp.cpp delete mode 100644 qtmips_cli/machineapp.h create mode 100644 qtmips_cli/tracer.cpp create mode 100644 qtmips_cli/tracer.h (limited to 'qtmips_cli') 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 - -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 - -#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 + +class Tracer +{ +public: + Tracer(); +}; + +#endif // TRACER_H \ No newline at end of file -- cgit v1.2.3