xref: /haiku/headers/private/storage/AddOnMonitor.h (revision 32a2294fdc40a8ef9e3360aa85d0b7efb0c930b9)
1 /*
2  * Copyright 2004-2010, Haiku, Inc. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef _ADD_ON_MONITOR_H
6 #define _ADD_ON_MONITOR_H
7 
8 
9 #include <list>
10 #include <stdio.h>
11 #include <string>
12 
13 #include <Looper.h>
14 #include <MessageRunner.h>
15 
16 
17 namespace BPrivate {
18 namespace Storage {
19 
20 
21 class AddOnMonitorHandler;
22 
23 
24 class AddOnMonitor : public BLooper {
25 private:
26 			typedef BLooper inherited;
27 public:
28 								AddOnMonitor(AddOnMonitorHandler* handler);
29 	virtual						~AddOnMonitor();
30 
31 	virtual	status_t			InitCheck();
32 
33 private:
34 			status_t			fInitCheck;
35 			BMessageRunner*		fPulseRunner;
36 };
37 
38 
39 }; // namespace Storage
40 }; // namespace BPrivate
41 
42 
43 using namespace BPrivate::Storage;
44 
45 
46 #endif // _ADD_ON_MONITOR_H
47