TpAutomaticClientFactory

TpAutomaticClientFactory — Factory for specialized TpChannel subclasses.

Synopsis

#include <telepathy-glib/telepathy-glib.h>

                    TpAutomaticClientFactory;
struct              TpAutomaticClientFactoryClass;
TpClientFactory *   tp_automatic_client_factory_new     (TpDBusDaemon *dbus);

Object Hierarchy

  GObject
   +----TpClientFactory
         +----TpAutomaticClientFactory

Description

This factory overrides some TpClientFactory virtual methods to create specialized TpChannel subclasses.

TpAutomaticClientFactory will currently create TpChannel objects as follows:

It is guaranteed that the objects returned by future versions will be either the class that is currently used, or a more specific subclass of that class.

This factory asks to prepare the following features:

Details

TpAutomaticClientFactory

typedef struct _TpAutomaticClientFactory TpAutomaticClientFactory;

Data structure representing a TpAutomaticClientFactory

Since 0.15.5


struct TpAutomaticClientFactoryClass

struct TpAutomaticClientFactoryClass {
    TpClientFactoryClass parent_class;
};

The class of a TpAutomaticClientFactory.

TpClientFactoryClass parent_class;

the parent class

Since 0.15.5


tp_automatic_client_factory_new ()

TpClientFactory *   tp_automatic_client_factory_new     (TpDBusDaemon *dbus);

Returns a new TpAutomaticClientFactory instance. If dbus is NULL then tp_dbus_daemon_dup() will be used.

dbus :

a TpDBusDaemon, or NULL. [allow-none]

Returns :

a new TpAutomaticClientFactory

Since 0.99.1

See Also

TpClientFactory