summary refs log tree commit diff stats
path: root/src/gtk2-prefs/win32util.h
blob: 8c194a1959e118b61a1a0e9d69e7d126acbb5e25 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/***************************************************************************
                          win32util.h  -  description
                             -------------------
    begin                : Tue Jan 14 2003
    copyright            : (C) 2003 by Alex Shaduri
    email                : alex_sh@land.ru
 ***************************************************************************/
#ifndef WIN32UTIL_H
#define WIN32UTIL_H

#ifdef _WIN32

#include <string>
#include "sys_win32.h"



std::string win32_get_registry_value_string(HKEY base, const std::string& keydir, const std::string& key);
void win32_set_registry_value_string(HKEY base, const std::string& keydir, const std::string& key, const std::string& value);




#endif //_WIN32

#endif // WIN32UTIL_H
************************************************************** main.cpp - description ------------------- begin : Wed Jan 1 2003 copyright : (C) 2003 - 2005 by Alex Shaduri email : ashaduri '@' gmail.com ***************************************************************************/ #ifndef _MAIN_H_ #define _MAIN_H_ #include <string> std::string& get_orig_theme(); std::string& get_orig_font(); std::string get_current_theme(); std::string get_current_font(); std::string get_selected_theme(); std::string get_selected_font(); void set_theme(const std::string& theme_name, const std::string& font); void apply_theme(const std::string& theme_name, const std::string& font); bool save_current_theme(); void program_shutdown(); #endif