Files
haiku-beta6/src/apps/diskprobe/ProbeWindow.h
T

31 lines
627 B
C++
Raw Normal View History

/*
** Copyright 2004, Axel Dörfler, [email protected]. All rights reserved.
** Distributed under the terms of the OpenBeOS License.
*/
#ifndef PROBE_WINDOW_H
#define PROBE_WINDOW_H
#include <Window.h>
#include <Entry.h>
class ProbeWindow : public BWindow {
public:
2004-02-24 07:24:05 +00:00
ProbeWindow(BRect rect, entry_ref *ref);
virtual ~ProbeWindow();
virtual void MessageReceived(BMessage *message);
virtual bool QuitRequested();
2004-02-24 07:24:05 +00:00
virtual bool Contains(const entry_ref &ref, const char *attribute) = 0;
protected:
const entry_ref &Ref() const { return fRef; }
private:
entry_ref fRef;
};
#endif /* PROBE_WINDOW_H */