HaikuDepot: notify work status from main window
[haiku.git] / src / apps / diskusage / VolumeView.h
blob079e7ab21c9bf8cbfb6256baa16d3d01b6a5e816
1 /*
2 * Copyright (c) 2010 Philippe Saint-Pierre, stpere@gmail.com
3 * All rights reserved. Distributed under the terms of the MIT license.
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 */
10 #ifndef VOLUMETAB_VIEW_H
11 #define VOLUMETAB_VIEW_H
13 #include <View.h>
15 class BButton;
16 class BPath;
17 class BStringView;
18 class BVolume;
19 class PieView;
20 class MainWindow;
21 class StatusView;
23 struct FileInfo;
26 class VolumeView: public BView {
28 public:
29 VolumeView(const char* name, BVolume* volume);
30 virtual ~VolumeView();
32 virtual void MessageReceived(BMessage* message);
33 void EnableRescan();
34 void EnableCancel();
35 void SetPath(BPath path);
36 void ShowInfo(const FileInfo* info);
38 private:
39 PieView* fPieView;
40 StatusView* fStatusView;
45 #endif