xref: /haiku/src/apps/diskprobe/ProbeWindow.h (revision 5ac9b506412b11afb993bb52d161efe7666958a5)
1 /*
2  * Copyright 2004-2018, Axel Dörfler, axeld@pinc-software.de.
3  * All rights reserved. Distributed under the terms of the MIT license.
4  */
5 #ifndef PROBE_WINDOW_H
6 #define PROBE_WINDOW_H
7 
8 
9 #include <Window.h>
10 #include <Entry.h>
11 
12 
13 class ProbeWindow : public BWindow {
14 public:
15 								ProbeWindow(BRect rect, entry_ref* ref);
16 	virtual						~ProbeWindow();
17 
18 	virtual	void				MessageReceived(BMessage* message);
19 	virtual	bool				QuitRequested();
20 
21 	virtual	bool				Contains(const entry_ref& ref,
22 									const char* attribute) = 0;
23 
24 protected:
25 			const entry_ref&	Ref() const { return fRef; }
26 
27 private:
28 			entry_ref			fRef;
29 };
30 
31 
32 #endif	/* PROBE_WINDOW_H */
33