Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

WinGUIostream.h

Go to the documentation of this file.
00001 // $Header: /nfs/slac/g/glast/ground/cvs/gui/src/WinGUIostream.h,v 1.1.1.1 2001/01/04 01:01:12 burnett Exp $
00002 #include "WinGUI.h"
00003 
00004 #ifndef WINGUIOSTEAM_H
00005 #define WINGUIOSTEAM_H
00006 
00007 #define USECONSOLE  // rather than create a window, that doesn't work now
00008 
00009 class logbuf;
00010 #include <iostream>
00011 using namespace std;
00012 
00013 class WinGUIostream : public ostream
00014 {
00015 public:
00016     WinGUIostream(const char* name, HWND parent, HINSTANCE hInst);
00017     
00018     ~WinGUIostream();
00019     
00020     void clear();
00021 private:
00022     logbuf* _buf;
00023 #ifndef USECONSOLE
00024     HWND _win;  // the dialogbox window
00025 #endif
00026 };
00027 
00028 
00029 #endif

Generated at Wed Nov 21 12:20:55 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000