From c89002c82c46436631c5994ec927493ec95d7474 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Fri, 20 Nov 2009 07:56:18 +0000 Subject: [PATCH] * Added missing include. * Made buildable for userland. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34146 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/kernel/Notifications.cpp | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/system/kernel/Notifications.cpp b/src/system/kernel/Notifications.cpp index 48c1d80044..d9c36b63ce 100644 --- a/src/system/kernel/Notifications.cpp +++ b/src/system/kernel/Notifications.cpp @@ -10,14 +10,19 @@ #include +#include + #include +#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