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.

74 lines
1.8KB

  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. // Do your application's initialisation code here..
  23. APPINITCODE
  24. }
  25. void shutdown()
  26. {
  27. // Do your application's shutdown code here..
  28. APPSHUTDOWNCODE
  29. }
  30. //==============================================================================
  31. void systemRequestedQuit()
  32. {
  33. quit();
  34. }
  35. //==============================================================================
  36. const String getApplicationName()
  37. {
  38. return "APPNAME";
  39. }
  40. const String getApplicationVersion()
  41. {
  42. return ProjectInfo::versionString;
  43. }
  44. bool moreThanOneInstanceAllowed()
  45. {
  46. return ALLOWMORETHANONEINSTANCE;
  47. }
  48. void anotherInstanceStarted (const String& commandLine)
  49. {
  50. ANOTHERINSTANCECODE
  51. }
  52. private:
  53. PRIVATEMEMBERS
  54. };
  55. //==============================================================================
  56. // This macro generates the main() routine that starts the app.
  57. START_JUCE_APPLICATION(APPCLASSNAME)