00001 /*************************************************************************** 00002 qsconsole.h - description 00003 ------------------- 00004 begin : Wed Jan 16 2002 00005 copyright : (C) 2002 by kamil 00006 email : kamil@localhost.localdomain 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef QSCONSOLE_H 00019 #define QSCONSOLE_H 00020 00021 #include<qstring.h> 00022 00031 class QSConsole { 00032 public: 00036 QSConsole(); 00040 virtual ~QSConsole(); 00044 static void write( const QString& message ); 00045 00046 protected: 00050 virtual void appendText( const QString& message ) = 0; 00055 static QSConsole *m_default_console; 00056 }; 00057 00058 #endif