geany  1.38
About: Geany is a text editor (using GTK2) with basic features of an integrated development environment (syntax highlighting, code folding, symbol name auto-completion, ...). F: office T: editor programming GTK+ IDE
  Fossies Dox: geany-1.38.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

win32.h
Go to the documentation of this file.
1/*
2 * win32.h - this file is part of Geany, a fast and lightweight IDE
3 *
4 * Copyright 2005 The Geany contributors
5 *
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.
10 *
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.
15 *
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.
19 */
20
21#ifndef GEANY_WIN32_H
22#define GEANY_WIN32_H 1
23
24#include "document.h"
25
26#include "gtkcompat.h"
27
28
29#ifdef G_OS_WIN32
30
31G_BEGIN_DECLS
32
33void win32_show_pref_file_dialog(GtkEntry *item);
34
35gchar *win32_show_file_dialog(GtkWindow *parent, const gchar *title, const gchar *initial_dir);
36
37gboolean win32_show_document_open_dialog(GtkWindow *parent, const gchar *title, const gchar *initial_dir);
38
39gchar *win32_show_document_save_as_dialog(GtkWindow *parent, const gchar *title,
40 GeanyDocument *doc);
41
42void win32_show_font_dialog(void);
43
44void win32_show_color_dialog(const gchar *colour);
45
46gboolean win32_message_dialog(GtkWidget *parent, GtkMessageType type, const gchar *msg);
47
48void win32_open_browser(const gchar *uri);
49
50gchar *win32_show_project_open_dialog(GtkWidget *parent, const gchar *title,
51 const gchar *initial_dir, gboolean allow_new_file,
52 gboolean project_file_filter);
53
54gchar *win32_show_folder_dialog(GtkWidget *parent, const gchar *title, const gchar *initial_dir);
55
56gint win32_check_write_permission(const gchar *dir);
57
58void win32_init_debug_code(void);
59
60void win32_set_working_directory(const gchar *dir);
61
62gchar *win32_get_shortcut_target(const gchar *file_name);
63
64gchar *win32_get_installation_dir(void);
65
66gchar *win32_expand_environment_variables(const gchar *str);
67
68gchar *win32_get_user_config_dir(void);
69
70G_END_DECLS
71
72#endif /* G_OS_WIN32 */
73
74#endif /* GEANY_WIN32_H */
Document related actions: new, save, open, etc.
Structure for representing an open tab with all its properties.
Definition: document.h:81