2 // main.cpp - The Supply Chain Manager-O-Matic
4 // (C) 2012 Underground Software
6 // JLH = James Hammons <jlhamm@acm.org>
9 // --- ---------- -------------------------------------------------------------
10 // JLH 09/14/2012 Created this file
14 #include <QApplication>
17 // Main app constructor--we stick globally accessible stuff here...
19 MainApp::MainApp(int & argc, char * argv[]): QApplication(argc, argv)
21 mainWindow = new MainWindow;
26 // Here's the main application loop--short and simple...
27 int main(int argc, char * argv[])
29 Q_INIT_RESOURCE(schematic); // This must the same name as the exe filename
31 MainApp app(argc, argv);
33 // User either couldn't log on, or cancelled out
34 if (app.mainWindow->loggedInUID == 0)