1 /* 2 * Copyright (c) 2010 Philippe Saint-Pierre, stpere@gmail.com 3 * All rights reserved. Distributed under the terms of the MIT license. 4 * 5 * Copyright (c) 1999 Mike Steed. You are free to use and distribute this software 6 * as long as it is accompanied by it's documentation and this copyright notice. 7 * The software comes with no warranty, etc. 8 */ 9 10 #ifndef VOLUMETAB_VIEW_H 11 #define VOLUMETAB_VIEW_H 12 13 #include <View.h> 14 15 class BButton; 16 class BPath; 17 class BStringView; 18 class BVolume; 19 class PieView; 20 class MainWindow; 21 class StatusView; 22 23 struct FileInfo; 24 25 26 class VolumeView: public BView { 27 28 public: 29 VolumeView(const char* name, BVolume* volume); 30 virtual ~VolumeView(); 31 32 virtual void MessageReceived(BMessage* message); 33 void EnableRescan(); 34 void EnableCancel(); 35 void SetPath(BPath path); 36 void ShowInfo(const FileInfo* info); 37 38 private: 39 PieView* fPieView; 40 StatusView* fStatusView; 41 }; 42 43 44 45 #endif 46