[Development] Add glue code for -SecurityTypes option and GUI Security dialog.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4216 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/win/vncviewer/CConn.h b/win/vncviewer/CConn.h
index 3771154..62b131e 100644
--- a/win/vncviewer/CConn.h
+++ b/win/vncviewer/CConn.h
@@ -26,6 +26,7 @@
#include <network/Socket.h>
#include <rfb/CConnection.h>
#include <rfb/Cursor.h>
+#include <rfb/UserMsgBox.h>
#include <rfb/UserPasswdGetter.h>
#include <rfb_win32/Registry.h>
#include <rfb_win32/Handle.h>
@@ -43,7 +44,8 @@
class CConn : public CConnection,
UserPasswdGetter,
DesktopWindow::Callback,
- rdr::FdInStreamBlockCallback
+ rdr::FdInStreamBlockCallback,
+ UserMsgBox
{
public:
CConn();
@@ -77,6 +79,9 @@
// - Get the server's preferred format
const PixelFormat& getServerDefaultPF() const { return serverDefaultPF; }
+ // - Display message box
+ virtual bool showMsgBox(int flags, const char* title, const char* text);
+
// Global user-config registry key
static RegKey userConfigKey;