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