aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tls-certificate.h
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2010-08-24 17:53:11 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2010-08-24 18:00:17 +0800
commit1426cd161d371c161e1e6e66ed7b66a163d5bdaa (patch)
tree167097cea5d0604965f2ae0c4316e54c3a5c6e0b /libempathy/empathy-tls-certificate.h
parent4472cbd53db695b41146ec4c9345ee4ab3197b04 (diff)
downloadgsoc2013-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.h16
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,