![]() |
XII Release 0.1.0
|
Indicates that the string property should allow to browse for an file (or programs) outside the project directories. More...
#include <PropertyAttributes.h>
Public Member Functions | |
xiiExternalFileBrowserAttribute (xiiStringView sDialogTitle, xiiStringView sTypeFilter) | |
xiiStringView | GetDialogTitle () const |
xiiStringView | GetTypeFilter () const |
![]() | |
virtual const xiiRTTI * | GetDynamicRTTI () const |
bool | IsInstanceOf (const xiiRTTI *pType) const |
Returns whether the type of this instance is of the given type or derived from it. | |
template<typename T> | |
XII_ALWAYS_INLINE bool | IsInstanceOf () const |
Returns whether the type of this instance is of the given type or derived from it. | |
Additional Inherited Members | |
![]() | |
static const xiiRTTI * | GetStaticRTTI () |
Indicates that the string property should allow to browse for an file (or programs) outside the project directories.
Allows to specify the title for the browse dialog and the allowed file types. Usage: XII_MEMBER_PROPERTY("File", m_sFilePath)->AddAttributes(new xiiFileBrowserAttribute("Choose a File", "*.exe")),