VSTGUI 4.5 Graphical User Interface Framework not only for VST plugins

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
DelegateAdapter Class Reference
Standalone Library

Application delegate adapter More...

Inheritance diagram for DelegateAdapter:

## Public Member Functions
| DelegateAdapter (Info &&info)
void | finishLaunching () override
| Called when the application has finished launching. More...
void | onQuit () override
| Called when the application is terminating. More...
bool | canQuit () override
| Called to check if it is currently possible to quit. More...
void | showAboutDialog () override
| The delegate should show the about dialog. More...
bool | hasAboutDialog () override
| Is there an about dialog ? More...
void | showPreferenceDialog () override
| The delegate should show the preference dialog. More...
bool | hasPreferenceDialog () override
| Is there a preference dialog ? More...
const Info & | getInfo () const override
| Get the application info. More...
UTF8StringPtr | getSharedUIResourceFilename () const override
| Get the filename of the shared UI resources. More...
bool | openFiles (const std::vector< UTF8String > &paths) override
| Called when the system wants the app to open files. More...
Public Member Functions inherited from Interface
virtual | ~Interface () noexcept
| Interface ()=default
| Interface (const Interface &)=delete
| Interface (Interface &&)=delete
Interface & | operator= (const Interface &)=delete
Interface & | operator= (Interface &&)=delete
template<typename T >
const auto | dynamicCast () const
template<typename T >
auto | dynamicCast ()

## Detailed Description

Application delegate adapter

## Constructor & Destructor Documentation

DelegateAdapter | ( | Info && | info | ) |
| inline

## Member Function Documentation

bool canQuit | ( |  | ) |
| inline override virtual

Called to check if it is currently possible to quit.

Implements IDelegate.

void finishLaunching | ( |  | ) |
| inline override virtual

Called when the application has finished launching.

Implements IDelegate.

const Info& getInfo | ( |  | ) | const
| inline override virtual

Get the application info.

Implements IDelegate.

UTF8StringPtr getSharedUIResourceFilename | ( |  | ) | const
| inline override virtual

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 | ( |  | ) |
| inline override virtual

Is there an about dialog ?

Implements IDelegate.

bool hasPreferenceDialog | ( |  | ) |
| inline override virtual

Is there a preference dialog ?

Implements IDelegate.

void onQuit | ( |  | ) |
| inline override virtual

Called when the application is terminating.

Implements IDelegate.

bool openFiles | ( | const std::vector< UTF8String > & | paths | ) |
| inline override virtual

Called when the system wants the app to open files.

Parameters

  paths | UTF-8 encoded paths to the files

Returns
  true on success

Implements IDelegate.

void showAboutDialog | ( |  | ) |
| inline override virtual

The delegate should show the about dialog.

Implements IDelegate.

void showPreferenceDialog | ( |  | ) |
| inline override virtual

The delegate should show the preference dialog.

Implements IDelegate.

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

- appdelegate.h