BTRFS: Implement BTree::Path and change _Find.
[haiku.git] / src / apps / diskprobe / ProbeWindow.h
blobe762f903cc72a08f6721bcb94cee1d7107dc1bfa
1 /*
2 ** Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3 ** Distributed under the terms of the MIT License.
4 */
5 #ifndef PROBE_WINDOW_H
6 #define PROBE_WINDOW_H
9 #include <Window.h>
10 #include <Entry.h>
13 class ProbeWindow : public BWindow {
14 public:
15 ProbeWindow(BRect rect, entry_ref *ref);
16 virtual ~ProbeWindow();
18 virtual void MessageReceived(BMessage *message);
19 virtual bool QuitRequested();
21 virtual bool Contains(const entry_ref &ref, const char *attribute) = 0;
23 protected:
24 const entry_ref &Ref() const { return fRef; }
26 private:
27 entry_ref fRef;
30 #endif /* PROBE_WINDOW_H */