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
This commit is contained in:
DarkWyrm 2004-10-05 23:01:37 +00:00
parent 76d4213d60
commit e1af90ffb8

View File

@ -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;
};