Use util_clip_triangle() in pan_item_tri_new()
[geeqie.git] / src / remote.h
index 5e72b19..4b40a6b 100644 (file)
 #ifndef REMOTE_H
 #define REMOTE_H
 
+#include <glib.h>
 
-struct RemoteConnection;
-
-using RemoteReadFunc = void (RemoteConnection *, const gchar *, GIOChannel *, gpointer);
+struct CollectionData;
 
 struct RemoteConnection {
        gint server;
@@ -33,7 +32,9 @@ struct RemoteConnection {
        gchar *path;
 
        gint channel_id;
-       RemoteReadFunc *read_func;
+
+       using ReadFunc = void (RemoteConnection *, const gchar *, GIOChannel *, gpointer);
+       ReadFunc *read_func;
        gpointer read_data;
 
        GList *clients;
@@ -48,7 +49,7 @@ void remote_control(const gchar *arg_exec, GList *remote_list, const gchar *path
 
 RemoteConnection *remote_server_init(gchar *path, CollectionData *command_collection);
 gboolean remote_server_exists(const gchar *path);
-
+gboolean is_remote_command(const gchar *text);
 
 #endif
 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */