* Added missing include.
* Made buildable for userland. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34146 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -10,14 +10,19 @@
|
|||||||
|
|
||||||
#include <Notifications.h>
|
#include <Notifications.h>
|
||||||
|
|
||||||
|
#include <new>
|
||||||
|
|
||||||
#include <team.h>
|
#include <team.h>
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef _KERNEL_MODE
|
||||||
|
|
||||||
static const char* kEventMaskString = "event mask";
|
static const char* kEventMaskString = "event mask";
|
||||||
|
|
||||||
|
|
||||||
NotificationManager NotificationManager::sManager;
|
NotificationManager NotificationManager::sManager;
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
// #pragma mark - NotificationListener
|
// #pragma mark - NotificationListener
|
||||||
|
|
||||||
@@ -50,6 +55,9 @@ NotificationListener::operator==(const NotificationListener& other) const
|
|||||||
// #pragma mark - UserMessagingMessageSender
|
// #pragma mark - UserMessagingMessageSender
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef _KERNEL_MODE
|
||||||
|
|
||||||
|
|
||||||
UserMessagingMessageSender::UserMessagingMessageSender()
|
UserMessagingMessageSender::UserMessagingMessageSender()
|
||||||
:
|
:
|
||||||
fMessage(NULL),
|
fMessage(NULL),
|
||||||
@@ -140,7 +148,7 @@ default_listener::~default_listener()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// #pragma mark - NotificationService
|
// #pragma mark - DefaultNotificationService
|
||||||
|
|
||||||
|
|
||||||
DefaultNotificationService::DefaultNotificationService(const char* name)
|
DefaultNotificationService::DefaultNotificationService(const char* name)
|
||||||
@@ -600,3 +608,5 @@ notifications_init(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#endif // _KERNEL_MODE
|
||||||
|
|||||||
Reference in New Issue
Block a user