OssoABookVoicemailContact

OssoABookVoicemailContact — Information about the voicemail box made up as OssoABookContact.

Synopsis

#define             OSSO_ABOOK_VOICEMAIL_CONTACT_UID
#define             OSSO_ABOOK_VOICEMAIL_CONTACT_ICON_NAME
                    OssoABookVoicemailContact;
OssoABookVoicemailContact* osso_abook_voicemail_contact_new
                                                        (void);
OssoABookVoicemailContact* osso_abook_voicemail_contact_get_default
                                                        (void);
char*               osso_abook_voicemail_contact_get_preferred_number
                                                        (OssoABookVoicemailContact *contact);

Object Hierarchy

  GObject
   +----EVCard
         +----EContact
               +----OssoABookContact
                     +----OssoABookGconfContact
                           +----OssoABookVoicemailContact

Implemented Interfaces

OssoABookVoicemailContact implements OssoABookPresence, OssoABookAvatar and OssoABookCaps.

Description

This module provides the OssoABookVoicemailContact class.

Details

OSSO_ABOOK_VOICEMAIL_CONTACT_UID

#define OSSO_ABOOK_VOICEMAIL_CONTACT_UID        "osso-abook-vmbx"

OSSO_ABOOK_VOICEMAIL_CONTACT_ICON_NAME

#define OSSO_ABOOK_VOICEMAIL_CONTACT_ICON_NAME  "general_voicemail_avatar"

OssoABookVoicemailContact

typedef struct _OssoABookVoicemailContact OssoABookVoicemailContact;

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


osso_abook_voicemail_contact_new ()

OssoABookVoicemailContact* osso_abook_voicemail_contact_new
                                                        (void);

Get a OssoABookVoicemailContact.

Returns : A newly allocated OssoABookVoicemailContact.

osso_abook_voicemail_contact_get_default ()

OssoABookVoicemailContact* osso_abook_voicemail_contact_get_default
                                                        (void);

Get a new OssoABookVoicemailContact or a ref to an existing instance.

Returns : A new ref to a OssoABookVoicemailContact.

osso_abook_voicemail_contact_get_preferred_number ()

char*               osso_abook_voicemail_contact_get_preferred_number
                                                        (OssoABookVoicemailContact *contact);

Gets the preferred voicemail number.

contact : the OssoABookVoicemailContact or NULL for default instance
Returns : A newly allocated string or NULL.