haiku/headers/private/storage/AddOnMonitor.h
Stephan Aßmus c6077ae7ec Cleanup: No need to check the BMessenger status twice. No need to
keep the BMessageRunner message around.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38234 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-18 13:50:50 +00:00

47 lines
737 B
C++

/*
* Copyright 2004-2010, Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _ADD_ON_MONITOR_H
#define _ADD_ON_MONITOR_H
#include <list>
#include <stdio.h>
#include <string>
#include <Looper.h>
#include <MessageRunner.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;
BMessageRunner* fPulseRunner;
};
}; // namespace Storage
}; // namespace BPrivate
using namespace BPrivate::Storage;
#endif // _ADD_ON_MONITOR_H