aboutsummaryrefslogtreecommitdiff
path: root/qtmips_cli/machineapp.cpp
blob: 09fcd3ed57ebdcbf0dfe8b60546e261e6d964c9d (plain)
1
2
3
4
5
6
7
8
9
10
11
#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]);
}