Coherent UI  2.5.3
A modern user interface library for games
 All Classes Namespaces Functions Variables Enumerations Enumerator Pages
Coherent::UI::FileSelectRequest Class Referenceabstract

File selection request. More...

#include <Coherent/UI/FileSelectRequest.h>

Public Member Functions

virtual FileSelectionParams GetFileSelectionParams () const =0
 Get the file selection params for the current request. More...
 
virtual void Add (const wchar_t *fullPath)=0
 Adds a file to the current request. More...
 
virtual void Finish ()=0
 Complete the request. More...
 

Detailed Description

File selection request.

Member Function Documentation

virtual void Coherent::UI::FileSelectRequest::Add ( const wchar_t *  fullPath)
pure virtual

Adds a file to the current request.

Parameters
fullPathThe full path to the chosen file or directory
virtual void Coherent::UI::FileSelectRequest::Finish ( )
pure virtual

Complete the request.

This method should be called when you are done with adding files to this file selection request.

virtual FileSelectionParams Coherent::UI::FileSelectRequest::GetFileSelectionParams ( ) const
pure virtual

Get the file selection params for the current request.

These are useful for creating the file chooser dialog with accurate params - what mimeTypes are accepted, whether user can choose multiple files or directories, etc.

Returns
the file selection params for this request