Added dispatching of some now implemented roster requests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@463 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,8 +1,5 @@
|
|||||||
// Registrar.cpp
|
// Registrar.cpp
|
||||||
|
|
||||||
#ifndef DEBUG
|
|
||||||
# define DEBUG 1
|
|
||||||
#endif
|
|
||||||
#include "Debug.h"
|
#include "Debug.h"
|
||||||
|
|
||||||
#include <Application.h>
|
#include <Application.h>
|
||||||
@@ -29,6 +26,7 @@ FUNCTION_START();
|
|||||||
AddHandler(fClipboardHandler);
|
AddHandler(fClipboardHandler);
|
||||||
fMIMEManager = new MIMEManager;
|
fMIMEManager = new MIMEManager;
|
||||||
fMIMEManager->Run();
|
fMIMEManager->Run();
|
||||||
|
FUNCTION_END();
|
||||||
}
|
}
|
||||||
|
|
||||||
// destructor
|
// destructor
|
||||||
@@ -40,6 +38,7 @@ FUNCTION_START();
|
|||||||
RemoveHandler(fClipboardHandler);
|
RemoveHandler(fClipboardHandler);
|
||||||
delete fClipboardHandler;
|
delete fClipboardHandler;
|
||||||
delete fRoster;
|
delete fRoster;
|
||||||
|
FUNCTION_END();
|
||||||
}
|
}
|
||||||
|
|
||||||
// MessageReceived
|
// MessageReceived
|
||||||
@@ -81,6 +80,12 @@ FUNCTION_START();
|
|||||||
case B_REG_REMOVE_APP:
|
case B_REG_REMOVE_APP:
|
||||||
fRoster->HandleRemoveApp(message);
|
fRoster->HandleRemoveApp(message);
|
||||||
break;
|
break;
|
||||||
|
case B_REG_SET_THREAD_AND_TEAM:
|
||||||
|
fRoster->HandleSetThreadAndTeam(message);
|
||||||
|
break;
|
||||||
|
case B_REG_GET_RUNNING_APP_INFO:
|
||||||
|
fRoster->HandleGetRunningAppInfo(message);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
BApplication::MessageReceived(message);
|
BApplication::MessageReceived(message);
|
||||||
break;
|
break;
|
||||||
@@ -102,6 +107,7 @@ Registrar::QuitRequested()
|
|||||||
FUNCTION_START();
|
FUNCTION_START();
|
||||||
// The final registrar must not quit. At least not that easily. ;-)
|
// The final registrar must not quit. At least not that easily. ;-)
|
||||||
return BApplication::QuitRequested();
|
return BApplication::QuitRequested();
|
||||||
|
FUNCTION_END();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user