156aa406aSAxel Dörfler /* 256aa406aSAxel Dörfler ** Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved. 356aa406aSAxel Dörfler ** Distributed under the terms of the OpenBeOS License. 456aa406aSAxel Dörfler */ 556aa406aSAxel Dörfler #ifndef PROBE_VIEW_H 656aa406aSAxel Dörfler #define PROBE_VIEW_H 756aa406aSAxel Dörfler 856aa406aSAxel Dörfler 956aa406aSAxel Dörfler #include <View.h> 10*416271b7SAxel Dörfler #include <String.h> 1156aa406aSAxel Dörfler #include <Path.h> 1256aa406aSAxel Dörfler 13*416271b7SAxel Dörfler 14*416271b7SAxel Dörfler class BScrollView; 1556aa406aSAxel Dörfler 1656aa406aSAxel Dörfler class HeaderView; 1756aa406aSAxel Dörfler 1856aa406aSAxel Dörfler 1956aa406aSAxel Dörfler class ProbeView : public BView { 2056aa406aSAxel Dörfler public: 2156aa406aSAxel Dörfler ProbeView(BRect rect, entry_ref *ref, const char *attribute = NULL); 2256aa406aSAxel Dörfler virtual ~ProbeView(); 2356aa406aSAxel Dörfler 2456aa406aSAxel Dörfler virtual void AttachedToWindow(); 2556aa406aSAxel Dörfler virtual void MessageReceived(BMessage *message); 2656aa406aSAxel Dörfler 27*416271b7SAxel Dörfler void AddFileMenuItems(BMenu *menu, int32 index); 28*416271b7SAxel Dörfler 2956aa406aSAxel Dörfler private: 30*416271b7SAxel Dörfler BString fAttribute; 3156aa406aSAxel Dörfler bool fIsDevice; 3256aa406aSAxel Dörfler HeaderView *fHeaderView; 33*416271b7SAxel Dörfler BScrollView *fScrollView; 3456aa406aSAxel Dörfler }; 3556aa406aSAxel Dörfler 3656aa406aSAxel Dörfler #endif /* PROBE_WINDOW_H */ 37