The Filepanel IControl interface.
More...
#include "murl_addons_filepanel_i_control.h"
Inherited by Murl::Addons::Filepanel::Osx::Control, and Murl::Addons::Filepanel::Win32::Control.
The Filepanel IControl interface.
◆ Load()
virtual Bool Murl::Addons::Filepanel::IControl::Load |
( |
const String & |
fileExtension = String() | ) |
|
|
pure virtual |
Open a file panel for loading.
- Parameters
-
fileExtension | A string to filter for file extensions. |
- Returns
- true if successful.
◆ Save()
virtual Bool Murl::Addons::Filepanel::IControl::Save |
( |
const String & |
fileExtension = String() | ) |
|
|
pure virtual |
Open a file panel for saving.
- Parameters
-
fileExtension | A string to filter for file extensions. |
- Returns
- true if successful.
◆ IsActive()
virtual Bool Murl::Addons::Filepanel::IControl::IsActive |
( |
| ) |
const |
|
pure virtual |
Check if the file panel is active.
- Returns
- true if the file panel is active.
◆ WasActive()
virtual Bool Murl::Addons::Filepanel::IControl::WasActive |
( |
| ) |
|
|
pure virtual |
Check if the file panel was active in the most recent tick.
- Returns
- true if the file panel was active in the most recent tick.
◆ GetFileName()
virtual const String& Murl::Addons::Filepanel::IControl::GetFileName |
( |
| ) |
const |
|
pure virtual |
Get the selected filename from the last Load() or Save() operation when the file panel is no longer active.
- Returns
- The selected filename or an empty string if cancelled.
The documentation for this interface was generated from the following file:
- murl_addons_filepanel_i_control.h