Exports the userland C++ API only when included for userland usage.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3673 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -48,7 +48,7 @@ enum {
|
|||||||
* API exported.
|
* API exported.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#if defined(__cplusplus) && !defined(_KERNEL_MODE)
|
||||||
|
|
||||||
// these are only needed for the function exports
|
// these are only needed for the function exports
|
||||||
#include <Node.h>
|
#include <Node.h>
|
||||||
@@ -66,6 +66,6 @@ extern status_t watch_node(const node_ref *node, uint32 flags,
|
|||||||
extern status_t stop_watching(BMessenger target);
|
extern status_t stop_watching(BMessenger target);
|
||||||
extern status_t stop_watching(const BHandler *handler, const BLooper *looper = NULL);
|
extern status_t stop_watching(const BHandler *handler, const BLooper *looper = NULL);
|
||||||
|
|
||||||
#endif /* __cplusplus */
|
#endif /* __cplusplus && !_KERNEL_MODE */
|
||||||
|
|
||||||
#endif /* _NODE_MONITOR_H*/
|
#endif /* _NODE_MONITOR_H*/
|
||||||
|
|||||||
Reference in New Issue
Block a user