Try to fix Gtk warning when using Tools->Reload Configuration.
[geany-mirror.git] / plugins / geanyfunctions.h
blobb9e4487179b5b3547df3b967900122bfe36c67ea
1 /* This file is generated automatically by genapi.py - do not edit. */
3 /** @file geanyfunctions.h @ref geany_functions wrappers.
4 * This allows the use of normal API function names in plugins by defining macros.
6 * E.g.:@code
7 * #define plugin_add_toolbar_item \
8 * geany_functions->p_plugin->add_toolbar_item @endcode
10 * You need to declare the @ref geany_functions symbol yourself.
12 * Note: This must be included after all other API headers to prevent conflicts with
13 * other header's function prototypes - this is done for you when using geanyplugin.h.
16 #ifndef GEANY_FUNCTIONS_H
17 #define GEANY_FUNCTIONS_H
19 #define plugin_add_toolbar_item \
20 geany_functions->p_plugin->add_toolbar_item
21 #define plugin_module_make_resident \
22 geany_functions->p_plugin->module_make_resident
23 #define plugin_signal_connect \
24 geany_functions->p_plugin->signal_connect
25 #define plugin_set_key_group \
26 geany_functions->p_plugin->set_key_group
27 #define plugin_show_configure \
28 geany_functions->p_plugin->show_configure
29 #define document_new_file \
30 geany_functions->p_document->new_file
31 #define document_get_current \
32 geany_functions->p_document->get_current
33 #define document_get_from_page \
34 geany_functions->p_document->get_from_page
35 #define document_find_by_filename \
36 geany_functions->p_document->find_by_filename
37 #define document_find_by_real_path \
38 geany_functions->p_document->find_by_real_path
39 #define document_save_file \
40 geany_functions->p_document->save_file
41 #define document_open_file \
42 geany_functions->p_document->open_file
43 #define document_open_files \
44 geany_functions->p_document->open_files
45 #define document_remove_page \
46 geany_functions->p_document->remove_page
47 #define document_reload_file \
48 geany_functions->p_document->reload_file
49 #define document_set_encoding \
50 geany_functions->p_document->set_encoding
51 #define document_set_text_changed \
52 geany_functions->p_document->set_text_changed
53 #define document_set_filetype \
54 geany_functions->p_document->set_filetype
55 #define document_close \
56 geany_functions->p_document->close
57 #define document_index \
58 geany_functions->p_document->index
59 #define document_save_file_as \
60 geany_functions->p_document->save_file_as
61 #define document_rename_file \
62 geany_functions->p_document->rename_file
63 #define document_get_status_color \
64 geany_functions->p_document->get_status_color
65 #define document_get_basename_for_display \
66 geany_functions->p_document->get_basename_for_display
67 #define document_get_notebook_page \
68 geany_functions->p_document->get_notebook_page
69 #define editor_get_indent_prefs \
70 geany_functions->p_editor->get_indent_prefs
71 #define editor_create_widget \
72 geany_functions->p_editor->create_widget
73 #define editor_indicator_set_on_range \
74 geany_functions->p_editor->indicator_set_on_range
75 #define editor_indicator_set_on_line \
76 geany_functions->p_editor->indicator_set_on_line
77 #define editor_indicator_clear \
78 geany_functions->p_editor->indicator_clear
79 #define editor_set_indent_type \
80 geany_functions->p_editor->set_indent_type
81 #define editor_get_word_at_pos \
82 geany_functions->p_editor->get_word_at_pos
83 #define scintilla_send_message \
84 geany_functions->p_scintilla->send_message
85 #define scintilla_new \
86 geany_functions->p_scintilla->new
87 #define sci_send_command \
88 geany_functions->p_sci->send_command
89 #define sci_start_undo_action \
90 geany_functions->p_sci->start_undo_action
91 #define sci_end_undo_action \
92 geany_functions->p_sci->end_undo_action
93 #define sci_set_text \
94 geany_functions->p_sci->set_text
95 #define sci_insert_text \
96 geany_functions->p_sci->insert_text
97 #define sci_get_text \
98 geany_functions->p_sci->get_text
99 #define sci_get_length \
100 geany_functions->p_sci->get_length
101 #define sci_get_current_position \
102 geany_functions->p_sci->get_current_position
103 #define sci_set_current_position \
104 geany_functions->p_sci->set_current_position
105 #define sci_get_col_from_position \
106 geany_functions->p_sci->get_col_from_position
107 #define sci_get_line_from_position \
108 geany_functions->p_sci->get_line_from_position
109 #define sci_get_position_from_line \
110 geany_functions->p_sci->get_position_from_line
111 #define sci_replace_sel \
112 geany_functions->p_sci->replace_sel
113 #define sci_get_selected_text \
114 geany_functions->p_sci->get_selected_text
115 #define sci_get_selected_text_length \
116 geany_functions->p_sci->get_selected_text_length
117 #define sci_get_selection_start \
118 geany_functions->p_sci->get_selection_start
119 #define sci_get_selection_end \
120 geany_functions->p_sci->get_selection_end
121 #define sci_get_selection_mode \
122 geany_functions->p_sci->get_selection_mode
123 #define sci_set_selection_mode \
124 geany_functions->p_sci->set_selection_mode
125 #define sci_set_selection_start \
126 geany_functions->p_sci->set_selection_start
127 #define sci_set_selection_end \
128 geany_functions->p_sci->set_selection_end
129 #define sci_get_text_range \
130 geany_functions->p_sci->get_text_range
131 #define sci_get_line \
132 geany_functions->p_sci->get_line
133 #define sci_get_line_length \
134 geany_functions->p_sci->get_line_length
135 #define sci_get_line_count \
136 geany_functions->p_sci->get_line_count
137 #define sci_get_line_is_visible \
138 geany_functions->p_sci->get_line_is_visible
139 #define sci_ensure_line_is_visible \
140 geany_functions->p_sci->ensure_line_is_visible
141 #define sci_scroll_caret \
142 geany_functions->p_sci->scroll_caret
143 #define sci_find_matching_brace \
144 geany_functions->p_sci->find_matching_brace
145 #define sci_get_style_at \
146 geany_functions->p_sci->get_style_at
147 #define sci_get_char_at \
148 geany_functions->p_sci->get_char_at
149 #define sci_get_current_line \
150 geany_functions->p_sci->get_current_line
151 #define sci_has_selection \
152 geany_functions->p_sci->has_selection
153 #define sci_get_tab_width \
154 geany_functions->p_sci->get_tab_width
155 #define sci_indicator_clear \
156 geany_functions->p_sci->indicator_clear
157 #define sci_indicator_set \
158 geany_functions->p_sci->indicator_set
159 #define sci_get_contents \
160 geany_functions->p_sci->get_contents
161 #define sci_get_contents_range \
162 geany_functions->p_sci->get_contents_range
163 #define sci_get_selection_contents \
164 geany_functions->p_sci->get_selection_contents
165 #define sci_set_font \
166 geany_functions->p_sci->set_font
167 #define sci_get_line_end_position \
168 geany_functions->p_sci->get_line_end_position
169 #define sci_set_target_start \
170 geany_functions->p_sci->set_target_start
171 #define sci_set_target_end \
172 geany_functions->p_sci->set_target_end
173 #define sci_replace_target \
174 geany_functions->p_sci->replace_target
175 #define sci_set_marker_at_line \
176 geany_functions->p_sci->set_marker_at_line
177 #define sci_delete_marker_at_line \
178 geany_functions->p_sci->delete_marker_at_line
179 #define sci_is_marker_set_at_line \
180 geany_functions->p_sci->is_marker_set_at_line
181 #define sci_goto_line \
182 geany_functions->p_sci->goto_line
183 #define templates_get_template_fileheader \
184 geany_functions->p_templates->get_template_fileheader
185 #define utils_str_equal \
186 geany_functions->p_utils->str_equal
187 #define utils_string_replace_all \
188 geany_functions->p_utils->string_replace_all
189 #define utils_get_file_list \
190 geany_functions->p_utils->get_file_list
191 #define utils_write_file \
192 geany_functions->p_utils->write_file
193 #define utils_get_locale_from_utf8 \
194 geany_functions->p_utils->get_locale_from_utf8
195 #define utils_get_utf8_from_locale \
196 geany_functions->p_utils->get_utf8_from_locale
197 #define utils_remove_ext_from_filename \
198 geany_functions->p_utils->remove_ext_from_filename
199 #define utils_mkdir \
200 geany_functions->p_utils->mkdir
201 #define utils_get_setting_boolean \
202 geany_functions->p_utils->get_setting_boolean
203 #define utils_get_setting_integer \
204 geany_functions->p_utils->get_setting_integer
205 #define utils_get_setting_string \
206 geany_functions->p_utils->get_setting_string
207 #define utils_spawn_sync \
208 geany_functions->p_utils->spawn_sync
209 #define utils_spawn_async \
210 geany_functions->p_utils->spawn_async
211 #define utils_str_casecmp \
212 geany_functions->p_utils->str_casecmp
213 #define utils_get_date_time \
214 geany_functions->p_utils->get_date_time
215 #define utils_open_browser \
216 geany_functions->p_utils->open_browser
217 #define utils_string_replace_first \
218 geany_functions->p_utils->string_replace_first
219 #define utils_str_middle_truncate \
220 geany_functions->p_utils->str_middle_truncate
221 #define utils_str_remove_chars \
222 geany_functions->p_utils->str_remove_chars
223 #define utils_get_file_list_full \
224 geany_functions->p_utils->get_file_list_full
225 #define ui_dialog_vbox_new \
226 geany_functions->p_ui->dialog_vbox_new
227 #define ui_frame_new_with_alignment \
228 geany_functions->p_ui->frame_new_with_alignment
229 #define ui_set_statusbar \
230 geany_functions->p_ui->set_statusbar
231 #define ui_table_add_row \
232 geany_functions->p_ui->table_add_row
233 #define ui_path_box_new \
234 geany_functions->p_ui->path_box_new
235 #define ui_button_new_with_image \
236 geany_functions->p_ui->button_new_with_image
237 #define ui_add_document_sensitive \
238 geany_functions->p_ui->add_document_sensitive
239 #define ui_widget_set_tooltip_text \
240 geany_functions->p_ui->widget_set_tooltip_text
241 #define ui_image_menu_item_new \
242 geany_functions->p_ui->image_menu_item_new
243 #define ui_lookup_widget \
244 geany_functions->p_ui->lookup_widget
245 #define ui_progress_bar_start \
246 geany_functions->p_ui->progress_bar_start
247 #define ui_progress_bar_stop \
248 geany_functions->p_ui->progress_bar_stop
249 #define ui_entry_add_clear_icon \
250 geany_functions->p_ui->entry_add_clear_icon
251 #define ui_menu_add_document_items \
252 geany_functions->p_ui->menu_add_document_items
253 #define ui_widget_modify_font_from_string \
254 geany_functions->p_ui->widget_modify_font_from_string
255 #define dialogs_show_question \
256 geany_functions->p_dialogs->show_question
257 #define dialogs_show_msgbox \
258 geany_functions->p_dialogs->show_msgbox
259 #define dialogs_show_save_as \
260 geany_functions->p_dialogs->show_save_as
261 #define dialogs_show_input_numeric \
262 geany_functions->p_dialogs->show_input_numeric
263 #define msgwin_status_add \
264 geany_functions->p_msgwin->status_add
265 #define msgwin_compiler_add \
266 geany_functions->p_msgwin->compiler_add
267 #define msgwin_msg_add \
268 geany_functions->p_msgwin->msg_add
269 #define msgwin_clear_tab \
270 geany_functions->p_msgwin->clear_tab
271 #define msgwin_switch_tab \
272 geany_functions->p_msgwin->switch_tab
273 #define encodings_convert_to_utf8 \
274 geany_functions->p_encodings->convert_to_utf8
275 #define encodings_convert_to_utf8_from_charset \
276 geany_functions->p_encodings->convert_to_utf8_from_charset
277 #define encodings_get_charset_from_index \
278 geany_functions->p_encodings->get_charset_from_index
279 #define keybindings_send_command \
280 geany_functions->p_keybindings->send_command
281 #define keybindings_set_item \
282 geany_functions->p_keybindings->set_item
283 #define keybindings_get_item \
284 geany_functions->p_keybindings->get_item
285 #define tm_get_real_path \
286 geany_functions->p_tm->get_real_path
287 #define tm_source_file_new \
288 geany_functions->p_tm->source_file_new
289 #define tm_workspace_add_object \
290 geany_functions->p_tm->workspace_add_object
291 #define tm_source_file_update \
292 geany_functions->p_tm->source_file_update
293 #define tm_work_object_free \
294 geany_functions->p_tm->work_object_free
295 #define tm_workspace_remove_object \
296 geany_functions->p_tm->workspace_remove_object
297 #define search_show_find_in_files_dialog \
298 geany_functions->p_search->show_find_in_files_dialog
299 #define highlighting_get_style \
300 geany_functions->p_highlighting->get_style
301 #define highlighting_set_styles \
302 geany_functions->p_highlighting->set_styles
303 #define filetypes_detect_from_file \
304 geany_functions->p_filetypes->detect_from_file
305 #define filetypes_lookup_by_name \
306 geany_functions->p_filetypes->lookup_by_name
307 #define filetypes_index \
308 geany_functions->p_filetypes->index
309 #define navqueue_goto_line \
310 geany_functions->p_navqueue->goto_line
311 #define main_reload_configuration \
312 geany_functions->p_main->reload_configuration
313 #define main_locale_init \
314 geany_functions->p_main->locale_init
316 #endif