Just some style cleanups again. Sorry I couldn't resist, won't happen again ;-).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13646 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -38,7 +38,7 @@
|
|||||||
CursorManager *cursormanager;
|
CursorManager *cursormanager;
|
||||||
|
|
||||||
//! Initializes the CursorManager
|
//! Initializes the CursorManager
|
||||||
CursorManager::CursorManager(void)
|
CursorManager::CursorManager()
|
||||||
{
|
{
|
||||||
// Error code for AddCursor
|
// Error code for AddCursor
|
||||||
fTokenizer.ExcludeValue(B_ERROR);
|
fTokenizer.ExcludeValue(B_ERROR);
|
||||||
@@ -83,7 +83,7 @@ CursorManager::CursorManager(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
//! Does all the teardown
|
//! Does all the teardown
|
||||||
CursorManager::~CursorManager(void)
|
CursorManager::~CursorManager()
|
||||||
{
|
{
|
||||||
ServerCursor *temp;
|
ServerCursor *temp;
|
||||||
for(int32 i=0; i<fCursorList.CountItems();i++)
|
for(int32 i=0; i<fCursorList.CountItems();i++)
|
||||||
@@ -336,7 +336,7 @@ cursor_which CursorManager::GetCursorWhich(void)
|
|||||||
|
|
||||||
A word of warning: once a cursor has been assigned to the system, the
|
A word of warning: once a cursor has been assigned to the system, the
|
||||||
system will take ownership of the cursor and deleting the cursor
|
system will take ownership of the cursor and deleting the cursor
|
||||||
will have not effect on the system.
|
will have no effect on the system.
|
||||||
*/
|
*/
|
||||||
void CursorManager::ChangeCursor(cursor_which which, int32 token)
|
void CursorManager::ChangeCursor(cursor_which which, int32 token)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -43,11 +43,10 @@ class ServerCursor;
|
|||||||
any BeOS platform. It also provides tokens for BCursors and frees all
|
any BeOS platform. It also provides tokens for BCursors and frees all
|
||||||
of an application's cursors whenever an application closes.
|
of an application's cursors whenever an application closes.
|
||||||
*/
|
*/
|
||||||
class CursorManager : public BLocker
|
class CursorManager : public BLocker {
|
||||||
{
|
|
||||||
public:
|
public:
|
||||||
CursorManager(void);
|
CursorManager();
|
||||||
~CursorManager(void);
|
~CursorManager();
|
||||||
int32 AddCursor(ServerCursor *sc);
|
int32 AddCursor(ServerCursor *sc);
|
||||||
void DeleteCursor(int32 token);
|
void DeleteCursor(int32 token);
|
||||||
void RemoveAppCursors(team_id team);
|
void RemoveAppCursors(team_id team);
|
||||||
|
|||||||
Reference in New Issue
Block a user