annotate src/remote.h @ 1810:c416d099a3dc

GTK marks several functions as deprecated The following functions has been replaced and deprecated by version 2.20: - GTK_WIDGET_CAN_FOCUS - GTK_WIDGET_DRAWABLE - GTK_WIDGET_HAS_FOCUS - GTK_WIDGET_HAS_GRAB - GTK_WIDGET_IS_SENSITIVE - GTK_WIDGET_NO_WINDOW - GTK_WIDGET_REALIZED - GTK_WIDGET_SENSITIVE - GTK_WIDGET_STATE - GTK_WIDGET_TOPLEVEL - GTK_WIDGET_VISIBLE
author mow
date Mon, 10 May 2010 11:32:56 +0000
parents 956aab097ea7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
1 /*
196
f6e307c7bad6 rename GQview -> Geeqie over the code
nadvornik
parents: 9
diff changeset
2 * Geeqie
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
3 * (C) 2004 John Ellis
1802
956aab097ea7 added 2010 to copyright text
nadvornik
parents: 1554
diff changeset
4 * Copyright (C) 2008 - 2010 The Geeqie Team
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
5 *
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
6 * Author: John Ellis
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
7 *
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
8 * This software is released under the GNU General Public License (GNU GPL).
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
9 * Please read the included file COPYING for more information.
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
10 * This software comes with no warranty of any kind, use at your own risk!
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
11 */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
12
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
13
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
14 #ifndef REMOTE_H
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
15 #define REMOTE_H
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
16
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
17
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
18 typedef struct _RemoteConnection RemoteConnection;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
19
1554
a96a20c7feb1 improved remote protocol to allow bidirectional communication
nadvornik
parents: 1284
diff changeset
20 typedef void RemoteReadFunc(RemoteConnection *rc, const gchar *text, GIOChannel *channel, gpointer data);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
21
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
22 struct _RemoteConnection {
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
23 gint server;
1000
4fe8f9656107 For the sake of consistency, use glib basic types everywhere.
zas_
parents: 652
diff changeset
24 gint fd;
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
25 gchar *path;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
26
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
27 gint channel_id;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
28 RemoteReadFunc *read_func;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
29 gpointer read_data;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
30
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
31 GList *clients;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
32 };
442
4b2d7f9af171 Big whitespaces cleanup:
zas_
parents: 196
diff changeset
33
4b2d7f9af171 Big whitespaces cleanup:
zas_
parents: 196
diff changeset
34
649
3097880d7d95 Move all remote stuff from main.c to remote.[ch].
zas_
parents: 475
diff changeset
35 void remote_close(RemoteConnection *rc);
1000
4fe8f9656107 For the sake of consistency, use glib basic types everywhere.
zas_
parents: 652
diff changeset
36 GList *remote_build_list(GList *list, gint argc, gchar *argv[], GList **errors);
649
3097880d7d95 Move all remote stuff from main.c to remote.[ch].
zas_
parents: 475
diff changeset
37 void remote_help(void);
3097880d7d95 Move all remote stuff from main.c to remote.[ch].
zas_
parents: 475
diff changeset
38 void remote_control(const gchar *arg_exec, GList *remote_list, const gchar *path,
3097880d7d95 Move all remote stuff from main.c to remote.[ch].
zas_
parents: 475
diff changeset
39 GList *cmd_list, GList *collection_list);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
40
649
3097880d7d95 Move all remote stuff from main.c to remote.[ch].
zas_
parents: 475
diff changeset
41 RemoteConnection *remote_server_init(gchar *path, CollectionData *command_collection);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
42
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
43
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
44 #endif
1055
1646720364cf Adding a vim modeline to all files - patch by Klaus Ethgen
nadvornik
parents: 1000
diff changeset
45 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */