19#ifndef INCLUDED_TOOLS_CONFIG_HXX
20#define INCLUDED_TOOLS_CONFIG_HXX
23#include <rtl/ustring.hxx>
34 std::unique_ptr<ImplConfigData>
mpData;
42 Config(
const OUString& rFileName );
45 void SetGroup(
const OString& rGroup);
46 const OString&
GetGroup()
const {
return maGroupName; }
47 void DeleteGroup(std::string_view rGroup);
48 OString GetGroupName(sal_uInt16 nGroup)
const;
49 sal_uInt16 GetGroupCount()
const;
50 bool HasGroup(std::string_view rGroup)
const;
52 OString ReadKey(
const OString& rKey)
const;
53 OString ReadKey(
const OString& rKey,
const OString& rDefault)
const;
54 void WriteKey(
const OString& rKey,
const OString& rValue);
55 void DeleteKey(std::string_view rKey);
56 OString GetKeyName(sal_uInt16 nKey)
const;
57 OString ReadKey(sal_uInt16 nKey)
const;
58 sal_uInt16 GetKeyCount()
const;
const OString & GetGroup() const
Config(const Config &rConfig)=delete
sal_uInt32 mnDataUpdateId
std::unique_ptr< ImplConfigData > mpData
ImplGroupData * mpActGroup