1 /* 2 * Copyright (c) 2005-2010, Haiku, Inc. 3 * Distributed under the terms of the MIT license. 4 * 5 * Author: 6 * DarkWyrm <darkwyrm@gmail.com> 7 */ 8 #ifndef RESWIN_H 9 #define RESWIN_H 10 11 #include <Window.h> 12 13 struct entry_ref; 14 class ResView; 15 16 class ResWindow : public BWindow { 17 public: 18 ResWindow(const BRect& rect, 19 const entry_ref* ref = NULL); 20 virtual ~ResWindow(); 21 22 virtual bool QuitRequested(); 23 private: 24 ResView *fView; 25 }; 26 27 #endif // RESWIN_H 28