IrrlichtEngine
IGUIFileOpenDialog.h
Go to the documentation of this file.
00001 // Copyright (C) 2002-2011 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 
00018         class IGUIFileOpenDialog : public IGUIElement
00019         {
00020         public:
00021 
00023                 IGUIFileOpenDialog(IGUIEnvironment* environment, IGUIElement* parent, s32 id, core::rect<s32> rectangle)
00024                         : IGUIElement(EGUIET_FILE_OPEN_DIALOG, environment, parent, id, rectangle) {}
00025 
00027                 virtual const wchar_t* getFileName() const = 0;
00028 
00030                 virtual const io::path& getDirectoryName() = 0;
00031         };
00032 
00033 
00034 } // end namespace gui
00035 } // end namespace irr
00036 
00037 #endif
00038