* 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:
parent
3386d3985c
commit
c89002c82c
@ -10,14 +10,19 @@
|
||||
|
||||
#include <Notifications.h>
|
||||
|
||||
#include <new>
|
||||
|
||||
#include <team.h>
|
||||
|
||||
|
||||
#ifdef _KERNEL_MODE
|
||||
|
||||
static const char* kEventMaskString = "event mask";
|
||||
|
||||
|
||||
NotificationManager NotificationManager::sManager;
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
// #pragma mark - NotificationListener
|
||||
|
||||
@ -50,6 +55,9 @@ NotificationListener::operator==(const NotificationListener& other) const
|
||||
// #pragma mark - UserMessagingMessageSender
|
||||
|
||||
|
||||
#ifdef _KERNEL_MODE
|
||||
|
||||
|
||||
UserMessagingMessageSender::UserMessagingMessageSender()
|
||||
:
|
||||
fMessage(NULL),
|
||||
@ -140,7 +148,7 @@ default_listener::~default_listener()
|
||||
}
|
||||
|
||||
|
||||
// #pragma mark - NotificationService
|
||||
// #pragma mark - DefaultNotificationService
|
||||
|
||||
|
||||
DefaultNotificationService::DefaultNotificationService(const char* name)
|
||||
@ -600,3 +608,5 @@ notifications_init(void)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#endif // _KERNEL_MODE
|
||||
|
Loading…
Reference in New Issue
Block a user