xref: /haiku/src/apps/diskprobe/AttributeWindow.h (revision 1e36cfc2721ef13a187c6f7354dc9cbc485e89d3)
1 /*
2 ** Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3 ** Distributed under the terms of the OpenBeOS License.
4 */
5 #ifndef ATTRIBUTE_WINDOW_H
6 #define ATTRIBUTE_WINDOW_H
7 
8 
9 #include "ProbeWindow.h"
10 
11 class ProbeView;
12 class TypeEditorView;
13 
14 
15 class AttributeWindow : public ProbeWindow {
16 	public:
17 		AttributeWindow(BRect rect, entry_ref *ref, const char *attribute = NULL,
18 			const BMessage *settings = NULL);
19 		virtual ~AttributeWindow();
20 
21 		virtual void MessageReceived(BMessage *message);
22 		virtual bool QuitRequested();
23 		virtual bool Contains(const entry_ref &ref, const char *attribute);
24 
25 	private:
26 		ProbeView		*fProbeView;
27 		TypeEditorView	*fTypeEditorView;
28 		char			*fAttribute;
29 };
30 
31 #endif	/* ATTRIBUTE_WINDOW_H */
32