summaryrefslogtreecommitdiff
path: root/include/vcl/cursor.hxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-08-23 18:33:43 +0300
committerTor Lillqvist <tml@collabora.com>2014-08-23 19:20:03 +0300
commit708fc1c187986796861c4dcecba2861ce272dd57 (patch)
treeeddd1b2260db90b6727e69b977a4f48922b6b6b2 /include/vcl/cursor.hxx
parentf74a6338b3897df49f3041e7ce33453eaba9e2e5 (diff)
fdo#82577, fdo#82579: Handle Cursor
Put the vcl Cursor in the vcl namespace. Avoids collision with the Xlib Cursor typedef and some ancient Carbon (?) Cursor typedef on OS X. Change-Id: I7af770c522b5774c87f58cc079ced9fc1bcc88b0
Diffstat (limited to 'include/vcl/cursor.hxx')
-rw-r--r--include/vcl/cursor.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/vcl/cursor.hxx b/include/vcl/cursor.hxx
index 1030406e437b..0fa4b8277ec5 100644
--- a/include/vcl/cursor.hxx
+++ b/include/vcl/cursor.hxx
@@ -33,6 +33,9 @@ class Window;
#define CURSOR_DIRECTION_LTR ((unsigned char)0x01)
#define CURSOR_DIRECTION_RTL ((unsigned char)0x02)
+namespace vcl
+{
+
class VCL_DLLPUBLIC Cursor
{
private:
@@ -98,6 +101,8 @@ private:
bool ImplDoHide( bool bStop );
};
+} // namespace vcl
+
#endif // INCLUDED_VCL_CURSOR_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */