mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-31 03:00:05 +00:00
Introjucer: improved the new project wizard code.
This commit is contained in:
parent
29e5dd20e2
commit
d9d5a6ae51
15 changed files with 518 additions and 334 deletions
|
|
@ -1,72 +0,0 @@
|
|||
/*
|
||||
==============================================================================
|
||||
|
||||
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)
|
||||
{
|
||||
// Add your application's initialisation code here..
|
||||
APPINITCODE
|
||||
}
|
||||
|
||||
void shutdown()
|
||||
{
|
||||
// Add 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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue