]> git.tdb.fi Git - libs/core.git/blobdiff - source/console.cpp
Move class members and comments around
[libs/core.git] / source / console.cpp
index e860436bc4ea6c8b7150b5634ebb805c5a390010..9db77377f0c2267ea2997808764b607d36ffcbea 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of libmspio
-Copyright © 2008  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #ifndef WIN32
 #include <errno.h>
 #include <fcntl.h>
@@ -122,11 +115,6 @@ void Console::get_size(unsigned &rows, unsigned &cols)
 #endif
 }
 
-Handle Console::get_event_handle()
-{
-       return 0;
-}
-
 unsigned Console::do_write(const char *buf, unsigned len)
 {
        if(!(mode&M_WRITE))
@@ -170,6 +158,11 @@ unsigned Console::do_read(char *buf, unsigned len)
        return ret;
 }
 
+Handle Console::get_event_handle()
+{
+       return 0;
+}
+
 Console &Console::instance(unsigned n)
 {
        static Console in(0);