mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-11 23:54:18 +00:00
54 lines
1.9 KiB
C++
54 lines
1.9 KiB
C++
/*
|
|
==============================================================================
|
|
|
|
This file was auto-generated by the Introjucer!
|
|
|
|
It contains the basic startup code for a Juce application.
|
|
|
|
==============================================================================
|
|
*/
|
|
|
|
APPHEADERS
|
|
|
|
|
|
//==============================================================================
|
|
class APPCLASSNAME : public JUCEApplication
|
|
{
|
|
public:
|
|
//==============================================================================
|
|
APPCLASSNAME() {}
|
|
|
|
const String getApplicationName() { return ProjectInfo::projectName; }
|
|
const String getApplicationVersion() { return ProjectInfo::versionString; }
|
|
bool moreThanOneInstanceAllowed() { return ALLOWMORETHANONEINSTANCE; }
|
|
|
|
//==============================================================================
|
|
void initialise (const String& commandLine)
|
|
{
|
|
// Add your application's initialisation code here..
|
|
}
|
|
|
|
void shutdown()
|
|
{
|
|
// Add your application's shutdown code here..
|
|
}
|
|
|
|
//==============================================================================
|
|
void systemRequestedQuit()
|
|
{
|
|
// This is called when the app is being asked to quit: you can ignore this
|
|
// request and let the app carry on running, or call quit() to allow the app to close.
|
|
quit();
|
|
}
|
|
|
|
void anotherInstanceStarted (const String& commandLine)
|
|
{
|
|
// When another instance of the app is launched while this one is running,
|
|
// this method is invoked, and the commandLine parameter tells you what
|
|
// the other instance's command-line arguments were.
|
|
}
|
|
};
|
|
|
|
//==============================================================================
|
|
// This macro generates the main() routine that launches the app.
|
|
START_JUCE_APPLICATION (APPCLASSNAME)
|