btrfs: Attempt to fix GCC2 build.
[haiku.git] / src / apps / diskusage / StatusView.h
blob1a3596356e9516a5b584b4d69bb34ccb16074d97
1 /*
2 * Copyright (c) 2010 Philippe St-Pierre <stpere@gmail.com>. All rights reserved.
3 * Copyright (c) 2008 Stephan Aßmus <superstippi@gmx.de>. All rights reserved.
4 * Distributed under the terms of the MIT/X11 license.
6 * Copyright (c) 1999 Mike Steed. You are free to use and distribute this software
7 * as long as it is accompanied by it's documentation and this copyright notice.
8 * The software comes with no warranty, etc.
9 */
10 #ifndef STATUS_VIEW_H
11 #define STATUS_VIEW_H
13 #include <Button.h>
14 #include <View.h>
15 #include <StringView.h>
16 #include <Rect.h>
19 struct FileInfo;
21 class StatusView: public BView {
22 public:
23 StatusView();
24 virtual ~StatusView();
26 void ShowInfo(const FileInfo* info);
27 void EnableRescan();
28 void EnableCancel();
30 private:
31 BStringView* fPathView;
32 BStringView* fSizeView;
33 BStringView* fCountView;
34 const FileInfo* fCurrentFileInfo;
36 BButton* fRefreshBtn;
40 #endif // STATUS_VIEW_H