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.

29 lines
1012B

  1. #include "../BlockFinder.h"
  2. // A simple JUCE app containing our BlockFinder. This is a quick way of
  3. // setting up an event loop so we can receive Block topology change events.
  4. class MyJUCEApp : public juce::JUCEApplicationBase
  5. {
  6. public:
  7. MyJUCEApp() {}
  8. ~MyJUCEApp() {}
  9. void initialise (const juce::String&) override {}
  10. void shutdown() override {}
  11. const juce::String getApplicationName() override { return "BlockFinder"; }
  12. const juce::String getApplicationVersion() override { return "1.0.0"; }
  13. bool moreThanOneInstanceAllowed() override { return true; }
  14. void anotherInstanceStarted (const juce::String&) override {}
  15. void suspended() override {}
  16. void resumed() override {}
  17. void systemRequestedQuit() override {}
  18. void unhandledException(const std::exception*, const juce::String&,
  19. int lineNumber) override {}
  20. private:
  21. // Our BLOCKS class.
  22. BlockFinder finder;
  23. };
  24. START_JUCE_APPLICATION (MyJUCEApp)