* Preparations for a module listener API - this will be used in the (disk)
device managers. * Cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26239 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
/*
|
||||
* Copyright 2005, Axel Dörfler, [email protected]. All rights reserved.
|
||||
*
|
||||
* Copyright 2005-2008, Axel Dörfler, [email protected].
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef _KERNEL_MODULE_H
|
||||
@@ -14,6 +13,16 @@ struct kernel_args;
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
// C++ only part
|
||||
|
||||
class NotificationListener;
|
||||
|
||||
extern status_t start_watching_modules(const char *prefix,
|
||||
NotificationListener &listener);
|
||||
extern status_t stop_watching_modules(const char *prefix,
|
||||
NotificationListener &listener);
|
||||
|
||||
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user