xref: /haiku/headers/private/storage/AddOnMonitor.h (revision 9eb55bc1d104b8fda80898f8b25c94d8000c8255)
1 #ifndef _ADD_ON_MONITOR_H
2 #define _ADD_ON_MONITOR_H
3 
4 #include <string>
5 #include <list>
6 #include <Looper.h>
7 #include <MessageRunner.h>
8 #include <stdio.h>
9 
10 namespace BPrivate {
11 namespace Storage {
12 
13 class AddOnMonitorHandler;
14 
15 class AddOnMonitor : public BLooper {
16 private:
17 	typedef BLooper inherited;
18 public:
19 			AddOnMonitor(AddOnMonitorHandler * handler);
20 	virtual	~AddOnMonitor();
21 
22 	virtual status_t	InitCheck();
23 
24 private:
25 	status_t	fInitCheck;
26 	BMessage *	fPulseMessage;
27 	BMessageRunner * fPulseRunner;
28 };
29 
30 }; // namespace Storage
31 }; // namespace BPrivate
32 
33 using namespace BPrivate::Storage;
34 
35 #endif // _ADD_ON_MONITOR_H
36