diff options
Diffstat (limited to 'hyprpm/src/core/DataState.hpp')
| -rw-r--r-- | hyprpm/src/core/DataState.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hyprpm/src/core/DataState.hpp b/hyprpm/src/core/DataState.hpp index dfab535a..d9872b90 100644 --- a/hyprpm/src/core/DataState.hpp +++ b/hyprpm/src/core/DataState.hpp @@ -15,11 +15,11 @@ namespace DataState { std::vector<std::filesystem::path> getPluginStates(); void ensureStateStoreExists(); void addNewPluginRepo(const SPluginRepository& repo); - void removePluginRepo(const std::string& urlOrName); - bool pluginRepoExists(const std::string& urlOrName); + void removePluginRepo(const SPluginRepoIdentifier identifier); + bool pluginRepoExists(const SPluginRepoIdentifier identifier); void updateGlobalState(const SGlobalState& state); void purgeAllCache(); SGlobalState getGlobalState(); - bool setPluginEnabled(const std::string& name, bool enabled); + bool setPluginEnabled(const SPluginRepoIdentifier identifier, bool enabled); std::vector<SPluginRepository> getAllRepositories(); -};
\ No newline at end of file +}; |
