]> Shamusworld >> Repos - architektonas/blob - src/main.cpp
Whitespace changes. :-P
[architektonas] / src / main.cpp
1 //
2 // main.cpp: Architektonas implementation of the application
3 //
4 // Part of the Architektonas Project
5 // (C) 2011 Underground Software
6 // See the README and GPLv3 files for licensing and warranty information
7 //
8 // JLH = James Hammons <jlhamm@acm.org>
9 //
10 // Who  When        What
11 // ---  ----------  ------------------------------------------------------------
12 // JLH  03/22/2011  Created this file
13 //
14
15 #include "main.h"
16
17 #include <QApplication>
18 #include "applicationwindow.h"
19
20 // Main app constructor--we stick globally accessible stuff here...
21
22 Architektonas::Architektonas(int & argc, char * argv[]): QApplication(argc, argv)//, charWnd(NULL)
23 {
24         mainWindow = new ApplicationWindow;
25         mainWindow->show();
26 }
27
28 // Here's the main application loop--short and simple...
29 int main(int argc, char * argv[])
30 {
31         Q_INIT_RESOURCE(architektonas); // This must the same name as the exe filename
32
33         Architektonas app(argc, argv);
34
35         return app.exec();
36 }