1d11ec082SAxel Dörfler /* 2d11ec082SAxel Dörfler ** Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved. 3d11ec082SAxel Dörfler ** Distributed under the terms of the OpenBeOS License. 4d11ec082SAxel Dörfler */ 5d11ec082SAxel Dörfler #ifndef ATTRIBUTE_WINDOW_H 6d11ec082SAxel Dörfler #define ATTRIBUTE_WINDOW_H 7d11ec082SAxel Dörfler 8d11ec082SAxel Dörfler 9d11ec082SAxel Dörfler #include "ProbeWindow.h" 10d11ec082SAxel Dörfler 117d7f16acSAxel Dörfler class ProbeView; 12*fa78c88eSAxel Dörfler class TypeEditorView; 137d7f16acSAxel Dörfler 14d11ec082SAxel Dörfler 15d11ec082SAxel Dörfler class AttributeWindow : public ProbeWindow { 16d11ec082SAxel Dörfler public: 177fff3ed0SAxel Dörfler AttributeWindow(BRect rect, entry_ref *ref, const char *attribute = NULL, 187fff3ed0SAxel Dörfler const BMessage *settings = NULL); 19d11ec082SAxel Dörfler virtual ~AttributeWindow(); 20d11ec082SAxel Dörfler 2136a79516SAxel Dörfler virtual void MessageReceived(BMessage *message); 220adaff85SAxel Dörfler virtual bool QuitRequested(); 2336a79516SAxel Dörfler virtual bool Contains(const entry_ref &ref, const char *attribute); 24d11ec082SAxel Dörfler 25d11ec082SAxel Dörfler private: 267d7f16acSAxel Dörfler ProbeView *fProbeView; 27*fa78c88eSAxel Dörfler TypeEditorView *fTypeEditorView; 28d11ec082SAxel Dörfler char *fAttribute; 29d11ec082SAxel Dörfler }; 30d11ec082SAxel Dörfler 31d11ec082SAxel Dörfler #endif /* ATTRIBUTE_WINDOW_H */ 32