mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
73 lines
1.8 KiB
C++
73 lines
1.8 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()MEMBERINITIALISERS
|
|
{
|
|
}
|
|
|
|
~APPCLASSNAME()
|
|
{
|
|
}
|
|
|
|
//==============================================================================
|
|
void initialise (const String& commandLine)
|
|
{
|
|
// Do your application's initialisation code here..
|
|
APPINITCODE
|
|
}
|
|
|
|
void shutdown()
|
|
{
|
|
// Do your application's shutdown code here..
|
|
APPSHUTDOWNCODE
|
|
}
|
|
|
|
//==============================================================================
|
|
void systemRequestedQuit()
|
|
{
|
|
quit();
|
|
}
|
|
|
|
//==============================================================================
|
|
const String getApplicationName()
|
|
{
|
|
return "APPNAME";
|
|
}
|
|
|
|
const String getApplicationVersion()
|
|
{
|
|
return ProjectInfo::versionString;
|
|
}
|
|
|
|
bool moreThanOneInstanceAllowed()
|
|
{
|
|
return ALLOWMORETHANONEINSTANCE;
|
|
}
|
|
|
|
void anotherInstanceStarted (const String& commandLine)
|
|
{
|
|
ANOTHERINSTANCECODE
|
|
}
|
|
|
|
private:
|
|
PRIVATEMEMBERS
|
|
};
|
|
|
|
//==============================================================================
|
|
// This macro generates the main() routine that starts the app.
|
|
START_JUCE_APPLICATION(APPCLASSNAME)
|