ASPiK SDK
|
#include <iappdelegate.h>
Public Member Functions | |
virtual void | finishLaunching ()=0 |
virtual void | onQuit ()=0 |
virtual bool | canQuit ()=0 |
virtual void | showAboutDialog ()=0 |
virtual bool | hasAboutDialog ()=0 |
virtual void | showPreferenceDialog ()=0 |
virtual bool | hasPreferenceDialog ()=0 |
virtual const Info & | getInfo () const =0 |
virtual UTF8StringPtr | getSharedUIResourceFilename () const =0 |
virtual bool | openFiles (const std::vector< UTF8String > &paths)=0 |
![]() | |
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 () |
Application delegate interface.
Every VSTGUI application needs a delegate. It's a global instance which handles custom application behaviour.
You define it via Application::Init (std::make_unique<YourDelegateClassType> ())
|
pure virtual |
Called to check if it is currently possible to quit.
Implemented in VSTGUI::Standalone::Application::DelegateAdapter.
|
pure virtual |
Called when the application has finished launching.
Implemented in VSTGUI::Standalone::UIDescriptionEditorApp, MyApp::Delegate, VSTGUI::Standalone::GFXTestApp, Mandelbrot::AppDelegate, VSTGUI::Standalone::Application::DelegateAdapter, and MyApplication.
|
pure virtual |
Get the application info.
Implemented in VSTGUI::Standalone::Application::DelegateAdapter.
|
pure 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.
Implemented in MyApp::Delegate, and VSTGUI::Standalone::Application::DelegateAdapter.
|
pure virtual |
Is there an about dialog ?
Implemented in MyApp::Delegate, and VSTGUI::Standalone::Application::DelegateAdapter.
|
pure virtual |
Is there a preference dialog ?
Implemented in VSTGUI::Standalone::Application::DelegateAdapter.
|
pure virtual |
Called when the application is terminating.
Implemented in VSTGUI::Standalone::Application::DelegateAdapter.
|
pure virtual |
Called when the system wants the app to open files
paths | UTF-8 encoded paths to the files |
Implemented in VSTGUI::Standalone::Application::DelegateAdapter.
|
pure virtual |
The delegate should show the about dialog.
Implemented in MyApp::Delegate, and VSTGUI::Standalone::Application::DelegateAdapter.
|
pure virtual |
The delegate should show the preference dialog.
Implemented in VSTGUI::Standalone::Application::DelegateAdapter.