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.

55 lines
1.9KB

  1. /*
  2. ==============================================================================
  3. This file was auto-generated!
  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() {}
  14. const String getApplicationName() override { return ProjectInfo::projectName; }
  15. const String getApplicationVersion() override { return ProjectInfo::versionString; }
  16. bool moreThanOneInstanceAllowed() override { return ALLOWMORETHANONEINSTANCE; }
  17. //==============================================================================
  18. void initialise (const String& commandLine) override
  19. {
  20. // Add your application's initialisation code here..
  21. }
  22. void shutdown() override
  23. {
  24. // Add your application's shutdown code here..
  25. }
  26. //==============================================================================
  27. void systemRequestedQuit() override
  28. {
  29. // This is called when the app is being asked to quit: you can ignore this
  30. // request and let the app carry on running, or call quit() to allow the app to close.
  31. quit();
  32. }
  33. void anotherInstanceStarted (const String& commandLine) override
  34. {
  35. // When another instance of the app is launched while this one is running,
  36. // this method is invoked, and the commandLine parameter tells you what
  37. // the other instance's command-line arguments were.
  38. }
  39. };
  40. //==============================================================================
  41. // This macro generates the main() routine that launches the app.
  42. START_JUCE_APPLICATION (APPCLASSNAME)