Plasma Engine  2.0
Loading...
Searching...
No Matches
plExternalFileBrowserAttribute Class Reference

Indicates that the string property should allow to browse for an file (or programs) outside the project directories. More...

#include <PropertyAttributes.h>

Inheritance diagram for plExternalFileBrowserAttribute:

Public Member Functions

 plExternalFileBrowserAttribute (plStringView sDialogTitle, plStringView sTypeFilter)
 
plStringView GetDialogTitle () const
 
plStringView GetTypeFilter () const
 
- Public Member Functions inherited from plReflectedClass
virtual const plRTTIGetDynamicRTTI () 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 Public Member Functions inherited from plNoBase
static const plRTTIGetStaticRTTI ()
 

Detailed Description

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")),


The documentation for this class was generated from the following file: