Merge pull request #3823 from ntrel/msg-tree-search
[geany-mirror.git] / src / win32.h
blob5e726b965733e6666968af1470c074e2f31060b7
1 /*
2 * win32.h - this file is part of Geany, a fast and lightweight IDE
4 * Copyright 2005 The Geany contributors
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 #ifndef GEANY_WIN32_H
22 #define GEANY_WIN32_H 1
24 #include "document.h"
26 #include "gtkcompat.h"
29 #ifdef G_OS_WIN32
31 G_BEGIN_DECLS
33 void win32_open_browser(const gchar *uri);
36 gint win32_check_write_permission(const gchar *dir);
38 void win32_init_debug_code(void);
40 void win32_set_working_directory(const gchar *dir);
42 gchar *win32_get_shortcut_target(const gchar *file_name);
44 gchar *win32_get_installation_dir(void);
46 gchar *win32_expand_environment_variables(const gchar *str);
48 gchar *win32_get_user_config_dir(void);
50 G_END_DECLS
52 #endif /* G_OS_WIN32 */
54 #endif /* GEANY_WIN32_H */