1.1 --- a/gmyth/src/gmyth_file_transfer.h Thu Mar 22 22:02:12 2007 +0000
1.2 +++ b/gmyth/src/gmyth_file_transfer.h Fri Mar 23 13:52:12 2007 +0000
1.3 @@ -1,4 +1,3 @@
1.4 -/* vim: set sw=2: -*- Mode: C; tab-width: 2; indent-tabs-mode: t; c-basic-offset: 2; c-indent-level: 2-*- */
1.5 /**
1.6 * GMyth Library
1.7 *
1.8 @@ -74,33 +73,33 @@
1.9
1.10 struct _GMythFileTransfer
1.11 {
1.12 - GObject parent;
1.13 + GObject parent;
1.14
1.15 /* Myth URI structure */
1.16 - gchar *filename;
1.17 + gchar *filename;
1.18 GMythBackendInfo *backend_info;
1.19
1.20 /* MythTV version number */
1.21 - gint mythtv_version;
1.22 + gint mythtv_version;
1.23
1.24 /* socket descriptors */
1.25 GMythSocket *control_sock;
1.26 GMythSocket *sock;
1.27
1.28 - GMutex *mutex;
1.29 + GMutex *mutex;
1.30
1.31 - gint64 readposition;
1.32 - guint64 filesize;
1.33 - gint file_id;
1.34 + gint64 readposition;
1.35 + guint64 filesize;
1.36 + gint file_id;
1.37
1.38 GMythFileTransferPrivate *priv;
1.39
1.40 };
1.41
1.42 -GType gmyth_file_transfer_get_type (void);
1.43 -GMythFileTransfer *gmyth_file_transfer_new (const GMythBackendInfo *backend_info);
1.44 -gboolean gmyth_file_transfer_open (GMythFileTransfer *transfer,
1.45 - const gchar* filename);
1.46 +GType gmyth_file_transfer_get_type (void);
1.47 +GMythFileTransfer* gmyth_file_transfer_new (GMythBackendInfo *backend_info);
1.48 +gboolean gmyth_file_transfer_open (GMythFileTransfer *transfer,
1.49 + const gchar* filename);
1.50 void gmyth_file_transfer_close (GMythFileTransfer *transfer);
1.51 gboolean gmyth_file_transfer_is_open (GMythFileTransfer *transfer);
1.52 gint gmyth_file_transfer_read (GMythFileTransfer *transfer,
1.53 @@ -110,12 +109,14 @@
1.54 gint64 gmyth_file_transfer_seek (GMythFileTransfer *transfer,
1.55 guint64 pos,
1.56 gint whence);
1.57 -gboolean gmyth_file_transfer_settimeout (GMythFileTransfer *transfer, gboolean fast);
1.58 +gboolean gmyth_file_transfer_settimeout (GMythFileTransfer *transfer,
1.59 + gboolean fast);
1.60 guint64 gmyth_file_transfer_get_filesize (GMythFileTransfer *transfer);
1.61
1.62 -void gmyth_file_transfer_emit_program_info_changed_signal ( GMythFileTransfer *transfer,
1.63 - gint msg_code,
1.64 - gpointer live_tv_recorder );
1.65 +void gmyth_file_transfer_emit_program_info_changed_signal (
1.66 + GMythFileTransfer *transfer,
1.67 + gint msg_code,
1.68 + gpointer live_tv_recorder );
1.69
1.70 G_END_DECLS
1.71