diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2010-08-24 17:53:11 +0800 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2010-08-24 18:00:17 +0800 |
commit | 1426cd161d371c161e1e6e66ed7b66a163d5bdaa (patch) | |
tree | 167097cea5d0604965f2ae0c4316e54c3a5c6e0b /libempathy/empathy-tls-certificate.h | |
parent | 4472cbd53db695b41146ec4c9345ee4ab3197b04 (diff) | |
download | gsoc2013-empathy-1426cd161d371c161e1e6e66ed7b66a163d5bdaa.tar gsoc2013-empathy-1426cd161d371c161e1e6e66ed7b66a163d5bdaa.tar.gz gsoc2013-empathy-1426cd161d371c161e1e6e66ed7b66a163d5bdaa.tar.bz2 gsoc2013-empathy-1426cd161d371c161e1e6e66ed7b66a163d5bdaa.tar.lz gsoc2013-empathy-1426cd161d371c161e1e6e66ed7b66a163d5bdaa.tar.xz gsoc2013-empathy-1426cd161d371c161e1e6e66ed7b66a163d5bdaa.tar.zst gsoc2013-empathy-1426cd161d371c161e1e6e66ed7b66a163d5bdaa.zip |
Make EmpathyTLSCertificate a TpProxy subclass
Diffstat (limited to 'libempathy/empathy-tls-certificate.h')
-rw-r--r-- | libempathy/empathy-tls-certificate.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/libempathy/empathy-tls-certificate.h b/libempathy/empathy-tls-certificate.h index 7066e5119..d9dd07d44 100644 --- a/libempathy/empathy-tls-certificate.h +++ b/libempathy/empathy-tls-certificate.h @@ -24,6 +24,8 @@ #include <glib-object.h> #include <gio/gio.h> +#include <telepathy-glib/proxy-subclass.h> + #include <extensions/extensions.h> G_BEGIN_DECLS @@ -32,11 +34,11 @@ typedef struct _EmpathyTLSCertificate EmpathyTLSCertificate; typedef struct _EmpathyTLSCertificateClass EmpathyTLSCertificateClass; struct _EmpathyTLSCertificateClass { - GObjectClass parent_class; + TpProxyClass parent_class; }; struct _EmpathyTLSCertificate { - GObject parent; + TpProxy parent; gpointer priv; }; @@ -58,12 +60,16 @@ GType empathy_tls_certificate_get_type (void); (G_TYPE_INSTANCE_GET_CLASS ((obj), EMPATHY_TYPE_TLS_CERTIFICATE, \ EmpathyTLSCertificateClass)) -void empathy_tls_certificate_new_async (const gchar *bus_name, +EmpathyTLSCertificate * empathy_tls_certificate_new (TpDBusDaemon *dbus, + const gchar *bus_name, const gchar *object_path, + GError **error); + +void empathy_tls_certificate_prepare_async (EmpathyTLSCertificate *self, GAsyncReadyCallback callback, gpointer user_data); - -EmpathyTLSCertificate * empathy_tls_certificate_new_finish (GAsyncResult * res, +gboolean empathy_tls_certificate_prepare_finish (EmpathyTLSCertificate *self, + GAsyncResult *result, GError **error); void empathy_tls_certificate_accept_async (EmpathyTLSCertificate *self, |