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.

22 lines
440B

  1. #pragma once
  2. #include <string>
  3. #include "plugin.hpp"
  4. namespace rack {
  5. /** Searches for a global read-only resource and returns its path, or "" if not found
  6. */
  7. std::string assetGlobal(std::string filename);
  8. /** Searches for a local resource
  9. */
  10. std::string assetLocal(std::string filename);
  11. /** Searches for a plugin resource, given a Plugin object
  12. */
  13. std::string assetPlugin(Plugin *plugin, std::string filename);
  14. } // namespace rack