| libRAL Reference Manual |
|---|
RubricaTelephoneRubricaTelephone — |
#define RUBRICA_TELEPHONE_TYPE #define RUBRICA_TELEPHONE (obj) #define RUBRICA_TELEPHONE_CLASS (klass) #define IS_RUBRICA_TELEPHONE (obj) #define IS_RUBRICA_TELEPHONE_CLASS (kls) #define RUBRICA_TELEPHONE_GET_CLASS (kls) RubricaTelephonePrivate; enum RubricaTelephoneType; GType rubrica_telephone_get_type (void); RubricaTelephone* rubrica_telephone_new (void); void rubrica_telephone_free (RubricaTelephone *telephone); RubricaTelephone* rubrica_telephone_copy (RubricaTelephone *telephone); gchar* rubrica_telephone_decode_type (RubricaTelephoneType type);
typedef enum {
RUBRICA_TELEPHONE_HOME = 0,
RUBRICA_TELEPHONE_WORK,
RUBRICA_TELEPHONE_FAX,
RUBRICA_TELEPHONE_CELLPHONE,
RUBRICA_TELEPHONE_OTHER,
RUBRICA_TELEPHONE_OPERATOR,
RUBRICA_TELEPHONE_GREEN,
RUBRICA_TELEPHONE_CUSTOMER_CARE,
RUBRICA_TELEPHONE_UNKNOWN
} RubricaTelephoneType;
RubricaTelephone* rubrica_telephone_new (void);
create a new RubricaTelephone
| Returns : | a RubricaTelephone* |
void rubrica_telephone_free (RubricaTelephone *telephone);
free the RubricaTelephone*
telephone : |
a RubricaTelephone |
RubricaTelephone* rubrica_telephone_copy (RubricaTelephone *telephone);
telephone : |
|
| Returns : |
gchar* rubrica_telephone_decode_type (RubricaTelephoneType type);
encode the given string
type : |
a gchar* |
| Returns : | a RubricaTelephoneType |
| << load | RubricaAddress >> |