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 ATTRIBUTE_WINDOW_H 6 #define ATTRIBUTE_WINDOW_H 7 8 9 #include "ProbeWindow.h" 10 11 12 class ProbeView; 13 class TypeEditorView; 14 15 16 class AttributeWindow : public ProbeWindow { 17 public: 18 AttributeWindow(BRect rect, entry_ref* ref, 19 const char* attribute = NULL, 20 const BMessage* settings = NULL); 21 virtual ~AttributeWindow(); 22 23 virtual void MessageReceived(BMessage* message); 24 virtual bool QuitRequested(); 25 virtual bool Contains(const entry_ref& ref, 26 const char* attribute); 27 28 private: 29 ProbeView* fProbeView; 30 TypeEditorView* fTypeEditorView; 31 char* fAttribute; 32 }; 33 34 35 #endif /* ATTRIBUTE_WINDOW_H */ 36