VSTGUI  4.10
Graphical User Interface Framework not only for VST plugins
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
DelegateAdapter Class Reference

Application delegate adapter More...

+ Inheritance diagram for DelegateAdapter:

Public Member Functions

 DelegateAdapter (Info &&info)
 
void finishLaunching () override
 Called when the application has finished launching.
 
void onQuit () override
 Called when the application is terminating.
 
bool canQuit () override
 Called to check if it is currently possible to quit.
 
void showAboutDialog () override
 The delegate should show the about dialog.
 
bool hasAboutDialog () override
 Is there an about dialog ?
 
void showPreferenceDialog () override
 The delegate should show the preference dialog.
 
bool hasPreferenceDialog () override
 Is there a preference dialog ?
 
const InfogetInfo () const override
 Get the application info.
 
UTF8StringPtr getSharedUIResourceFilename () const override
 Get the filename of the shared UI resources.
 
bool openFiles (const std::vector< UTF8String > &paths) override
 Called when the system wants the app to open files.
 

Detailed Description

Application delegate adapter

Constructor & Destructor Documentation

DelegateAdapter ( Info &&  info)
inline

Member Function Documentation

bool canQuit ( )
inlineoverridevirtual

Called to check if it is currently possible to quit.

Implements IDelegate.

void finishLaunching ( )
inlineoverridevirtual

Called when the application has finished launching.

Implements IDelegate.

const Info& getInfo ( ) const
inlineoverridevirtual

Get the application info.

Implements IDelegate.

UTF8StringPtr getSharedUIResourceFilename ( ) const
inlineoverridevirtual

Get the filename of the shared UI resources.

If this returns a name than all the UI resources are shared between different uidesc files. If this returns a nullptr, every uidesc file has its own resources.

Implements IDelegate.

bool hasAboutDialog ( )
inlineoverridevirtual

Is there an about dialog ?

Implements IDelegate.

bool hasPreferenceDialog ( )
inlineoverridevirtual

Is there a preference dialog ?

Implements IDelegate.

void onQuit ( )
inlineoverridevirtual

Called when the application is terminating.

Implements IDelegate.

bool openFiles ( const std::vector< UTF8String > &  paths)
inlineoverridevirtual

Called when the system wants the app to open files.

Parameters
pathsUTF-8 encoded paths to the files
Returns
true on success

Implements IDelegate.

void showAboutDialog ( )
inlineoverridevirtual

The delegate should show the about dialog.

Implements IDelegate.

void showPreferenceDialog ( )
inlineoverridevirtual

The delegate should show the preference dialog.

Implements IDelegate.


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