Updated Makefile.am files after make -f git.mk
[anjuta.git] / plugins / document-manager / file_history.h
blob2f23f2227eb603e78ea41900000f128ef32a8882
1 /*
2 * This program is free software; you can redistribute it and/or modify
3 * it under the terms of the GNU General Public License as published by
4 * the Free Software Foundation; either version 2 of the License, or
5 * (at your option) any later version.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU Library General Public License for more details.
12 * You should have received a copy of the GNU General Public License
13 * along with this program; if not, write to the Free Software
14 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 #ifndef _FILE_HISTORY_H
18 #define _FILE_HISTORY_H
20 #include <glib.h>
21 #include <gio/gio.h>
23 #include "anjuta-docman.h"
25 typedef struct _AnHistFile AnHistFile;
27 struct _AnHistFile
29 GFile *file;
30 gint line;
33 AnHistFile *an_hist_file_new (GFile *file, gint line);
34 void an_hist_file_free(AnHistFile *h_file);
36 void an_file_history_reset(void);
37 void an_file_history_push (GFile *file, gint line);
38 void an_file_history_back(AnjutaDocman *docman);
39 void an_file_history_forward(AnjutaDocman *docman);
40 void an_file_history_dump(void);
41 void an_file_history_free(void);
43 #endif /* _FILE_HISTORY_H */