28 #ifndef itkWin32OutputWindow_h
29 #define itkWin32OutputWindow_h
30 #if defined(_MSC_VER) || defined(__MINGW32__) // if on Windows
53 class ITKCommon_EXPORT Win32OutputWindow:
public OutputWindow
56 ITK_DISALLOW_COPY_AND_ASSIGN(Win32OutputWindow);
59 using Self = Win32OutputWindow;
60 using Superclass = OutputWindow;
68 itkTypeMacro(Win32OutputWindow, OutputWindow);
72 virtual void DisplayText(
const char *);
74 static LRESULT APIENTRY WndProc(HWND hWnd, UINT message,
75 WPARAM wParam, LPARAM lParam);
78 Win32OutputWindow() {}
79 virtual ~Win32OutputWindow();
81 void PromptText(
const char *text);
83 static void AddText(
const char *);
85 static int Initialize();
88 static HWND m_OutputWindow;
93 #endif // itkWin32OutputWindow_h