VSTGUI 4.10 Graphical User Interface Framework not only for VST plugins

Loading...
Searching...
No Matches
Public Member Functions | List of all members
DelegateAdapter Class Reference
Standalone Library

Application delegate adapter More...

`#include <appdelegate.h>`

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 Info & | getInfo () 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.
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()

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

## Member Function Documentation

## ◆ canQuit()

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

Called to check if it is currently possible to quit.

Implements IDelegate.

## ◆ finishLaunching()

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

Called when the application has finished launching.

Implements IDelegate.

## ◆ getInfo()

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

Get the application info.

Implements IDelegate.

## ◆ getSharedUIResourceFilename()

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.

## ◆ hasAboutDialog()

bool hasAboutDialog | ( |  | ) |
| inline override virtual

Is there an about dialog ?

Implements IDelegate.

## ◆ hasPreferenceDialog()

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

Is there a preference dialog ?

Implements IDelegate.

## ◆ onQuit()

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

Called when the application is terminating.

Implements IDelegate.

## ◆ openFiles()

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.

## ◆ showAboutDialog()

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

The delegate should show the about dialog.

Implements IDelegate.

## ◆ showPreferenceDialog()

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