Store project files in base directory by default
[geany-mirror.git] / src / symbols.h
bloba245518e61f8d04c445449ebdedcdaea3862ca43
1 /*
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
25 #include "document.h"
27 #include <glib.h>
29 G_BEGIN_DECLS
31 const gchar *symbols_get_context_separator(gint ft_id);
34 #ifdef GEANY_PRIVATE
36 enum
38 SYMBOLS_SORT_BY_NAME,
39 SYMBOLS_SORT_BY_APPEARANCE,
40 SYMBOLS_SORT_USE_PREVIOUS
44 void symbols_init(void);
46 void symbols_finalize(void);
48 void symbols_reload_config_files(void);
50 void symbols_global_tags_loaded(guint file_type_idx);
52 GString *symbols_find_typenames_as_string(TMParserType lang, gboolean global);
54 gboolean symbols_recreate_tag_list(GeanyDocument *doc, gint sort_mode);
56 gint symbols_generate_global_tags(gint argc, gchar **argv, gboolean want_preprocess);
58 void symbols_show_load_tags_dialog(void);
60 gboolean symbols_goto_tag(const gchar *name, gboolean definition);
62 gint symbols_get_current_function(GeanyDocument *doc, const gchar **tagname);
64 gint symbols_get_current_scope(GeanyDocument *doc, const gchar **tagname);
66 #endif /* GEANY_PRIVATE */
68 G_END_DECLS
70 #endif /* GEANY_SYMBOLS_H */