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.

20 lines
565B

  1. #pragma once
  2. #include <string>
  3. #include "plugin.hpp"
  4. namespace rack {
  5. void assetInit(bool devMode);
  6. /** Returns the path of a global resource. Should only read files from this location. */
  7. std::string assetGlobal(std::string filename);
  8. /** Returns the path of a local resource. Can read and write files to this location. */
  9. std::string assetLocal(std::string filename);
  10. /** Returns the path of a resource in the plugin's folder. Should only read files from this location. */
  11. std::string assetPlugin(Plugin *plugin, std::string filename);
  12. } // namespace rack