2017-09-29 21:39:55 +01:00
|
|
|
#pragma once
|
|
|
|
|
2019-11-23 18:17:44 +00:00
|
|
|
#include "linux/windows/wincompat.h"
|
2017-09-29 21:39:55 +01:00
|
|
|
#include <boost/property_tree/ptree.hpp>
|
2019-11-23 18:17:44 +00:00
|
|
|
#include <string>
|
2017-06-08 21:58:26 +01:00
|
|
|
|
|
|
|
void InitializeRegistry(const std::string & filename);
|
2017-09-29 21:39:55 +01:00
|
|
|
|
|
|
|
const boost::property_tree::ptree & getProperties();
|
|
|
|
|
2017-10-10 14:26:40 +01:00
|
|
|
BOOL RegLoadString (LPCTSTR section, LPCTSTR key, BOOL peruser, LPTSTR buffer, DWORD chars);
|
|
|
|
BOOL RegLoadValue (LPCTSTR section, LPCTSTR key, BOOL peruser, DWORD *value);
|
|
|
|
BOOL RegLoadValue (LPCTSTR section, LPCTSTR key, BOOL peruser, BOOL *value);
|
2019-09-21 09:58:29 +01:00
|
|
|
void RegSaveString (LPCTSTR section, LPCTSTR key, BOOL peruser, const std::string & buffer);
|
2017-09-29 21:39:55 +01:00
|
|
|
void RegSaveValue (LPCTSTR section, LPCTSTR key, BOOL peruser, DWORD value);
|