move the storage directory outside the actual plugin code folder

This commit is contained in:
Ian Chua committed 2026-07-24 18:57:46 +08:00
1 parent 9513300835
commit 2e246341d1
5 files changed
+39 -30

No files matched your search

+4
View File
@@ -138,6 +138,10 @@ public:
bool try_get_plugin_descriptor_for_capability(const std::string& capability_name,
PluginCapabilityType type,
PluginDescriptor& out) const;
// Per-plugin storage directory under orca_plugins/plugin_data, created if missing. Throws
// std::runtime_error if the plugin is unregistered, the key is invalid, or (cloud plugins)
// no user is logged in yet.
std::string get_storage_dir(const std::string& plugin_key) const;
std::vector<std::shared_ptr<PluginCapabilityInterface>> get_plugin_capabilities(
const std::string& plugin_key = "", // "" => all plugins