diff --git a/openCherry/Bundles/org.opencherry.core.runtime/src/cherryIPreferencesService.h b/openCherry/Bundles/org.opencherry.core.runtime/src/cherryIPreferencesService.h index d406c4ad90..5664544bc1 100644 --- a/openCherry/Bundles/org.opencherry.core.runtime/src/cherryIPreferencesService.h +++ b/openCherry/Bundles/org.opencherry.core.runtime/src/cherryIPreferencesService.h @@ -1,61 +1,61 @@ #ifndef CHERRYIPREFERENCESSERVICE_H_ #define CHERRYIPREFERENCESSERVICE_H_ #include "cherryRuntimeDll.h" -#include "cherryService.h" +#include #include "cherryIPreferences.h" #include #include namespace cherry { /** * The Preferences Service. * *

* Each bundle using this service has its own set of preference trees: one for * system preferences, and one for each user. * *

* A PreferencesService object is specific to the bundle which * obtained it from the service registry. If a bundle wishes to allow another * bundle to access its preferences, it should pass its * PreferencesService object to that bundle. * */ struct CHERRY_RUNTIME IPreferencesService : public Service { /// /// A unique ID for the Service. /// static const std::string ID; cherryInterfaceMacro(IPreferencesService, cherry) /** * Returns the root system node for the calling bundle. * * @return The root system node for the calling bundle. */ virtual IPreferences::Pointer GetSystemPreferences() = 0; /** * Returns the root node for the specified user and the calling bundle. * * @param name The user for which to return the preference root node. * @return The root node for the specified user and the calling bundle. */ virtual IPreferences::Pointer GetUserPreferences(std::string name) = 0; /** * Returns the names of users for which node trees exist. * * @return The names of users for which node trees exist. */ virtual std::vector GetUsers() const = 0; }; } // namespace cherry #endif /*CHERRYIPREFERENCESSERVICE_H_*/