ProbeWindow is now the base class for FileWindow and AttributeWindow. Currently, attribute window has no special additional controls, but that will come. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6713 a95241bf-73f2-0310-859d-f6bbb57e9c96
31 lines
627 B
C++
31 lines
627 B
C++
/*
|
|
** 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:
|
|
ProbeWindow(BRect rect, entry_ref *ref);
|
|
virtual ~ProbeWindow();
|
|
|
|
virtual void MessageReceived(BMessage *message);
|
|
virtual bool QuitRequested();
|
|
|
|
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 */
|