Merge pull request #3757 from andy5995/iss-3752
[geany-mirror.git] / src / navqueue.h
blob49d9fd03d208cbfe4e1b5f86fe6700e44467930d
1 /*
2 * navqueue.h - this file is part of Geany, a fast and lightweight IDE
4 * Copyright 2007 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.
21 /**
22 * @file navqueue.h
23 * Simple code navigation
24 **/
27 #ifndef GEANY_NAVQUEUE_H
28 #define GEANY_NAVQUEUE_H 1
30 #include "document.h"
32 #include <glib.h>
34 G_BEGIN_DECLS
36 gboolean navqueue_goto_line(GeanyDocument *old_doc, GeanyDocument *new_doc, gint line);
39 #ifdef GEANY_PRIVATE
41 void navqueue_init(void);
43 void navqueue_free(void);
45 void navqueue_remove_file(const gchar *filename);
47 void navqueue_go_back(void);
49 void navqueue_go_forward(void);
51 #endif /* GEANY_PRIVATE */
53 G_END_DECLS
55 #endif /* GEANY_NAVQUEUE_H */