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 INFO_WINDOW_H 10 #define INFO_WINDOW_H 11 12 #include <Window.h> 13 14 15 struct FileInfo; 16 17 class LeftView: public BView { 18 public: 19 LeftView(BRect frame, BBitmap* icon); 20 virtual ~LeftView(); 21 22 virtual void Draw(BRect updateRect); 23 24 private: 25 BBitmap* fIcon; 26 }; 27 28 29 class InfoWin: public BWindow { 30 public: 31 InfoWin(BPoint location, FileInfo* info, 32 BWindow* parent); 33 virtual ~InfoWin(); 34 }; 35 36 #endif // INFO_WINDOW_H 37 38