Fix HTML documentation installation for VPATH builds
[geany-mirror.git] / plugins / geanyfunctions.h
blob6f70e925156ef466250843f9711ceca52bfd5951
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->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->plugin_add_toolbar_item
21 #define plugin_module_make_resident \
22 geany_functions->p_plugin->plugin_module_make_resident
23 #define plugin_signal_connect \
24 geany_functions->p_plugin->plugin_signal_connect
25 #define plugin_set_key_group \
26 geany_functions->p_plugin->plugin_set_key_group
27 #define plugin_show_configure \
28 geany_functions->p_plugin->plugin_show_configure
29 #define plugin_timeout_add \
30 geany_functions->p_plugin->plugin_timeout_add
31 #define plugin_timeout_add_seconds \
32 geany_functions->p_plugin->plugin_timeout_add_seconds
33 #define plugin_idle_add \
34 geany_functions->p_plugin->plugin_idle_add
35 #define plugin_builder_connect_signals \
36 geany_functions->p_plugin->plugin_builder_connect_signals
37 #define document_new_file \
38 geany_functions->p_document->document_new_file
39 #define document_get_current \
40 geany_functions->p_document->document_get_current
41 #define document_get_from_page \
42 geany_functions->p_document->document_get_from_page
43 #define document_find_by_filename \
44 geany_functions->p_document->document_find_by_filename
45 #define document_find_by_real_path \
46 geany_functions->p_document->document_find_by_real_path
47 #define document_save_file \
48 geany_functions->p_document->document_save_file
49 #define document_open_file \
50 geany_functions->p_document->document_open_file
51 #define document_open_files \
52 geany_functions->p_document->document_open_files
53 #define document_remove_page \
54 geany_functions->p_document->document_remove_page
55 #define document_reload_file \
56 geany_functions->p_document->document_reload_file
57 #define document_set_encoding \
58 geany_functions->p_document->document_set_encoding
59 #define document_set_text_changed \
60 geany_functions->p_document->document_set_text_changed
61 #define document_set_filetype \
62 geany_functions->p_document->document_set_filetype
63 #define document_close \
64 geany_functions->p_document->document_close
65 #define document_index \
66 geany_functions->p_document->document_index
67 #define document_save_file_as \
68 geany_functions->p_document->document_save_file_as
69 #define document_rename_file \
70 geany_functions->p_document->document_rename_file
71 #define document_get_status_color \
72 geany_functions->p_document->document_get_status_color
73 #define document_get_basename_for_display \
74 geany_functions->p_document->document_get_basename_for_display
75 #define document_get_notebook_page \
76 geany_functions->p_document->document_get_notebook_page
77 #define document_compare_by_display_name \
78 geany_functions->p_document->document_compare_by_display_name
79 #define document_compare_by_tab_order \
80 geany_functions->p_document->document_compare_by_tab_order
81 #define document_compare_by_tab_order_reverse \
82 geany_functions->p_document->document_compare_by_tab_order_reverse
83 #define editor_get_indent_prefs \
84 geany_functions->p_editor->editor_get_indent_prefs
85 #define editor_create_widget \
86 geany_functions->p_editor->editor_create_widget
87 #define editor_indicator_set_on_range \
88 geany_functions->p_editor->editor_indicator_set_on_range
89 #define editor_indicator_set_on_line \
90 geany_functions->p_editor->editor_indicator_set_on_line
91 #define editor_indicator_clear \
92 geany_functions->p_editor->editor_indicator_clear
93 #define editor_set_indent_type \
94 geany_functions->p_editor->editor_set_indent_type
95 #define editor_get_word_at_pos \
96 geany_functions->p_editor->editor_get_word_at_pos
97 #define editor_get_eol_char_name \
98 geany_functions->p_editor->editor_get_eol_char_name
99 #define editor_get_eol_char_len \
100 geany_functions->p_editor->editor_get_eol_char_len
101 #define editor_get_eol_char \
102 geany_functions->p_editor->editor_get_eol_char
103 #define editor_insert_text_block \
104 geany_functions->p_editor->editor_insert_text_block
105 #define editor_get_eol_char_mode \
106 geany_functions->p_editor->editor_get_eol_char_mode
107 #define editor_goto_pos \
108 geany_functions->p_editor->editor_goto_pos
109 #define editor_find_snippet \
110 geany_functions->p_editor->editor_find_snippet
111 #define editor_insert_snippet \
112 geany_functions->p_editor->editor_insert_snippet
113 #define scintilla_send_message \
114 geany_functions->p_scintilla->scintilla_send_message
115 #define scintilla_new \
116 geany_functions->p_scintilla->scintilla_new
117 #define sci_send_command \
118 geany_functions->p_sci->sci_send_command
119 #define sci_start_undo_action \
120 geany_functions->p_sci->sci_start_undo_action
121 #define sci_end_undo_action \
122 geany_functions->p_sci->sci_end_undo_action
123 #define sci_set_text \
124 geany_functions->p_sci->sci_set_text
125 #define sci_insert_text \
126 geany_functions->p_sci->sci_insert_text
127 #define sci_get_text \
128 geany_functions->p_sci->sci_get_text
129 #define sci_get_length \
130 geany_functions->p_sci->sci_get_length
131 #define sci_get_current_position \
132 geany_functions->p_sci->sci_get_current_position
133 #define sci_set_current_position \
134 geany_functions->p_sci->sci_set_current_position
135 #define sci_get_col_from_position \
136 geany_functions->p_sci->sci_get_col_from_position
137 #define sci_get_line_from_position \
138 geany_functions->p_sci->sci_get_line_from_position
139 #define sci_get_position_from_line \
140 geany_functions->p_sci->sci_get_position_from_line
141 #define sci_replace_sel \
142 geany_functions->p_sci->sci_replace_sel
143 #define sci_get_selected_text \
144 geany_functions->p_sci->sci_get_selected_text
145 #define sci_get_selected_text_length \
146 geany_functions->p_sci->sci_get_selected_text_length
147 #define sci_get_selection_start \
148 geany_functions->p_sci->sci_get_selection_start
149 #define sci_get_selection_end \
150 geany_functions->p_sci->sci_get_selection_end
151 #define sci_get_selection_mode \
152 geany_functions->p_sci->sci_get_selection_mode
153 #define sci_set_selection_mode \
154 geany_functions->p_sci->sci_set_selection_mode
155 #define sci_set_selection_start \
156 geany_functions->p_sci->sci_set_selection_start
157 #define sci_set_selection_end \
158 geany_functions->p_sci->sci_set_selection_end
159 #define sci_get_text_range \
160 geany_functions->p_sci->sci_get_text_range
161 #define sci_get_line \
162 geany_functions->p_sci->sci_get_line
163 #define sci_get_line_length \
164 geany_functions->p_sci->sci_get_line_length
165 #define sci_get_line_count \
166 geany_functions->p_sci->sci_get_line_count
167 #define sci_get_line_is_visible \
168 geany_functions->p_sci->sci_get_line_is_visible
169 #define sci_ensure_line_is_visible \
170 geany_functions->p_sci->sci_ensure_line_is_visible
171 #define sci_scroll_caret \
172 geany_functions->p_sci->sci_scroll_caret
173 #define sci_find_matching_brace \
174 geany_functions->p_sci->sci_find_matching_brace
175 #define sci_get_style_at \
176 geany_functions->p_sci->sci_get_style_at
177 #define sci_get_char_at \
178 geany_functions->p_sci->sci_get_char_at
179 #define sci_get_current_line \
180 geany_functions->p_sci->sci_get_current_line
181 #define sci_has_selection \
182 geany_functions->p_sci->sci_has_selection
183 #define sci_get_tab_width \
184 geany_functions->p_sci->sci_get_tab_width
185 #define sci_indicator_clear \
186 geany_functions->p_sci->sci_indicator_clear
187 #define sci_indicator_set \
188 geany_functions->p_sci->sci_indicator_set
189 #define sci_get_contents \
190 geany_functions->p_sci->sci_get_contents
191 #define sci_get_contents_range \
192 geany_functions->p_sci->sci_get_contents_range
193 #define sci_get_selection_contents \
194 geany_functions->p_sci->sci_get_selection_contents
195 #define sci_set_font \
196 geany_functions->p_sci->sci_set_font
197 #define sci_get_line_end_position \
198 geany_functions->p_sci->sci_get_line_end_position
199 #define sci_set_target_start \
200 geany_functions->p_sci->sci_set_target_start
201 #define sci_set_target_end \
202 geany_functions->p_sci->sci_set_target_end
203 #define sci_replace_target \
204 geany_functions->p_sci->sci_replace_target
205 #define sci_set_marker_at_line \
206 geany_functions->p_sci->sci_set_marker_at_line
207 #define sci_delete_marker_at_line \
208 geany_functions->p_sci->sci_delete_marker_at_line
209 #define sci_is_marker_set_at_line \
210 geany_functions->p_sci->sci_is_marker_set_at_line
211 #define sci_goto_line \
212 geany_functions->p_sci->sci_goto_line
213 #define sci_find_text \
214 geany_functions->p_sci->sci_find_text
215 #define sci_set_line_indentation \
216 geany_functions->p_sci->sci_set_line_indentation
217 #define sci_get_line_indentation \
218 geany_functions->p_sci->sci_get_line_indentation
219 #define sci_get_lexer \
220 geany_functions->p_sci->sci_get_lexer
221 #define templates_get_template_fileheader \
222 geany_functions->p_templates->templates_get_template_fileheader
223 #define utils_str_equal \
224 geany_functions->p_utils->utils_str_equal
225 #define utils_string_replace_all \
226 geany_functions->p_utils->utils_string_replace_all
227 #define utils_get_file_list \
228 geany_functions->p_utils->utils_get_file_list
229 #define utils_write_file \
230 geany_functions->p_utils->utils_write_file
231 #define utils_get_locale_from_utf8 \
232 geany_functions->p_utils->utils_get_locale_from_utf8
233 #define utils_get_utf8_from_locale \
234 geany_functions->p_utils->utils_get_utf8_from_locale
235 #define utils_remove_ext_from_filename \
236 geany_functions->p_utils->utils_remove_ext_from_filename
237 #define utils_mkdir \
238 geany_functions->p_utils->utils_mkdir
239 #define utils_get_setting_boolean \
240 geany_functions->p_utils->utils_get_setting_boolean
241 #define utils_get_setting_integer \
242 geany_functions->p_utils->utils_get_setting_integer
243 #define utils_get_setting_string \
244 geany_functions->p_utils->utils_get_setting_string
245 #define utils_spawn_sync \
246 geany_functions->p_utils->utils_spawn_sync
247 #define utils_spawn_async \
248 geany_functions->p_utils->utils_spawn_async
249 #define utils_str_casecmp \
250 geany_functions->p_utils->utils_str_casecmp
251 #define utils_get_date_time \
252 geany_functions->p_utils->utils_get_date_time
253 #define utils_open_browser \
254 geany_functions->p_utils->utils_open_browser
255 #define utils_string_replace_first \
256 geany_functions->p_utils->utils_string_replace_first
257 #define utils_str_middle_truncate \
258 geany_functions->p_utils->utils_str_middle_truncate
259 #define utils_str_remove_chars \
260 geany_functions->p_utils->utils_str_remove_chars
261 #define utils_get_file_list_full \
262 geany_functions->p_utils->utils_get_file_list_full
263 #define utils_copy_environment \
264 geany_functions->p_utils->utils_copy_environment
265 #define utils_find_open_xml_tag \
266 geany_functions->p_utils->utils_find_open_xml_tag
267 #define utils_find_open_xml_tag_pos \
268 geany_functions->p_utils->utils_find_open_xml_tag_pos
269 #define ui_dialog_vbox_new \
270 geany_functions->p_ui->ui_dialog_vbox_new
271 #define ui_frame_new_with_alignment \
272 geany_functions->p_ui->ui_frame_new_with_alignment
273 #define ui_set_statusbar \
274 geany_functions->p_ui->ui_set_statusbar
275 #define ui_table_add_row \
276 geany_functions->p_ui->ui_table_add_row
277 #define ui_path_box_new \
278 geany_functions->p_ui->ui_path_box_new
279 #define ui_button_new_with_image \
280 geany_functions->p_ui->ui_button_new_with_image
281 #define ui_add_document_sensitive \
282 geany_functions->p_ui->ui_add_document_sensitive
283 #define ui_widget_set_tooltip_text \
284 geany_functions->p_ui->ui_widget_set_tooltip_text
285 #define ui_image_menu_item_new \
286 geany_functions->p_ui->ui_image_menu_item_new
287 #define ui_lookup_widget \
288 geany_functions->p_ui->ui_lookup_widget
289 #define ui_progress_bar_start \
290 geany_functions->p_ui->ui_progress_bar_start
291 #define ui_progress_bar_stop \
292 geany_functions->p_ui->ui_progress_bar_stop
293 #define ui_entry_add_clear_icon \
294 geany_functions->p_ui->ui_entry_add_clear_icon
295 #define ui_menu_add_document_items \
296 geany_functions->p_ui->ui_menu_add_document_items
297 #define ui_widget_modify_font_from_string \
298 geany_functions->p_ui->ui_widget_modify_font_from_string
299 #define ui_is_keyval_enter_or_return \
300 geany_functions->p_ui->ui_is_keyval_enter_or_return
301 #define ui_get_gtk_settings_integer \
302 geany_functions->p_ui->ui_get_gtk_settings_integer
303 #define ui_combo_box_add_to_history \
304 geany_functions->p_ui->ui_combo_box_add_to_history
305 #define ui_menu_add_document_items_sorted \
306 geany_functions->p_ui->ui_menu_add_document_items_sorted
307 #define ui_lookup_stock_label \
308 geany_functions->p_ui->ui_lookup_stock_label
309 #define dialogs_show_question \
310 geany_functions->p_dialogs->dialogs_show_question
311 #define dialogs_show_msgbox \
312 geany_functions->p_dialogs->dialogs_show_msgbox
313 #define dialogs_show_save_as \
314 geany_functions->p_dialogs->dialogs_show_save_as
315 #define dialogs_show_input_numeric \
316 geany_functions->p_dialogs->dialogs_show_input_numeric
317 #define dialogs_show_input \
318 geany_functions->p_dialogs->dialogs_show_input
319 #define msgwin_status_add \
320 geany_functions->p_msgwin->msgwin_status_add
321 #define msgwin_compiler_add \
322 geany_functions->p_msgwin->msgwin_compiler_add
323 #define msgwin_msg_add \
324 geany_functions->p_msgwin->msgwin_msg_add
325 #define msgwin_clear_tab \
326 geany_functions->p_msgwin->msgwin_clear_tab
327 #define msgwin_switch_tab \
328 geany_functions->p_msgwin->msgwin_switch_tab
329 #define msgwin_set_messages_dir \
330 geany_functions->p_msgwin->msgwin_set_messages_dir
331 #define encodings_convert_to_utf8 \
332 geany_functions->p_encodings->encodings_convert_to_utf8
333 #define encodings_convert_to_utf8_from_charset \
334 geany_functions->p_encodings->encodings_convert_to_utf8_from_charset
335 #define encodings_get_charset_from_index \
336 geany_functions->p_encodings->encodings_get_charset_from_index
337 #define keybindings_send_command \
338 geany_functions->p_keybindings->keybindings_send_command
339 #define keybindings_set_item \
340 geany_functions->p_keybindings->keybindings_set_item
341 #define keybindings_get_item \
342 geany_functions->p_keybindings->keybindings_get_item
343 #define tm_get_real_path \
344 geany_functions->p_tm->tm_get_real_path
345 #define tm_source_file_new \
346 geany_functions->p_tm->tm_source_file_new
347 #define tm_workspace_add_object \
348 geany_functions->p_tm->tm_workspace_add_object
349 #define tm_source_file_update \
350 geany_functions->p_tm->tm_source_file_update
351 #define tm_work_object_free \
352 geany_functions->p_tm->tm_work_object_free
353 #define tm_workspace_remove_object \
354 geany_functions->p_tm->tm_workspace_remove_object
355 #define search_show_find_in_files_dialog \
356 geany_functions->p_search->search_show_find_in_files_dialog
357 #define highlighting_get_style \
358 geany_functions->p_highlighting->highlighting_get_style
359 #define highlighting_set_styles \
360 geany_functions->p_highlighting->highlighting_set_styles
361 #define highlighting_is_string_style \
362 geany_functions->p_highlighting->highlighting_is_string_style
363 #define highlighting_is_comment_style \
364 geany_functions->p_highlighting->highlighting_is_comment_style
365 #define highlighting_is_code_style \
366 geany_functions->p_highlighting->highlighting_is_code_style
367 #define filetypes_detect_from_file \
368 geany_functions->p_filetypes->filetypes_detect_from_file
369 #define filetypes_lookup_by_name \
370 geany_functions->p_filetypes->filetypes_lookup_by_name
371 #define filetypes_index \
372 geany_functions->p_filetypes->filetypes_index
373 #define filetypes_get_display_name \
374 geany_functions->p_filetypes->filetypes_get_display_name
375 #define filetypes_get_sorted_by_name \
376 geany_functions->p_filetypes->filetypes_get_sorted_by_name
377 #define navqueue_goto_line \
378 geany_functions->p_navqueue->navqueue_goto_line
379 #define main_reload_configuration \
380 geany_functions->p_main->main_reload_configuration
381 #define main_locale_init \
382 geany_functions->p_main->main_locale_init
383 #define main_is_realized \
384 geany_functions->p_main->main_is_realized
385 #define stash_group_new \
386 geany_functions->p_stash->stash_group_new
387 #define stash_group_add_boolean \
388 geany_functions->p_stash->stash_group_add_boolean
389 #define stash_group_add_integer \
390 geany_functions->p_stash->stash_group_add_integer
391 #define stash_group_add_string \
392 geany_functions->p_stash->stash_group_add_string
393 #define stash_group_add_string_vector \
394 geany_functions->p_stash->stash_group_add_string_vector
395 #define stash_group_load_from_key_file \
396 geany_functions->p_stash->stash_group_load_from_key_file
397 #define stash_group_save_to_key_file \
398 geany_functions->p_stash->stash_group_save_to_key_file
399 #define stash_group_free \
400 geany_functions->p_stash->stash_group_free
401 #define stash_group_load_from_file \
402 geany_functions->p_stash->stash_group_load_from_file
403 #define stash_group_save_to_file \
404 geany_functions->p_stash->stash_group_save_to_file
405 #define stash_group_add_toggle_button \
406 geany_functions->p_stash->stash_group_add_toggle_button
407 #define stash_group_add_radio_buttons \
408 geany_functions->p_stash->stash_group_add_radio_buttons
409 #define stash_group_add_spin_button_integer \
410 geany_functions->p_stash->stash_group_add_spin_button_integer
411 #define stash_group_add_combo_box \
412 geany_functions->p_stash->stash_group_add_combo_box
413 #define stash_group_add_combo_box_entry \
414 geany_functions->p_stash->stash_group_add_combo_box_entry
415 #define stash_group_add_entry \
416 geany_functions->p_stash->stash_group_add_entry
417 #define stash_group_add_widget_property \
418 geany_functions->p_stash->stash_group_add_widget_property
419 #define stash_group_display \
420 geany_functions->p_stash->stash_group_display
421 #define stash_group_update \
422 geany_functions->p_stash->stash_group_update
423 #define stash_group_free_settings \
424 geany_functions->p_stash->stash_group_free_settings
425 #define symbols_get_context_separator \
426 geany_functions->p_symbols->symbols_get_context_separator
427 #define build_activate_menu_item \
428 geany_functions->p_build->build_activate_menu_item
429 #define build_get_current_menu_item \
430 geany_functions->p_build->build_get_current_menu_item
431 #define build_remove_menu_item \
432 geany_functions->p_build->build_remove_menu_item
433 #define build_set_menu_item \
434 geany_functions->p_build->build_set_menu_item
435 #define build_get_group_count \
436 geany_functions->p_build->build_get_group_count
438 #endif