00001 // Copyright (C) 2002-2012 Nikolaus Gebhardt 00002 // This file is part of the "Irrlicht Engine". 00003 // For conditions of distribution and use, see copyright notice in irrlicht.h 00004 00005 #ifndef __I_GUI_FILE_OPEN_DIALOG_H_INCLUDED__ 00006 #define __I_GUI_FILE_OPEN_DIALOG_H_INCLUDED__ 00007 00008 #include "IGUIElement.h" 00009 #include "path.h" 00010 00011 namespace irr 00012 { 00013 namespace gui 00014 { 00015 00017 00024 class IGUIFileOpenDialog : public IGUIElement 00025 { 00026 public: 00027 00029 IGUIFileOpenDialog(IGUIEnvironment* environment, IGUIElement* parent, s32 id, core::rect<s32> rectangle) 00030 : IGUIElement(EGUIET_FILE_OPEN_DIALOG, environment, parent, id, rectangle) {} 00031 00033 virtual const wchar_t* getFileName() const = 0; 00034 00036 virtual const io::path& getDirectoryName() = 0; 00037 }; 00038 00039 00040 } // end namespace gui 00041 } // end namespace irr 00042 00043 #endif 00044