|
12345678910111213141516171819 |
- #pragma once
-
- #include <string>
- #include "plugin.hpp"
-
-
- namespace rack {
-
-
- void assetInit(bool devMode);
- /** Returns the path of a global resource. Should only read files from this location. */
- std::string assetGlobal(std::string filename);
- /** Returns the path of a local resource. Can read and write files to this location. */
- std::string assetLocal(std::string filename);
- /** Returns the path of a resource in the plugin's folder. Should only read files from this location. */
- std::string assetPlugin(Plugin *plugin, std::string filename);
-
-
- } // namespace rack
|