Loading...
Searching...
No Matches
IGUIFileOpenDialog.h
Go to the documentation of this file.
// Copyright (C) 2002-2012 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#ifndef __I_GUI_FILE_OPEN_DIALOG_H_INCLUDED__
#define __I_GUI_FILE_OPEN_DIALOG_H_INCLUDED__
#include "IGUIElement.h"
#include "path.h"
namespace irr
{
namespace gui
{
class IGUIFileOpenDialog : public IGUIElement
{
public:
IGUIFileOpenDialog(IGUIEnvironment* environment, IGUIElement* parent, s32 id, core::rect<s32> rectangle)
: IGUIElement(EGUIET_FILE_OPEN_DIALOG, environment, parent, id, rectangle) {}
virtual const wchar_t* getFileName() const = 0;
virtual const io::path& getDirectoryName() = 0;
};
} // end namespace gui
} // end namespace irr
#endif
IGUIElement.h
irr::core::rect
Rectangle template.
Definition rect.h:27
irr::gui::IGUIElement::IGUIElement
IGUIElement(EGUI_ELEMENT_TYPE type, IGUIEnvironment *environment, IGUIElement *parent, s32 id, const core::rect< s32 > &rectangle)
Constructor.
Definition IGUIElement.h:30
irr::gui::IGUIEnvironment
GUI Environment. Used as factory and manager of all other GUI elements.
Definition IGUIEnvironment.h:71
irr::gui::IGUIFileOpenDialog::getFileName
virtual const wchar_t * getFileName() const =0
Returns the filename of the selected file. Returns NULL, if no file was selected.
irr::gui::IGUIFileOpenDialog::getDirectoryName
virtual const io::path & getDirectoryName()=0
Returns the directory of the selected file. Returns NULL, if no directory was selected.
irr::gui::IGUIFileOpenDialog::IGUIFileOpenDialog
IGUIFileOpenDialog(IGUIEnvironment *environment, IGUIElement *parent, s32 id, core::rect< s32 > rectangle)
constructor
Definition IGUIFileOpenDialog.h:29
irr::gui
The gui namespace contains useful classes for easy creation of a graphical user interface.
Definition EGUIAlignment.h:11
irr::gui::EGUIET_FILE_OPEN_DIALOG
@ EGUIET_FILE_OPEN_DIALOG
A file open dialog (IGUIFileOpenDialog).
Definition EGUIElementTypes.h:38
irr::io::path
core::string< fschar_t > path
Type used for all file system related strings.
Definition path.h:17
irr
Everything in the Irrlicht Engine can be found in this namespace.
Definition aabbox3d.h:13
irr::s32
signed int s32
32 bit signed variable.
Definition irrTypes.h:66
path.h
- Irrlicht Engine Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on for Irrlicht 3D Engine by Doxygen 1.15.0