ASPiK SDK
MyApp::Delegate Class Reference
Inheritance diagram for MyApp::Delegate:
VSTGUI::Standalone::Application::DelegateAdapter VSTGUI::Standalone::ICommandHandler VSTGUI::Standalone::WindowListenerAdapter VSTGUI::Standalone::Application::IDelegate VSTGUI::Interface VSTGUI::Standalone::IWindowListener VSTGUI::Interface VSTGUI::Interface

Public Member Functions

void finishLaunching () override
 
void showAboutDialog () override
 
bool hasAboutDialog () override
 
VSTGUI::UTF8StringPtr getSharedUIResourceFilename () const override
 
bool canHandleCommand (const Command &command) override
 
bool handleCommand (const Command &command) override
 
void onClosed (const IWindow &window) override
 
- Public Member Functions inherited from VSTGUI::Standalone::Application::DelegateAdapter
 DelegateAdapter (Info &&info)
 
void finishLaunching () override
 
void onQuit () override
 
bool canQuit () override
 
void showAboutDialog () override
 
bool hasAboutDialog () override
 
void showPreferenceDialog () override
 
bool hasPreferenceDialog () override
 
const InfogetInfo () const override
 
UTF8StringPtr getSharedUIResourceFilename () const override
 
bool openFiles (const std::vector< UTF8String > &paths) override
 
- Public Member Functions inherited from VSTGUI::Interface
 Interface (const Interface &)=delete
 
 Interface (Interface &&)=delete
 
Interfaceoperator= (const Interface &)=delete
 
Interfaceoperator= (Interface &&)=delete
 
template<typename T >
const auto dynamicCast () const
 
template<typename T >
auto dynamicCast ()
 
- Public Member Functions inherited from VSTGUI::Standalone::WindowListenerAdapter
void onSizeChanged (const IWindow &window, const CPoint &newSize) override
 
void onPositionChanged (const IWindow &window, const CPoint &newPosition) override
 
void onShow (const IWindow &window) override
 
void onHide (const IWindow &window) override
 
void onClosed (const IWindow &window) override
 
void onActivated (const IWindow &window) override
 
void onDeactivated (const IWindow &window) override
 

Member Function Documentation

◆ canHandleCommand()

bool MyApp::Delegate::canHandleCommand ( const Command command)
overridevirtual

Check if command can be handled.

Implements VSTGUI::Standalone::ICommandHandler.

◆ finishLaunching()

void MyApp::Delegate::finishLaunching ( )
overridevirtual

Called when the application has finished launching.

Implements VSTGUI::Standalone::Application::IDelegate.

◆ getSharedUIResourceFilename()

VSTGUI::UTF8StringPtr MyApp::Delegate::getSharedUIResourceFilename ( ) const
overridevirtual

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 VSTGUI::Standalone::Application::IDelegate.

◆ handleCommand()

bool MyApp::Delegate::handleCommand ( const Command command)
overridevirtual

Handle command.

Implements VSTGUI::Standalone::ICommandHandler.

◆ hasAboutDialog()

bool MyApp::Delegate::hasAboutDialog ( )
overridevirtual

Is there an about dialog ?

Implements VSTGUI::Standalone::Application::IDelegate.

◆ onClosed()

void MyApp::Delegate::onClosed ( const IWindow window)
overridevirtual

Window is closed.

Implements VSTGUI::Standalone::IWindowListener.

◆ showAboutDialog()

void MyApp::Delegate::showAboutDialog ( )
overridevirtual

The delegate should show the about dialog.

Implements VSTGUI::Standalone::Application::IDelegate.


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