From e1af90ffb8376c34ea6cb8491e745a11d99724f9 Mon Sep 17 00:00:00 2001 From: DarkWyrm Date: Tue, 5 Oct 2004 23:01:37 +0000 Subject: [PATCH] Added storage of owning team and a couple of related methods git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9217 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/servers/app/ServerCursor.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/headers/private/servers/app/ServerCursor.h b/headers/private/servers/app/ServerCursor.h index e1ebd4e5b2..3de1cafe14 100644 --- a/headers/private/servers/app/ServerCursor.h +++ b/headers/private/servers/app/ServerCursor.h @@ -56,6 +56,8 @@ public: void SetHotSpot(BPoint pt); const char *GetAppSignature(void) { return fAppSignature.String(); } void SetAppSignature(const char *signature); + void SetOwningTeam(team_id tid) { fOwningTeam=tid; } + team_id OwningTeam(void) const { return fOwningTeam; } //! Returns the cursor's ID int32 ID(void) { return fToken; } @@ -63,6 +65,7 @@ private: friend class CursorManager; BPoint fHotSpot; + team_id fOwningTeam; BString fAppSignature; };