]> git.0d.be Git - empathy.git/blobdiff - libempathy/empathy-contact-factory.h
Keep a ref to all TpConnection objects. Map account<>connection.
[empathy.git] / libempathy / empathy-contact-factory.h
index bd71514c137f63399e02b98e27a2c4716eaf02e3..16df02bcdd012c0b6ceb291da3aea4d94e18bf52 100644 (file)
@@ -1,6 +1,6 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 /*
- * Copyright (C) 2007 Collabora Ltd.
+ * Copyright (C) 2007-2008 Collabora Ltd.
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -40,10 +40,10 @@ G_BEGIN_DECLS
 
 typedef struct _EmpathyContactFactory      EmpathyContactFactory;
 typedef struct _EmpathyContactFactoryClass EmpathyContactFactoryClass;
-typedef struct _EmpathyContactFactoryPriv  EmpathyContactFactoryPriv;
 
 struct _EmpathyContactFactory {
        GObject parent;
+       gpointer priv;
 };
 
 struct _EmpathyContactFactoryClass {
@@ -51,7 +51,7 @@ struct _EmpathyContactFactoryClass {
 };
 
 GType                  empathy_contact_factory_get_type         (void) G_GNUC_CONST;
-EmpathyContactFactory *empathy_contact_factory_new              (void);
+EmpathyContactFactory *empathy_contact_factory_dup_singleton    (void);
 EmpathyTpContactFactory *empathy_contact_factory_get_tp_factory (EmpathyContactFactory *factory,
                                                                 McAccount             *account);
 EmpathyContact *       empathy_contact_factory_get_user         (EmpathyContactFactory *factory,