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.

78 lines
2.1KB

  1. /*
  2. ==============================================================================
  3. This file was auto-generated by the Jucer!
  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. // Don't do anything in this constructor! It will be called before the
  16. // main Juce subsystem has been initialised!
  17. }
  18. ~APPCLASSNAME()
  19. {
  20. // Don't do anything in this destructor! It will be called after the
  21. // main Juce subsystem has been shutdown and is no longer valid!
  22. }
  23. //==============================================================================
  24. void initialise (const String& commandLine)
  25. {
  26. // Do your application's initialisation code here..
  27. APPINITCODE
  28. }
  29. void shutdown()
  30. {
  31. // Do your application's shutdown code here..
  32. APPSHUTDOWNCODE
  33. }
  34. //==============================================================================
  35. void systemRequestedQuit()
  36. {
  37. quit();
  38. }
  39. //==============================================================================
  40. const String getApplicationName()
  41. {
  42. return "APPNAME";
  43. }
  44. const String getApplicationVersion()
  45. {
  46. return ProjectInfo::versionString;
  47. }
  48. bool moreThanOneInstanceAllowed()
  49. {
  50. return ALLOWMORETHANONEINSTANCE;
  51. }
  52. void anotherInstanceStarted (const String& commandLine)
  53. {
  54. ANOTHERINSTANCECODE
  55. }
  56. private:
  57. PRIVATEMEMBERS
  58. };
  59. //==============================================================================
  60. // This macro generates the main() routine that starts the app.
  61. START_JUCE_APPLICATION(APPCLASSNAME)