OssoABookServiceGroup

OssoABookServiceGroup — A smart group containing contacts related to a specific online service.

Synopsis

                    OssoABookServiceGroup;
OssoABookGroup*     osso_abook_service_group_get        (McAccount *account);
GList*              osso_abook_service_group_get_all    (void);
McAccount*          osso_abook_service_group_get_account
                                                        (OssoABookServiceGroup *group);
OssoABookGroup*     osso_abook_service_group_lookup_by_name
                                                        (const char *unique_name);

Object Hierarchy

  GObject
   +----OssoABookGroup
         +----OssoABookServiceGroup

Properties

  "display-name"             gchar*                : Read / Write
  "service-name"             gchar*                : Read / Write

Description

OssoABookServiceGroup is an object that contains only contacts relating to a specified online service.

Details

OssoABookServiceGroup

typedef struct _OssoABookServiceGroup OssoABookServiceGroup;

All the fields of this structure are private to the object's implementation and should never be accessed directly.


osso_abook_service_group_get ()

OssoABookGroup*     osso_abook_service_group_get        (McAccount *account);

Retrieves the group for the given account type. Note this function is not threadsafe.

account : An McAccount to be attached to this group.
Returns : The OssoABookGroup. This is a singleton; don't g_object_unref() it. Will return NULL if account is incomplete.

osso_abook_service_group_get_all ()

GList*              osso_abook_service_group_get_all    (void);

osso_abook_service_group_get_account ()

McAccount*          osso_abook_service_group_get_account
                                                        (OssoABookServiceGroup *group);

Returns the service group's associated McAccount.

Returns : The McAccount the service group is based around.

osso_abook_service_group_lookup_by_name ()

OssoABookGroup*     osso_abook_service_group_lookup_by_name
                                                        (const char *unique_name);

Retrieves the OssoABookServiceGroup for the specified McAccount.

unique_name : the unique McAccount name
Returns : The matching OssoABookServiceGroup, or NULL when no matching group exists.

Property Details

The "display-name" property

  "display-name"             gchar*                : Read / Write

The name to be shown in the UI.

Default value: ""


The "service-name" property

  "service-name"             gchar*                : Read / Write

The name of the service.

Default value: ""