main.cpp

changeset 25
c74bb88f537d
parent 23
69a91c1ff583
child 26
83184d9407c7
--- a/main.cpp	Mon Mar 18 04:03:05 2013 +0200
+++ b/main.cpp	Mon Mar 18 12:15:23 2013 +0200
@@ -6,18 +6,18 @@
 
 vector<OpenFile*> g_LoadedFiles;
 OpenFile* g_CurrentFile = NULL;
-LDForgeWindow* g_qWindow = NULL; 
+ForgeWindow* g_qWindow = NULL; 
 bbox g_BBox;
 
-int main (int argc, char** argv) {
+int main (int dArgC, char* saArgV[]) {
 	// TODO
 	g_zaFileLoadPaths.push_back (".");
 	g_zaFileLoadPaths.push_back ("/home/arezey/ldraw/parts");
 	g_zaFileLoadPaths.push_back ("/home/arezey/ldraw/parts/s");
 	g_zaFileLoadPaths.push_back ("/home/arezey/ldraw/p");
 	
-	QApplication app (argc, argv);
-	LDForgeWindow* win = new LDForgeWindow;
+	QApplication app (dArgC, saArgV);
+	ForgeWindow* win = new ForgeWindow;
 	g_qWindow = win;
 	win->show ();
 	return app.exec ();

mercurial