| DISTRHO Plugin Framework
    | 
#include <Application.hpp>
 
  
 | Public Member Functions | |
| Application () | |
| ~Application () | |
| void | idle () | 
| void | exec () | 
| void | quit () | 
| bool | isQuiting () const noexcept | 
| Friends | |
| class | Window | 
Base DGL Application class.
One application instance is required for creating a window. There's no single/global application instance in DGL, and multiple windows can share the same app instance.
In standalone mode an application will automatically quit its event-loop when all its windows are closed.
| Application::Application | ( | ) | 
Constructor.
| Application::~Application | ( | ) | 
Destructor.
| void Application::idle | ( | ) | 
Idle function. This runs the application event-loop once.
| void Application::exec | ( | ) | 
Run the application event-loop until all Windows are closed. idle() is called at regular intervals.
| void Application::quit | ( | ) | 
Quit the application. This stops the event-loop and closes all Windows.
| 
 | noexcept | 
Check if the application is about to quit. Returning true means there's no event-loop running at the moment (or it's just about to stop).
 1.8.9.1
 1.8.9.1