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.

19 lines
535B

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