diff options
author | Cosimo Cecchi <cosimo.cecchi@collabora.co.uk> | 2009-05-16 00:15:36 +0800 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2009-06-01 23:53:17 +0800 |
commit | 69765b1425c0ab80df655df5a5e7a96b707beee6 (patch) | |
tree | 3ea9bea85bc1d9f28ac65f5e42a291f24eca0efe /libempathy/empathy-tp-file.h | |
parent | 0caac94000e5681e22e0938af94ed5ed4d3d206b (diff) | |
download | gsoc2013-empathy-69765b1425c0ab80df655df5a5e7a96b707beee6.tar gsoc2013-empathy-69765b1425c0ab80df655df5a5e7a96b707beee6.tar.gz gsoc2013-empathy-69765b1425c0ab80df655df5a5e7a96b707beee6.tar.bz2 gsoc2013-empathy-69765b1425c0ab80df655df5a5e7a96b707beee6.tar.lz gsoc2013-empathy-69765b1425c0ab80df655df5a5e7a96b707beee6.tar.xz gsoc2013-empathy-69765b1425c0ab80df655df5a5e7a96b707beee6.tar.zst gsoc2013-empathy-69765b1425c0ab80df655df5a5e7a96b707beee6.zip |
Adapt the code to the tp style.
Diffstat (limited to 'libempathy/empathy-tp-file.h')
-rw-r--r-- | libempathy/empathy-tp-file.h | 47 |
1 files changed, 26 insertions, 21 deletions
diff --git a/libempathy/empathy-tp-file.h b/libempathy/empathy-tp-file.h index 612c00a44..85d693ba8 100644 --- a/libempathy/empathy-tp-file.h +++ b/libempathy/empathy-tp-file.h @@ -1,4 +1,3 @@ -/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * Copyright (C) 2007-2009 Collabora Ltd. * Copyright (C) 2007 Marco Barisione <marco@barisione.org> @@ -34,12 +33,17 @@ G_BEGIN_DECLS #define EMPATHY_TP_FILE_UNKNOWN_SIZE G_MAXUINT64 -#define EMPATHY_TYPE_TP_FILE (empathy_tp_file_get_type ()) -#define EMPATHY_TP_FILE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EMPATHY_TYPE_TP_FILE, EmpathyTpFile)) -#define EMPATHY_TP_FILE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), EMPATHY_TYPE_TP_FILE, EmpathyTpFileClass)) -#define EMPATHY_IS_TP_FILE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EMPATHY_TYPE_TP_FILE)) -#define EMPATHY_IS_TP_FILE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EMPATHY_TYPE_TP_FILE)) -#define EMPATHY_TP_FILE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EMPATHY_TYPE_TP_FILE, EmpathyTpFileClass)) +#define EMPATHY_TYPE_TP_FILE (empathy_tp_file_get_type ()) +#define EMPATHY_TP_FILE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), \ + EMPATHY_TYPE_TP_FILE, EmpathyTpFile)) +#define EMPATHY_TP_FILE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), \ + EMPATHY_TYPE_TP_FILE, EmpathyTpFileClass)) +#define EMPATHY_IS_TP_FILE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), \ + EMPATHY_TYPE_TP_FILE)) +#define EMPATHY_IS_TP_FILE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), \ + EMPATHY_TYPE_TP_FILE)) +#define EMPATHY_TP_FILE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), \ + EMPATHY_TYPE_TP_FILE, EmpathyTpFileClass)) typedef struct _EmpathyTpFile EmpathyTpFile; typedef struct _EmpathyTpFileClass EmpathyTpFileClass; @@ -69,24 +73,25 @@ GType empathy_tp_file_get_type (void) G_GNUC_CONST; /* public methods */ -EmpathyTpFile * empathy_tp_file_new (TpChannel *channel, gboolean incoming); +EmpathyTpFile * empathy_tp_file_new (TpChannel *channel, + gboolean incoming); void empathy_tp_file_accept (EmpathyTpFile *tp_file, - guint64 offset, - GFile *gfile, - GCancellable *cancellable, - EmpathyTpFileProgressCallback progress_callback, - gpointer progress_user_data, - EmpathyTpFileOperationCallback op_callback, - gpointer op_user_data); + guint64 offset, + GFile *gfile, + GCancellable *cancellable, + EmpathyTpFileProgressCallback progress_callback, + gpointer progress_user_data, + EmpathyTpFileOperationCallback op_callback, + gpointer op_user_data); void empathy_tp_file_offer (EmpathyTpFile *tp_file, - GFile *gfile, - GCancellable *cancellable, - EmpathyTpFileProgressCallback progress_callback, - gpointer progress_user_data, - EmpathyTpFileOperationCallback op_callback, - gpointer op_user_data); + GFile *gfile, + GCancellable *cancellable, + EmpathyTpFileProgressCallback progress_callback, + gpointer progress_user_data, + EmpathyTpFileOperationCallback op_callback, + gpointer op_user_data); void empathy_tp_file_cancel (EmpathyTpFile *tp_file); void empathy_tp_file_close (EmpathyTpFile *tp_file); |