r5118 | eht16 | 2010-08-05 22:54:18 +0100 (Thu, 05 Aug 2010) | 1 line
[geany-mirror.git] / plugins / geanyfunctions.h
blob0b0556ef9bfe2e2147913e094fe0e07b0b25729c
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 sci_set_line_indentation \
194 geany_functions->p_sci->sci_set_line_indentation
195 #define sci_get_line_indentation \
196 geany_functions->p_sci->sci_get_line_indentation
197 #define templates_get_template_fileheader \
198 geany_functions->p_templates->templates_get_template_fileheader
199 #define utils_str_equal \
200 geany_functions->p_utils->utils_str_equal
201 #define utils_string_replace_all \
202 geany_functions->p_utils->utils_string_replace_all
203 #define utils_get_file_list \
204 geany_functions->p_utils->utils_get_file_list
205 #define utils_write_file \
206 geany_functions->p_utils->utils_write_file
207 #define utils_get_locale_from_utf8 \
208 geany_functions->p_utils->utils_get_locale_from_utf8
209 #define utils_get_utf8_from_locale \
210 geany_functions->p_utils->utils_get_utf8_from_locale
211 #define utils_remove_ext_from_filename \
212 geany_functions->p_utils->utils_remove_ext_from_filename
213 #define utils_mkdir \
214 geany_functions->p_utils->utils_mkdir
215 #define utils_get_setting_boolean \
216 geany_functions->p_utils->utils_get_setting_boolean
217 #define utils_get_setting_integer \
218 geany_functions->p_utils->utils_get_setting_integer
219 #define utils_get_setting_string \
220 geany_functions->p_utils->utils_get_setting_string
221 #define utils_spawn_sync \
222 geany_functions->p_utils->utils_spawn_sync
223 #define utils_spawn_async \
224 geany_functions->p_utils->utils_spawn_async
225 #define utils_str_casecmp \
226 geany_functions->p_utils->utils_str_casecmp
227 #define utils_get_date_time \
228 geany_functions->p_utils->utils_get_date_time
229 #define utils_open_browser \
230 geany_functions->p_utils->utils_open_browser
231 #define utils_string_replace_first \
232 geany_functions->p_utils->utils_string_replace_first
233 #define utils_str_middle_truncate \
234 geany_functions->p_utils->utils_str_middle_truncate
235 #define utils_str_remove_chars \
236 geany_functions->p_utils->utils_str_remove_chars
237 #define utils_get_file_list_full \
238 geany_functions->p_utils->utils_get_file_list_full
239 #define utils_copy_environment \
240 geany_functions->p_utils->utils_copy_environment
241 #define ui_dialog_vbox_new \
242 geany_functions->p_ui->ui_dialog_vbox_new
243 #define ui_frame_new_with_alignment \
244 geany_functions->p_ui->ui_frame_new_with_alignment
245 #define ui_set_statusbar \
246 geany_functions->p_ui->ui_set_statusbar
247 #define ui_table_add_row \
248 geany_functions->p_ui->ui_table_add_row
249 #define ui_path_box_new \
250 geany_functions->p_ui->ui_path_box_new
251 #define ui_button_new_with_image \
252 geany_functions->p_ui->ui_button_new_with_image
253 #define ui_add_document_sensitive \
254 geany_functions->p_ui->ui_add_document_sensitive
255 #define ui_widget_set_tooltip_text \
256 geany_functions->p_ui->ui_widget_set_tooltip_text
257 #define ui_image_menu_item_new \
258 geany_functions->p_ui->ui_image_menu_item_new
259 #define ui_lookup_widget \
260 geany_functions->p_ui->ui_lookup_widget
261 #define ui_progress_bar_start \
262 geany_functions->p_ui->ui_progress_bar_start
263 #define ui_progress_bar_stop \
264 geany_functions->p_ui->ui_progress_bar_stop
265 #define ui_entry_add_clear_icon \
266 geany_functions->p_ui->ui_entry_add_clear_icon
267 #define ui_menu_add_document_items \
268 geany_functions->p_ui->ui_menu_add_document_items
269 #define ui_widget_modify_font_from_string \
270 geany_functions->p_ui->ui_widget_modify_font_from_string
271 #define ui_is_keyval_enter_or_return \
272 geany_functions->p_ui->ui_is_keyval_enter_or_return
273 #define ui_get_gtk_settings_integer \
274 geany_functions->p_ui->ui_get_gtk_settings_integer
275 #define dialogs_show_question \
276 geany_functions->p_dialogs->dialogs_show_question
277 #define dialogs_show_msgbox \
278 geany_functions->p_dialogs->dialogs_show_msgbox
279 #define dialogs_show_save_as \
280 geany_functions->p_dialogs->dialogs_show_save_as
281 #define dialogs_show_input_numeric \
282 geany_functions->p_dialogs->dialogs_show_input_numeric
283 #define msgwin_status_add \
284 geany_functions->p_msgwin->msgwin_status_add
285 #define msgwin_compiler_add \
286 geany_functions->p_msgwin->msgwin_compiler_add
287 #define msgwin_msg_add \
288 geany_functions->p_msgwin->msgwin_msg_add
289 #define msgwin_clear_tab \
290 geany_functions->p_msgwin->msgwin_clear_tab
291 #define msgwin_switch_tab \
292 geany_functions->p_msgwin->msgwin_switch_tab
293 #define encodings_convert_to_utf8 \
294 geany_functions->p_encodings->encodings_convert_to_utf8
295 #define encodings_convert_to_utf8_from_charset \
296 geany_functions->p_encodings->encodings_convert_to_utf8_from_charset
297 #define encodings_get_charset_from_index \
298 geany_functions->p_encodings->encodings_get_charset_from_index
299 #define keybindings_send_command \
300 geany_functions->p_keybindings->keybindings_send_command
301 #define keybindings_set_item \
302 geany_functions->p_keybindings->keybindings_set_item
303 #define keybindings_get_item \
304 geany_functions->p_keybindings->keybindings_get_item
305 #define tm_get_real_path \
306 geany_functions->p_tm->tm_get_real_path
307 #define tm_source_file_new \
308 geany_functions->p_tm->tm_source_file_new
309 #define tm_workspace_add_object \
310 geany_functions->p_tm->tm_workspace_add_object
311 #define tm_source_file_update \
312 geany_functions->p_tm->tm_source_file_update
313 #define tm_work_object_free \
314 geany_functions->p_tm->tm_work_object_free
315 #define tm_workspace_remove_object \
316 geany_functions->p_tm->tm_workspace_remove_object
317 #define search_show_find_in_files_dialog \
318 geany_functions->p_search->search_show_find_in_files_dialog
319 #define highlighting_get_style \
320 geany_functions->p_highlighting->highlighting_get_style
321 #define highlighting_set_styles \
322 geany_functions->p_highlighting->highlighting_set_styles
323 #define filetypes_detect_from_file \
324 geany_functions->p_filetypes->filetypes_detect_from_file
325 #define filetypes_lookup_by_name \
326 geany_functions->p_filetypes->filetypes_lookup_by_name
327 #define filetypes_index \
328 geany_functions->p_filetypes->filetypes_index
329 #define navqueue_goto_line \
330 geany_functions->p_navqueue->navqueue_goto_line
331 #define main_reload_configuration \
332 geany_functions->p_main->main_reload_configuration
333 #define main_locale_init \
334 geany_functions->p_main->main_locale_init
335 #define main_is_realized \
336 geany_functions->p_main->main_is_realized
337 #define stash_group_new \
338 geany_functions->p_stash->stash_group_new
339 #define stash_group_add_boolean \
340 geany_functions->p_stash->stash_group_add_boolean
341 #define stash_group_add_integer \
342 geany_functions->p_stash->stash_group_add_integer
343 #define stash_group_add_string \
344 geany_functions->p_stash->stash_group_add_string
345 #define stash_group_add_string_vector \
346 geany_functions->p_stash->stash_group_add_string_vector
347 #define stash_group_load_from_key_file \
348 geany_functions->p_stash->stash_group_load_from_key_file
349 #define stash_group_save_to_key_file \
350 geany_functions->p_stash->stash_group_save_to_key_file
351 #define stash_group_free \
352 geany_functions->p_stash->stash_group_free
353 #define stash_group_load_from_file \
354 geany_functions->p_stash->stash_group_load_from_file
355 #define stash_group_save_to_file \
356 geany_functions->p_stash->stash_group_save_to_file
357 #define stash_group_add_toggle_button \
358 geany_functions->p_stash->stash_group_add_toggle_button
359 #define stash_group_add_radio_buttons \
360 geany_functions->p_stash->stash_group_add_radio_buttons
361 #define stash_group_add_spin_button_integer \
362 geany_functions->p_stash->stash_group_add_spin_button_integer
363 #define stash_group_add_combo_box \
364 geany_functions->p_stash->stash_group_add_combo_box
365 #define stash_group_add_combo_box_entry \
366 geany_functions->p_stash->stash_group_add_combo_box_entry
367 #define stash_group_add_entry \
368 geany_functions->p_stash->stash_group_add_entry
369 #define stash_group_add_widget_property \
370 geany_functions->p_stash->stash_group_add_widget_property
371 #define stash_group_display \
372 geany_functions->p_stash->stash_group_display
373 #define stash_group_update \
374 geany_functions->p_stash->stash_group_update
375 #define symbols_get_context_separator \
376 geany_functions->p_symbols->symbols_get_context_separator
378 #endif