![]() |
Plasma Engine
2.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 | |
plExternalFileBrowserAttribute (plStringView sDialogTitle, plStringView sTypeFilter) | |
plStringView | GetDialogTitle () const |
plStringView | GetTypeFilter () const |
![]() | |
virtual const plRTTI * | GetDynamicRTTI () const |
bool | IsInstanceOf (const plRTTI *pType) const |
Returns whether the type of this instance is of the given type or derived from it. | |
template<typename T > | |
PL_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 plRTTI * | 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: PL_MEMBER_PROPERTY("File", m_sFilePath)->AddAttributes(new plFileBrowserAttribute("Choose a File", "*.exe")),