Common/vtkWin32OutputWindow.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00030 #ifndef __vtkWin32OutputWindow_h
00031 #define __vtkWin32OutputWindow_h
00032
00033 #include "vtkOutputWindow.h"
00034
00035
00036 class VTK_COMMON_EXPORT vtkWin32OutputWindow : public vtkOutputWindow
00037 {
00038 public:
00039
00040 vtkTypeRevisionMacro(vtkWin32OutputWindow,vtkOutputWindow);
00042
00043 static vtkWin32OutputWindow* New();
00044
00045
00046 virtual void DisplayText(const char*);
00047
00048 static LRESULT APIENTRY WndProc(HWND hWnd, UINT message,
00049 WPARAM wParam, LPARAM lParam);
00050
00052 protected:
00053 vtkWin32OutputWindow() {};
00054 virtual ~vtkWin32OutputWindow() {};
00055
00056 void PromptText(const char* text);
00057 static void AddText(const char*);
00058 static int Initialize();
00059 static HWND OutputWindow;
00060 private:
00061 vtkWin32OutputWindow(const vtkWin32OutputWindow&);
00062 void operator=(const vtkWin32OutputWindow&);
00063 };
00064
00065
00066
00067 #endif