1d11ec082SAxel Dörfler /* 2*e85413adSAxel Dörfler * Copyright 2004-2018, Axel Dörfler, axeld@pinc-software.de. 3*e85413adSAxel Dörfler * All rights reserved. Distributed under the terms of the MIT 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 11*e85413adSAxel Dörfler 127d7f16acSAxel Dörfler class ProbeView; 13fa78c88eSAxel Dörfler class TypeEditorView; 147d7f16acSAxel Dörfler 15d11ec082SAxel Dörfler 16d11ec082SAxel Dörfler class AttributeWindow : public ProbeWindow { 17d11ec082SAxel Dörfler public: 18*e85413adSAxel Dörfler AttributeWindow(BRect rect, entry_ref* ref, 19*e85413adSAxel Dörfler const char* attribute = NULL, 207fff3ed0SAxel Dörfler const BMessage* settings = NULL); 21d11ec082SAxel Dörfler virtual ~AttributeWindow(); 22d11ec082SAxel Dörfler 2336a79516SAxel Dörfler virtual void MessageReceived(BMessage* message); 240adaff85SAxel Dörfler virtual bool QuitRequested(); 25*e85413adSAxel Dörfler virtual bool Contains(const entry_ref& ref, 26*e85413adSAxel Dörfler const char* attribute); 27d11ec082SAxel Dörfler 28d11ec082SAxel Dörfler private: 297d7f16acSAxel Dörfler ProbeView* fProbeView; 30fa78c88eSAxel Dörfler TypeEditorView* fTypeEditorView; 31d11ec082SAxel Dörfler char* fAttribute; 32d11ec082SAxel Dörfler }; 33d11ec082SAxel Dörfler 34*e85413adSAxel Dörfler 35d11ec082SAxel Dörfler #endif /* ATTRIBUTE_WINDOW_H */ 36