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 9bc005359SAxel Dörfler #include "DataEditor.h" 10bc005359SAxel Dörfler 1156aa406aSAxel Dörfler #include <View.h> 12416271b7SAxel Dörfler #include <String.h> 1356aa406aSAxel Dörfler #include <Path.h> 1456aa406aSAxel Dörfler 15416271b7SAxel Dörfler 16416271b7SAxel Dörfler class BScrollView; 1756aa406aSAxel Dörfler 1856aa406aSAxel Dörfler class HeaderView; 1990828ad1SAxel Dörfler class DataView; 2056aa406aSAxel Dörfler 2156aa406aSAxel Dörfler 2256aa406aSAxel Dörfler class ProbeView : public BView { 2356aa406aSAxel Dörfler public: 2456aa406aSAxel Dörfler ProbeView(BRect rect, entry_ref *ref, const char *attribute = NULL); 2556aa406aSAxel Dörfler virtual ~ProbeView(); 2656aa406aSAxel Dörfler 27bc005359SAxel Dörfler virtual void DetachedFromWindow(); 2856aa406aSAxel Dörfler virtual void AttachedToWindow(); 295475e6e5SAxel Dörfler virtual void AllAttached(); 30*d556aa00SAxel Dörfler virtual void WindowActivated(bool active); 3156aa406aSAxel Dörfler virtual void MessageReceived(BMessage *message); 3256aa406aSAxel Dörfler 33416271b7SAxel Dörfler void AddFileMenuItems(BMenu *menu, int32 index); 34416271b7SAxel Dörfler 3590828ad1SAxel Dörfler void UpdateSizeLimits(); 3690828ad1SAxel Dörfler 3756aa406aSAxel Dörfler private: 38bc005359SAxel Dörfler DataEditor fEditor; 3956aa406aSAxel Dörfler HeaderView *fHeaderView; 4090828ad1SAxel Dörfler DataView *fDataView; 41416271b7SAxel Dörfler BScrollView *fScrollView; 4256aa406aSAxel Dörfler }; 4356aa406aSAxel Dörfler 44bc005359SAxel Dörfler #endif /* PROBE_VIEW_H */ 45