]> git.tdb.fi Git - libs/core.git/blobdiff - source/console.h
Move class members and comments around
[libs/core.git] / source / console.h
index d12697f6e66d54579955d35b21bdad66dd254070..3c0bb71ff3826d23467172a8e86c28f565ae1088 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of libmspio
-Copyright © 2008  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #ifndef MSP_IO_CONSOLE_H_
 #define MSP_IO_CONSOLE_H_
 
@@ -39,16 +32,17 @@ public:
        */
        void set_line_buffer(bool);
 
-       /**
-       Retrieves the size of the Console.  Can only be used on an output Console.
-       */
+       /** Retrieves the size of the Console.  Can only be used on an output
+       Console. */
        void get_size(unsigned &rows, unsigned &cols);
 
-       virtual Handle get_event_handle();
 protected:
        virtual unsigned do_write(const char *, unsigned);
        virtual unsigned do_read(char *, unsigned);
+
 public:
+       virtual Handle get_event_handle();
+
        static Console &instance(unsigned);
 };