aboutsummaryrefslogtreecommitdiffstats
path: root/win/rfb_win32/MsgWindow.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'win/rfb_win32/MsgWindow.cxx')
-rw-r--r--win/rfb_win32/MsgWindow.cxx12
1 files changed, 7 insertions, 5 deletions
diff --git a/win/rfb_win32/MsgWindow.cxx b/win/rfb_win32/MsgWindow.cxx
index c89db851..4b20dc88 100644
--- a/win/rfb_win32/MsgWindow.cxx
+++ b/win/rfb_win32/MsgWindow.cxx
@@ -23,16 +23,18 @@
#include <config.h>
#endif
+#include <core/Exception.h>
+#include <core/LogWriter.h>
+
#include <rfb_win32/MsgWindow.h>
#include <rfb_win32/WMShatter.h>
-#include <rfb/LogWriter.h>
-#include <rdr/Exception.h>
+
#include <malloc.h>
using namespace rfb;
using namespace rfb::win32;
-static LogWriter vlog("MsgWindow");
+static core::LogWriter vlog("MsgWindow");
//
// -=- MsgWindowClass
@@ -82,7 +84,7 @@ MsgWindowClass::MsgWindowClass() : classAtom(0) {
wndClass.lpszClassName = "rfb::win32::MsgWindowClass";
classAtom = RegisterClass(&wndClass);
if (!classAtom) {
- throw rdr::win32_error("Unable to register MsgWindow window class", GetLastError());
+ throw core::win32_error("Unable to register MsgWindow window class", GetLastError());
}
}
@@ -104,7 +106,7 @@ MsgWindow::MsgWindow(const char* name_) : name(name_), handle(nullptr) {
name.c_str(), WS_OVERLAPPED, 0, 0, 10, 10,
nullptr, nullptr, baseClass.instance, this);
if (!handle) {
- throw rdr::win32_error("Unable to create WMNotifier window instance", GetLastError());
+ throw core::win32_error("Unable to create WMNotifier window instance", GetLastError());
}
vlog.debug("Created window \"%s\" (%p)", name.c_str(), handle);
}