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
15class BButton;
16class BPath;
17class BStringView;
18class BVolume;
19class PieView;
20class MainWindow;
21class StatusView;
22
23struct FileInfo;
24
25
26class VolumeView: public BView {
27
28public:
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
38private:
39	PieView*			fPieView;
40	StatusView*			fStatusView;
41};
42
43
44
45#endif
46