2 // app.cpp - Qt-based GUI for Virtual Jaguar
5 // (C) 2010 Underground Software
7 // JLH = James L. Hammons <jlhamm@acm.org>
10 // --- ---------- -------------------------------------------------------------
11 // JLH 12/23/2009 Created this file
16 #include <QApplication>
20 // Here's the main application loop--short and simple...
21 int main(int argc, char * argv[])
25 if (strcmp(argv[1], "--help") == 0)
27 printf("Virtual Jaguar 2.0.0 help\n");
29 printf("This is an experimental branch of Virtual Jaguar, how did you get it?\n");
34 Q_INIT_RESOURCE(vj); // This must the same name as the exe filename
35 //or is it the .qrc filename???
36 // This is so we can pass this stuff using signal/slot mechanism...
37 //ick int id = qRegisterMetaType<uint32>();
39 App app(argc, argv); // Declare an instance of the application
41 return app.exec(); // And run it!
44 // Main app constructor--we stick globally accessible stuff here...
46 App::App(int argc, char * argv[]): QApplication(argc, argv)
48 mainWindow = new MainWin();