annotate src/history_list.h @ 1199:404168a124aa

Display error dialog with appropriate message when user is trying to open an invalid collection file.
author zas_
date Mon, 08 Dec 2008 21:34:32 +0000
parents 1646720364cf
children 8b89e3ff286b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
902
c414002a1f27 Move history_list_*() functions to separate files:
zas_
parents:
diff changeset
1 /*
c414002a1f27 Move history_list_*() functions to separate files:
zas_
parents:
diff changeset
2 * Geeqie
c414002a1f27 Move history_list_*() functions to separate files:
zas_
parents:
diff changeset
3 * Copyright (C) 2008 The Geeqie Team
c414002a1f27 Move history_list_*() functions to separate files:
zas_
parents:
diff changeset
4 *
c414002a1f27 Move history_list_*() functions to separate files:
zas_
parents:
diff changeset
5 * Author: John Ellis, Vladimir Nadvornik, Laurent Monin
c414002a1f27 Move history_list_*() functions to separate files:
zas_
parents:
diff changeset
6 *
c414002a1f27 Move history_list_*() functions to separate files:
zas_
parents:
diff changeset
7 * This software is released under the GNU General Public License (GNU GPL).
c414002a1f27 Move history_list_*() functions to separate files:
zas_
parents:
diff changeset
8 * Please read the included file COPYING for more information.
c414002a1f27 Move history_list_*() functions to separate files:
zas_
parents:
diff changeset
9 * This software comes with no warranty of any kind, use at your own risk!
c414002a1f27 Move history_list_*() functions to separate files:
zas_
parents:
diff changeset
10 */
c414002a1f27 Move history_list_*() functions to separate files:
zas_
parents:
diff changeset
11
c414002a1f27 Move history_list_*() functions to separate files:
zas_
parents:
diff changeset
12 #ifndef HISTORY_LIST_H
c414002a1f27 Move history_list_*() functions to separate files:
zas_
parents:
diff changeset
13 #define HISTORY_LIST_H
c414002a1f27 Move history_list_*() functions to separate files:
zas_
parents:
diff changeset
14
c414002a1f27 Move history_list_*() functions to separate files:
zas_
parents:
diff changeset
15 /* history lists */
c414002a1f27 Move history_list_*() functions to separate files:
zas_
parents:
diff changeset
16
c414002a1f27 Move history_list_*() functions to separate files:
zas_
parents:
diff changeset
17 gint history_list_load(const gchar *path);
c414002a1f27 Move history_list_*() functions to separate files:
zas_
parents:
diff changeset
18 gint history_list_save(const gchar *path);
c414002a1f27 Move history_list_*() functions to separate files:
zas_
parents:
diff changeset
19
c414002a1f27 Move history_list_*() functions to separate files:
zas_
parents:
diff changeset
20 void history_list_free_key(const gchar *key);
c414002a1f27 Move history_list_*() functions to separate files:
zas_
parents:
diff changeset
21
c414002a1f27 Move history_list_*() functions to separate files:
zas_
parents:
diff changeset
22 void history_list_add_to_key(const gchar *key, const gchar *path, gint max);
c414002a1f27 Move history_list_*() functions to separate files:
zas_
parents:
diff changeset
23
c414002a1f27 Move history_list_*() functions to separate files:
zas_
parents:
diff changeset
24 void history_list_item_change(const gchar *key, const gchar *oldpath, const gchar *newpath);
c414002a1f27 Move history_list_*() functions to separate files:
zas_
parents:
diff changeset
25 void history_list_item_move(const gchar *key, const gchar *path, gint direction);
c414002a1f27 Move history_list_*() functions to separate files:
zas_
parents:
diff changeset
26 void history_list_item_remove(const gchar *key, const gchar *path);
c414002a1f27 Move history_list_*() functions to separate files:
zas_
parents:
diff changeset
27
1000
4fe8f9656107 For the sake of consistency, use glib basic types everywhere.
zas_
parents: 902
diff changeset
28 const gchar *history_list_find_last_path_by_key(const gchar *key);
902
c414002a1f27 Move history_list_*() functions to separate files:
zas_
parents:
diff changeset
29
c414002a1f27 Move history_list_*() functions to separate files:
zas_
parents:
diff changeset
30 /* the returned GList is internal, don't free it */
c414002a1f27 Move history_list_*() functions to separate files:
zas_
parents:
diff changeset
31 GList *history_list_get_by_key(const gchar *key);
c414002a1f27 Move history_list_*() functions to separate files:
zas_
parents:
diff changeset
32
c414002a1f27 Move history_list_*() functions to separate files:
zas_
parents:
diff changeset
33
c414002a1f27 Move history_list_*() functions to separate files:
zas_
parents:
diff changeset
34 #endif /* HISTORY_LIST_H */
1055
1646720364cf Adding a vim modeline to all files - patch by Klaus Ethgen
nadvornik
parents: 1000
diff changeset
35 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */