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:
shatty
2004-02-01 05:50:56 +00:00
parent afd1e2002e
commit 522f702aaf
+35
View File
@@ -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