9 #include "fwPreferences/config.hpp" 10 #include "fwPreferences/IPreferences.hpp" 12 #include <fwData/Composite.hpp> 14 #include <boost/filesystem.hpp> 21 FWPREFERENCES_API
extern const std::string s_PREFERENCES_KEY;
24 FWPREFERENCES_API std::string getPreference(
const std::string& preferenceKey);
27 FWPREFERENCES_API
bool setPreference(
const std::string& key,
const std::string& value);
30 FWPREFERENCES_API ::boost::filesystem::path getPreferencesFile();
33 FWPREFERENCES_API ::fwData::Composite::sptr getPreferences();
40 FWPREFERENCES_API
void savePreferences();