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.

asset.hpp 437B

123456789101112131415161718192021
  1. #pragma once
  2. #include <string>
  3. #include "plugin.hpp"
  4. namespace rack {
  5. /** Returns the path of a global resource. Read-only
  6. */
  7. std::string assetGlobal(std::string filename);
  8. /** Returns the path of a local resource. Read/write
  9. */
  10. std::string assetLocal(std::string filename);
  11. /** Returns the path of a resource in the plugin's folder. Read-only
  12. */
  13. std::string assetPlugin(Plugin *plugin, std::string filename);
  14. } // namespace rack