From c325acedde7191cf34faecd9dde3622959494f59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Mon, 7 Nov 2005 01:16:50 +0000 Subject: [PATCH] just a bit of clean up and added const where appropriate git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14732 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/servers/app/ServerCursor.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/headers/private/servers/app/ServerCursor.h b/headers/private/servers/app/ServerCursor.h index 458d748b31..1473b9c2f4 100644 --- a/headers/private/servers/app/ServerCursor.h +++ b/headers/private/servers/app/ServerCursor.h @@ -57,11 +57,11 @@ class ServerCursor : public ServerBitmap { color_space format); ServerCursor(const ServerCursor* cursor); - virtual ~ServerCursor(void); + virtual ~ServerCursor(); //! Returns the cursor's hot spot void SetHotSpot(BPoint pt); - BPoint GetHotSpot(void) + BPoint GetHotSpot() const { return fHotSpot; } void SetAppSignature(const char* signature); @@ -69,12 +69,12 @@ class ServerCursor : public ServerBitmap { { return fAppSignature.String(); } void SetOwningTeam(team_id tid) - { fOwningTeam=tid; } - team_id OwningTeam(void) const + { fOwningTeam = tid; } + team_id OwningTeam() const { return fOwningTeam; } //! Returns the cursor's ID - int32 ID() + int32 ID() const { return fToken; } private: friend class CursorManager;