1 /* 2 * Copyright (c) 2008 Stephan Aßmus <superstippi@gmx.de>. All rights reserved. 3 * Distributed under the terms of the MIT/X11 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 #ifndef STATUS_VIEW_H 10 #define STATUS_VIEW_H 11 12 13 #include <View.h> 14 #include <StringView.h> 15 #include <Rect.h> 16 17 18 struct FileInfo; 19 20 class StatusView: public BView { 21 public: 22 StatusView(BRect frame); 23 virtual ~StatusView(); 24 25 void Show(const FileInfo* info); 26 27 private: 28 BStringView* fPathView; 29 BStringView* fSizeView; 30 BStringView* fCountView; 31 const FileInfo* fCurrentFileInfo; 32 }; 33 34 35 #endif // STATUS_VIEW_H 36