5#ifndef DCPP_I_GUI_FILE_OPEN_DIALOG_HPP_INCLUDED
6#define DCPP_I_GUI_FILE_OPEN_DIALOG_HPP_INCLUDED
8#include <duckcpp/core/engine/IGUIElement.hpp>
9#include <duckcpp/core/engine/path.hpp>
Base class of all GUI elements.
Definition IGUIElement.hpp:24
GUI Environment. Used as factory and manager of all other GUI elements.
Definition IGUIEnvironment.hpp:73
Standard file chooser dialog.
Definition IGUIFileOpenDialog.hpp:25
virtual const wchar_t * getFileName() const =0
Returns the filename of the selected file converted to wide characters. Returns NULL if no file was s...
virtual const wchar_t * getDirectoryNameW() const =0
Returns the directory of the selected file converted to wide characters. Returns NULL if no directory...
virtual const dcpp::io::path & getDirectoryName() const =0
Returns the directory of the selected file. Empty if no directory was selected.
IGUIFileOpenDialog(IGUIEnvironment *environment, IGUIElement *parent, dcpp::int32_kt id, dcpp::nub::recti rectangle)
constructor
Definition IGUIFileOpenDialog.hpp:29
virtual const dcpp::io::path & getFileNameP() const =0
Returns the filename of the selected file. Is empty if no file was selected.
Rectangle template.
Definition rect.hpp:27
@ EGUIET_FILE_OPEN_DIALOG
A file open dialog (IGUIFileOpenDialog)
Definition EGUIElementTypes.hpp:38
As of Duckcpp 1.6, position2d is a synonym for vector2d.
Definition shared_device.hpp:34
signed int int32_kt
32 bit signed variable.
Definition irrTypes.hpp:72