Trim trailing white spaces.
[geeqie.git] / src / editors.h
index 1201fc9..acb0674 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Geeqie
  * (C) 2004 John Ellis
- * Copyright (C) 2008 - 2009 The Geeqie Team
+ * Copyright (C) 2008 - 2012 The Geeqie Team
  *
  * Author: John Ellis
  *
@@ -42,7 +42,7 @@ struct _EditorDescription {
        gchar *name;            /* Name, localized name presented to user */
        gchar *icon;            /* Icon */
        gchar *exec;            /* Exec */
-       gchar *menu_path;       
+       gchar *menu_path;
        gchar *hotkey;
        GList *ext_list;
        gchar *file;
@@ -78,7 +78,11 @@ extern GtkListStore *desktop_file_list;
 
 extern GHashTable *editors;
 
-void editor_load_descriptions(void);
+void editor_table_finish(void);
+void editor_table_clear(void);
+GList *editor_get_desktop_files(void);
+gboolean editor_read_desktop_file(const gchar *path);
+
 GList *editor_list_get(void);
 
 
@@ -114,7 +118,7 @@ const gchar *editor_get_name(const gchar *key);
 gboolean is_valid_editor_command(const gchar *key);
 gboolean editor_blocks_file(const gchar *key);
 
-EditorFlags editor_command_parse(const EditorDescription *editor, GList *list, gchar **output);
+EditorFlags editor_command_parse(const EditorDescription *editor, GList *list, gboolean consider_sidecars, gchar **output);
 
 #endif
 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */