-static void empathy_tp_file_class_init (EmpathyTpFileClass *klass);
-static void empathy_tp_file_init (EmpathyTpFile *tp_file);
-static void tp_file_finalize (GObject *object);
-static GObject *tp_file_constructor (GType type, guint n_props,
- GObjectConstructParam *props);
-static void tp_file_get_property (GObject *object, guint param_id,
- GValue *value, GParamSpec *pspec);
-static void tp_file_set_property (GObject *object, guint param_id,
- const GValue *value, GParamSpec *pspec);
-static void tp_file_destroy_cb (TpChannel *file_chan, EmpathyTpFile *tp_file);
-static void tp_file_closed_cb (TpChannel *file_chan, EmpathyTpFile *tp_file,
- GObject *weak_object);
-static void tp_file_state_changed_cb (DBusGProxy *file_iface, guint state,
- guint reason, EmpathyTpFile *tp_file);
-static void tp_file_transferred_bytes_changed_cb (TpProxy *proxy,
- guint64 count, EmpathyTpFile *tp_file, GObject *weak_object);
-static void copy_stream (GInputStream *in, GOutputStream *out,
- GCancellable *cancellable);
-
-/* EmpathyTpFile object */
-
-#define GET_PRIV(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), \
- EMPATHY_TYPE_TP_FILE, EmpathyTpFilePriv))
-
-typedef struct _EmpathyTpFilePriv EmpathyTpFilePriv;
-
-struct _EmpathyTpFilePriv {
- EmpathyContactFactory *factory;
- McAccount *account;
- gchar *id;
- MissionControl *mc;
- TpChannel *channel;