NotificationManager
class NotificationManager {
static NotificationManager& Manager();
NotificationManager();
~NotificationManager();
static NotificationManager sManager;
NotificationManager::CancelNotifications(BMessage *msg)
NotificationManager::SendNotifications(BMessage *msg)
NotificationManager::CleanupTeam(team_id team)
NotificationManager::WorkerThread()
NotificationManager::worker_thread(void *arg)
static_cast<NotificationManager *>(arg)->WorkerThread();
NotificationManager::Dump()
NotificationManager::NotificationManager()
fNotificationThreadId = spawn_thread(NotificationManager::worker_thread,
NotificationManager::~NotificationManager()
NotificationManager::EnqueueMessage(BMessage *msg)
NotificationManager::RequestNotifications(BMessage *msg)
class NotificationManager {
NotificationManager();
~NotificationManager();
gNotificationManager = new NotificationManager;
NotificationManager* gNotificationManager;
class NotificationManager;
extern NotificationManager* gNotificationManager;
NotificationManager& notificationManager
= NotificationManager::Manager();
NotificationManager& notificationManager
= NotificationManager::Manager();
NotificationManager NotificationManager::sManager;
return NotificationManager::Manager().RegisterService(*this);
NotificationManager::Manager().UnregisterService(*this);
NotificationManager::Manager().AddListener("teams", TEAM_REMOVED, *this);
NotificationManager::Manager().RemoveListener("teams", NULL, *this);
/*static*/ NotificationManager&
NotificationManager::Manager()
NotificationManager::CreateManager()
new(&sManager) NotificationManager;
NotificationManager::NotificationManager()
NotificationManager::~NotificationManager()
NotificationManager::_Init()
NotificationManager::_ServiceFor(const char* name)
NotificationManager::RegisterService(NotificationService& service)
NotificationManager::UnregisterService(NotificationService& service)
NotificationManager::AddListener(const char* serviceName,
NotificationManager::AddListener(const char* serviceName,
NotificationManager::UpdateListener(const char* serviceName,
NotificationManager::UpdateListener(const char* serviceName,
NotificationManager::RemoveListener(const char* serviceName,
status_t status = NotificationManager::CreateManager();
error = NotificationManager::Manager().AddListener("threads",
error = NotificationManager::Manager().AddListener("teams",