The JUCE cross-platform C++ framework, with DISTRHO/KXStudio specific changes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

73 lines
1.7KB

  1. /*
  2. ==============================================================================
  3. This file was auto-generated by the Introjucer!
  4. It contains the basic startup code for a Juce application.
  5. ==============================================================================
  6. */
  7. APPHEADERS
  8. //==============================================================================
  9. class APPCLASSNAME : public JUCEApplication
  10. {
  11. public:
  12. //==============================================================================
  13. APPCLASSNAME()MEMBERINITIALISERS
  14. {
  15. }
  16. ~APPCLASSNAME()
  17. {
  18. }
  19. //==============================================================================
  20. void initialise (const String& commandLine)
  21. {
  22. // Add your application's initialisation code here..
  23. APPINITCODE
  24. }
  25. void shutdown()
  26. {
  27. // Add your application's shutdown code here..
  28. APPSHUTDOWNCODE
  29. }
  30. //==============================================================================
  31. void systemRequestedQuit()
  32. {
  33. quit();
  34. }
  35. const String getApplicationName()
  36. {
  37. return "APPNAME";
  38. }
  39. const String getApplicationVersion()
  40. {
  41. return ProjectInfo::versionString;
  42. }
  43. bool moreThanOneInstanceAllowed()
  44. {
  45. return ALLOWMORETHANONEINSTANCE;
  46. }
  47. void anotherInstanceStarted (const String& commandLine)
  48. {
  49. ANOTHERINSTANCECODE
  50. }
  51. private:
  52. PRIVATEMEMBERS
  53. };
  54. //==============================================================================
  55. // This macro generates the main() routine that starts the app.
  56. START_JUCE_APPLICATION (APPCLASSNAME)