7529f5c659
wincompat.h is a stripped down version coming from linapple-pie with the bare minimum common types. Each group of functions in its own file. Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
13 lines
535 B
C++
13 lines
535 B
C++
#ifndef SETTINGS_H
|
|
#define SETTINGS_H
|
|
|
|
#include "linux/windows/wincompat.h"
|
|
#include <string>
|
|
|
|
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);
|
|
void RegSaveString (LPCTSTR section, LPCTSTR key, BOOL peruser, const std::string & buffer);
|
|
void RegSaveValue (LPCTSTR section, LPCTSTR key, BOOL peruser, DWORD value);
|
|
|
|
#endif // SETTINGS_H
|