comparison src/history_list.h @ 902:c414002a1f27

Move history_list_*() functions to separate files: history_list.c and history_list.h.
author zas_
date Sun, 20 Jul 2008 14:56:32 +0000
parents
children 4fe8f9656107
comparison
equal deleted inserted replaced
901:ae75cd2b4d76 902:c414002a1f27
1 /*
2 * Geeqie
3 * Copyright (C) 2008 The Geeqie Team
4 *
5 * Author: John Ellis, Vladimir Nadvornik, Laurent Monin
6 *
7 * This software is released under the GNU General Public License (GNU GPL).
8 * Please read the included file COPYING for more information.
9 * This software comes with no warranty of any kind, use at your own risk!
10 */
11
12 #ifndef HISTORY_LIST_H
13 #define HISTORY_LIST_H
14
15 /* history lists */
16
17 gint history_list_load(const gchar *path);
18 gint history_list_save(const gchar *path);
19
20 void history_list_free_key(const gchar *key);
21
22 void history_list_add_to_key(const gchar *key, const gchar *path, gint max);
23
24 void history_list_item_change(const gchar *key, const gchar *oldpath, const gchar *newpath);
25 void history_list_item_move(const gchar *key, const gchar *path, gint direction);
26 void history_list_item_remove(const gchar *key, const gchar *path);
27
28 const gchar *history_list_find_last_path_by_key(const gchar* key);
29
30 /* the returned GList is internal, don't free it */
31 GList *history_list_get_by_key(const gchar *key);
32
33
34 #endif /* HISTORY_LIST_H */