]> git.tdb.fi Git - libs/core.git/blobdiff - source/console.h
Drop copyright and license notices from files
[libs/core.git] / source / console.h
index 06fa603c495a7f99950492088d32ae4b8d2d4598..2d425c805f2c040ddc5991c452fcdf046190accf 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,6 +32,11 @@ public:
        */
        void set_line_buffer(bool);
 
+       /**
+       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);