Fix #934: Request to add image bookmarking/tagging within a folder
[geeqie.git] / src / history_list.h
index 8ae10a0..d184770 100644 (file)
@@ -1,12 +1,21 @@
 /*
- * Geeqie
- * Copyright (C) 2008 - 2010 The Geeqie Team
+ * Copyright (C) 2008 - 2016 The Geeqie Team
  *
- * Author: John Ellis, Vladimir Nadvornik, Laurent Monin
+ * Authors: John Ellis, Vladimir Nadvornik, Laurent Monin
  *
- * This software is released under the GNU General Public License (GNU GPL).
- * Please read the included file COPYING for more information.
- * This software comes with no warranty of any kind, use at your own risk!
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #ifndef HISTORY_LIST_H
@@ -24,10 +33,23 @@ void history_list_add_to_key(const gchar *key, const gchar *path, gint max);
 void history_list_item_change(const gchar *key, const gchar *oldpath, const gchar *newpath);
 void history_list_item_move(const gchar *key, const gchar *path, gint direction);
 void history_list_item_remove(const gchar *key, const gchar *path);
+gchar *get_recent_viewed_folder_image(gchar *path);
 
 const gchar *history_list_find_last_path_by_key(const gchar *key);
 
-/* the returned GList is internal, don't free it */
+const gchar *history_chain_back();
+const gchar *history_chain_forward();
+void history_chain_append_end(const gchar *path);
+
+const gchar *image_chain_back();
+const gchar *image_chain_forward();
+void image_chain_append_end(const gchar *path);
+
+
+/**
+ * @headerfile history_list_get_by_key
+ * the returned GList is internal, don't free it
+ */
 GList *history_list_get_by_key(const gchar *key);