header for simple AddOnMonitor BLooper subclass to run an AddOnMonitorHandler
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6456 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
#ifndef _ADD_ON_MONITOR_H
|
||||
#define _ADD_ON_MONITOR_H
|
||||
|
||||
#include <string>
|
||||
#include <list>
|
||||
#include <Looper.h>
|
||||
#include <MessageRunner.h>
|
||||
#include <stdio.h>
|
||||
|
||||
namespace BPrivate {
|
||||
namespace Storage {
|
||||
|
||||
class AddOnMonitorHandler;
|
||||
|
||||
class AddOnMonitor : public BLooper {
|
||||
private:
|
||||
typedef BLooper inherited;
|
||||
public:
|
||||
AddOnMonitor(AddOnMonitorHandler * handler);
|
||||
virtual ~AddOnMonitor();
|
||||
|
||||
virtual status_t InitCheck();
|
||||
|
||||
private:
|
||||
status_t fInitCheck;
|
||||
BMessage * fPulseMessage;
|
||||
BMessageRunner * fPulseRunner;
|
||||
};
|
||||
|
||||
}; // namespace Storage
|
||||
}; // namespace BPrivate
|
||||
|
||||
using namespace BPrivate::Storage;
|
||||
|
||||
#endif // _ADD_ON_MONITOR_H
|
||||
Reference in New Issue
Block a user