sources/main.cpp

branch
protocol5
changeset 141
d9073c13dc98
parent 138
c909c38ca886
child 156
ce66d7e374bf
--- a/sources/main.cpp	Wed Jul 20 13:29:03 2016 +0300
+++ b/sources/main.cpp	Wed Jul 20 15:03:37 2016 +0300
@@ -84,7 +84,7 @@
 			FD_ZERO (&fdset);
 			FD_SET (0, &fdset);
 
-			int fd = iface.get_session()->socket()->file_descriptor();
+			int fd = iface.getSession()->socket()->file_descriptor();
 			highest = zfc::max (highest, fd);
 			FD_SET (fd, &fdset);
 
@@ -93,15 +93,15 @@
 			if (FD_ISSET (0, &fdset))
 			{
 				// stdin is ready, what's incoming?
-				iface.handle_input();
+				iface.handleInput();
 			}
 
-			iface.get_session()->tick();
+			iface.getSession()->tick();
 			iface.render();
 		}
 	}
 	catch (const zfc::Exitception&) {}
 
-	iface.get_session()->disconnect();
+	iface.getSession()->disconnect();
 	return EXIT_SUCCESS;
 }

mercurial