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