X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fconsole.cpp;h=9db77377f0c2267ea2997808764b607d36ffcbea;hp=e860436bc4ea6c8b7150b5634ebb805c5a390010;hb=b97d4e9f86e90254ab9edef7ee62a910f6333c78;hpb=73a21b6f495e16707ede460a2c9d8f1474bb4d93 diff --git a/source/console.cpp b/source/console.cpp index e860436..9db7737 100644 --- a/source/console.cpp +++ b/source/console.cpp @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of libmspio -Copyright © 2008 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef WIN32 #include #include @@ -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);