clang-tidy: modernize-use-using
[geeqie.git] / src / editors.h
index 85519dd..8f197f7 100644 (file)
@@ -22,6 +22,7 @@
 #ifndef EDITORS_H
 #define EDITORS_H
 
+struct FileData;
 
 enum EditorFlags {
        EDITOR_KEEP_FS            = 0x00000001,
@@ -45,7 +46,7 @@ enum EditorFlags {
        EDITOR_ERROR_MASK         = ~0xffff,
 };
 
-struct _EditorDescription {
+struct EditorDescription {
        gchar *key;             /**< desktop file name, not including path, including extension */
        gchar *name;            /**< Name, localized name presented to user */
        gchar *icon;            /**< Icon */
@@ -91,12 +92,12 @@ extern GtkListStore *desktop_file_list;
 
 extern GHashTable *editors;
 
-void editor_table_finish(void);
-void editor_table_clear(void);
-GList *editor_get_desktop_files(void);
+void editor_table_finish();
+void editor_table_clear();
+GList *editor_get_desktop_files();
 gboolean editor_read_desktop_file(const gchar *path);
 
-GList *editor_list_get(void);
+GList *editor_list_get();
 
 
 /**
@@ -128,8 +129,6 @@ 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);
-
 gboolean is_valid_editor_command(const gchar *key);
 gboolean editor_blocks_file(const gchar *key);