Update HACKING for changed doc generation instructions
[geany-mirror.git] / src / navqueue.h
blobc922f804ed32538ed6b75e476bf129b878bdcdff
1 /*
2 * navqueue.h - this file is part of Geany, a fast and lightweight IDE
4 * Copyright 2007 Dave Moore <wrex006(at)gmail(dot)com>
5 * Copyright 2007-2012 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6 * Copyright 2007-2012 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License along
19 * with this program; if not, write to the Free Software Foundation, Inc.,
20 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
23 /**
24 * @file navqueue.h
25 * Simple code navigation
26 **/
29 #ifndef GEANY_NAVQUEUE_H
30 #define GEANY_NAVQUEUE_H 1
32 #include "document.h"
34 #include <glib.h>
36 G_BEGIN_DECLS
38 void navqueue_init(void);
40 void navqueue_free(void);
42 void navqueue_remove_file(const gchar *filename);
44 gboolean navqueue_goto_line(GeanyDocument *old_doc, GeanyDocument *new_doc, gint line);
46 void navqueue_go_back(void);
48 void navqueue_go_forward(void);
50 G_END_DECLS
52 #endif /* GEANY_NAVQUEUE_H */