Added new methods to ToolBar class:
ToolBar();
~ToolBar();
getHandle();
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@89 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/rfbplayer/ToolBar.h b/rfbplayer/ToolBar.h
index 20c952e..aa59533 100644
--- a/rfbplayer/ToolBar.h
+++ b/rfbplayer/ToolBar.h
@@ -19,4 +19,18 @@
// -=- ToolBar.h
#include <windows.h>
-#include <commctrl.h>
\ No newline at end of file
+#include <commctrl.h>
+
+class ToolBar {
+public:
+ ToolBar();
+ virtual ~ToolBar();
+
+ // getHandle() returns handle to a toolbar window.
+ HWND getHandle() { return hwndToolBar; }
+
+protected:
+ HWND hwndToolBar;
+ int tbID;
+
+};
\ No newline at end of file