diff src/editors.h @ 1581:c9c1a16ff8ae

allow external editors without parameters, as long as they are in category 'X-Geeqie'
author nadvornik
date Fri, 01 May 2009 09:49:27 +0000
parents d062522699dc
children 552648eff4f2
line wrap: on
line diff
--- a/src/editors.h	Wed Apr 29 20:28:54 2009 +0000
+++ b/src/editors.h	Fri May 01 09:49:27 2009 +0000
@@ -24,6 +24,7 @@
 	EDITOR_DEST               = 0x00000100,
 	EDITOR_FOR_EACH           = 0x00000200,
 	EDITOR_SINGLE_COMMAND     = 0x00000400,
+	EDITOR_NO_PARAM           = 0x00000800,
 	/* below are errors */
 	EDITOR_ERROR_EMPTY        = 0x00020000,
 	EDITOR_ERROR_SYNTAX       = 0x00040000,
@@ -98,12 +99,14 @@
 
 
 
+EditorFlags start_editor(const gchar *key);
 EditorFlags start_editor_from_file(const gchar *key, FileData *fd);
 EditorFlags start_editor_from_filelist(const gchar *key, GList *list);
 EditorFlags start_editor_from_file_full(const gchar *key, FileData *fd, EditorCallback cb, gpointer data);
 EditorFlags start_editor_from_filelist_full(const gchar *key, GList *list, EditorCallback cb, gpointer data);
 gboolean editor_window_flag_set(const gchar *key);
 gboolean editor_is_filter(const gchar *key);
+gboolean editor_no_param(const gchar *key);
 const gchar *editor_get_error_str(EditorFlags flags);
 
 const gchar *editor_get_name(const gchar *key);