2
* libetm-0.4 / win32_specific.h - Copyright (C) Emmanuel Thomas-Maurin 2008-2012
3
* <manutm007@gmail.com>
5
* - win32 specific functions -
7
* This program is free software: you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation, either version 3 of the License, or
10
* (at your option) any later version.
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
17
* You should have received a copy of the GNU General Public License
18
* along with this program. If not, see <http://www.gnu.org/licenses/>.
21
#ifndef INC_LIBETM_WIN32_SPECIFIC_H
22
#define INC_LIBETM_WIN32_SPECIFIC_H
31
/* return NULL if error */
32
const char *get_appdata_dir();
33
const char *get_progfiles_dir();
34
/* key_value must be able to store 255 chars */
35
int get_key_value_from_win32registry(const char *, char *);
36
int save_key_value_into_win32registry(const char *, const char *);
37
/* return NULL if error */
38
const char *get_default_browser_from_win32registry();
39
/* return -1 if error */
40
int get_win32_taskbar_height();
41
/* find up to 15 mac addresses for this computer
42
* return NULL if error */
43
/*const char **find_mac_addresses();*/
45
#endif /* INC_LIBETM_WIN32_SPECIFIC_H */