diff options
author | Karel Kočí <cynerd@email.cz> | 2017-11-19 21:16:46 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2017-11-19 21:16:46 +0100 |
commit | 2c6562fa78e884d66b8c2a306f020101e8803f2e (patch) | |
tree | 7e9a940cb73fcdf3424ff5443163ba51da0ef82c /qtmips_cli | |
parent | 04ea2670be26291a17808bd704ce3549795953a0 (diff) | |
download | qtmips-2c6562fa78e884d66b8c2a306f020101e8803f2e.tar.gz qtmips-2c6562fa78e884d66b8c2a306f020101e8803f2e.tar.bz2 qtmips-2c6562fa78e884d66b8c2a306f020101e8803f2e.zip |
Just something I had stagged
Diffstat (limited to 'qtmips_cli')
-rw-r--r-- | qtmips_cli/machineapp.cpp | 11 | ||||
-rw-r--r-- | qtmips_cli/machineapp.h | 16 | ||||
-rw-r--r-- | qtmips_cli/tracer.cpp | 6 | ||||
-rw-r--r-- | qtmips_cli/tracer.h | 12 |
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 |