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.

43 lines
1.9KB

  1. /*
  2. ==============================================================================
  3. This file was auto-generated!
  4. It contains the basic framework code for an ARA document controller implementation.
  5. ==============================================================================
  6. */
  7. %%aradocumentcontroller_headers%%
  8. %%araplaybackrenderer_headers%%
  9. //==============================================================================
  10. juce::ARAPlaybackRenderer* %%aradocumentcontroller_class_name%%::doCreatePlaybackRenderer() noexcept
  11. {
  12. return new %%araplaybackrenderer_class_name%% (getDocumentController());
  13. }
  14. //==============================================================================
  15. bool %%aradocumentcontroller_class_name%%::doRestoreObjectsFromStream (juce::ARAInputStream& input, const juce::ARARestoreObjectsFilter* filter) noexcept
  16. {
  17. // You should use this method to read any persistent data associated with
  18. // your ARA model graph stored in an archive using the supplied ARAInputStream.
  19. // Be sure to check the ARARestoreObjectsFilter to determine which objects to restore.
  20. return true;
  21. }
  22. bool %%aradocumentcontroller_class_name%%::doStoreObjectsToStream (juce::ARAOutputStream& output, const juce::ARAStoreObjectsFilter* filter) noexcept
  23. {
  24. // You should use this method to write any persistent data associated with
  25. // your ARA model graph into the an archive using the supplied ARAOutputStream.
  26. // Be sure to check the ARAStoreObjectsFilter to determine which objects to store.
  27. return true;
  28. }
  29. //==============================================================================
  30. // This creates the static ARAFactory instances for the plugin.
  31. const ARA::ARAFactory* JUCE_CALLTYPE createARAFactory()
  32. {
  33. return juce::ARADocumentControllerSpecialisation::createARAFactory<%%aradocumentcontroller_class_name%%>();
  34. }