2 * symbols.h - this file is part of Geany, a fast and lightweight IDE
4 * Copyright 2006 The Geany contributors
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.
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.
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.
22 #ifndef GEANY_SYMBOLS_H
23 #define GEANY_SYMBOLS_H 1
31 const gchar
*symbols_get_context_separator(gint ft_id
);
33 GdkPixbuf
*symbols_get_icon_pixbuf(TMIcon icon
);
40 SYMBOLS_SORT_BY_APPEARANCE
,
41 SYMBOLS_SORT_USE_PREVIOUS
45 void symbols_init(void);
47 void symbols_finalize(void);
49 void symbols_reload_config_files(void);
51 void symbols_global_tags_loaded(guint file_type_idx
);
53 GString
*symbols_find_typenames_as_string(TMParserType lang
, gboolean global
);
55 gboolean
symbols_recreate_tag_list(GeanyDocument
*doc
, gint sort_mode
);
57 gint
symbols_generate_global_tags(gint argc
, gchar
**argv
, gboolean want_preprocess
);
59 void symbols_show_load_tags_dialog(void);
61 gboolean
symbols_goto_tag(GeanyDocument
*doc
, gint pos
, gboolean definition
);
63 gint
symbols_get_current_function(GeanyDocument
*doc
, const gchar
**tagname
);
65 gint
symbols_get_current_scope(GeanyDocument
*doc
, const gchar
**tagname
);
67 const gchar
*symbols_get_icon_name(guint icon_id
);
69 #endif /* GEANY_PRIVATE */
73 #endif /* GEANY_SYMBOLS_H */