2008-02-11 Johannes Schmid <jhs@gnome.org>
[anjuta-git-plugin.git] / plugins / document-manager / file_history.h
blobc0711ea47a8e8480c97711cd7c0d874beff3223e
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.
18 #ifndef _FILE_HISTORY_H
19 #define _FILE_HISTORY_H
21 #include <glib.h>
23 #include "anjuta-docman.h"
25 typedef struct _AnHistFile AnHistFile;
27 struct _AnHistFile
29 gchar *uri;
30 gint line;
33 AnHistFile *an_hist_file_new (const gchar *uri, gint line);
34 void an_hist_file_free(AnHistFile *h_file);
36 void an_file_history_reset(void);
37 void an_file_history_push (const gchar *uri, 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 */