haiku/headers/private/storage/AddOnMonitor.h
shatty 522f702aaf 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
2004-02-01 05:50:56 +00:00

36 lines
622 B
C++

#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