sources/main.cpp

changeset 88
08ccaf26cffd
parent 81
a18aaf460648
child 89
777b2a10b835
--- a/sources/main.cpp	Thu Jul 23 00:16:47 2015 +0300
+++ b/sources/main.cpp	Thu Jul 23 01:52:04 2015 +0300
@@ -43,8 +43,7 @@
 
 // -------------------------------------------------------------------------------------------------
 //
-FUNCTION
-main (int argc, char* argv[]) -> int
+int main (int argc, char* argv[])
 {
 #ifdef _WIN32
 	FreeConsole();
@@ -67,7 +66,7 @@
 		return EXIT_FAILURE;
 	}
 
-	Interface iface;
+	zfc::Interface iface;
 
 	if (argc == 3)
 		iface.connect (argv[1], argv[2]);
@@ -100,7 +99,7 @@
 			iface.render();
 		}
 	}
-	catch (const Exitception&) {}
+	catch (const zfc::Exitception&) {}
 
 	iface.get_session()->disconnect();
 	return EXIT_SUCCESS;

mercurial