2 * Copyright (C) 2008 - 2016 The Geeqie Team
4 * Authors: John Ellis, Vladimir Nadvornik, Laurent Monin
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 #ifndef HISTORY_LIST_H
22 #define HISTORY_LIST_H
28 gboolean history_list_load(const gchar *path);
29 gboolean history_list_save(const gchar *path);
31 void history_list_free_key(const gchar *key);
33 void history_list_add_to_key(const gchar *key, const gchar *path, gint max);
35 void history_list_item_change(const gchar *key, const gchar *oldpath, const gchar *newpath);
36 void history_list_item_move(const gchar *key, const gchar *path, gint direction);
37 void history_list_item_remove(const gchar *key, const gchar *path);
38 gchar *get_recent_viewed_folder_image(gchar *path);
40 const gchar *history_list_find_last_path_by_key(const gchar *key);
42 const gchar *history_chain_back();
43 const gchar *history_chain_forward();
44 void history_chain_append_end(const gchar *path);
46 const gchar *image_chain_back();
47 const gchar *image_chain_forward();
48 void image_chain_append_end(const gchar *path);
52 * @headerfile history_list_get_by_key
53 * the returned GList is internal, don't free it
55 GList *history_list_get_by_key(const gchar *key);
58 #endif /* HISTORY_LIST_H */
59 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */