![]() |
![]() |
![]() |
[Insert name here] Reference Manual | ![]() |
---|---|---|---|---|
#define R_TELEPHONE_TYPE #define R_TELEPHONE (obj) #define R_TELEPHONE_CLASS (klass) #define IS_R_TELEPHONE (obj) #define IS_R_TELEPHONE_CLASS (kls) #define R_TELEPHONE_GET_CLASS (kls) RTelephonePrivate; enum RTelephoneType; RTelephone; GType r_telephone_get_type (void); RTelephone* r_telephone_new (void); void r_telephone_free (RTelephone *telephone); RTelephone* r_telephone_copy (RTelephone *telephone); gchar* r_telephone_decode_type (RTelephoneType type); RTelephoneType r_telephone_encode_type (gchar *type);
"telephone-number" gchararray : Read / Write / Construct "telephone-type" gint : Read / Write / Construct
typedef enum { R_TELEPHONE_HOME = 0, R_TELEPHONE_WORK, R_TELEPHONE_FAX, R_TELEPHONE_CELLPHONE, R_TELEPHONE_PAGER, R_TELEPHONE_OTHER, R_TELEPHONE_OPERATOR, R_TELEPHONE_GREEN, R_TELEPHONE_CUSTOMER_CARE, R_TELEPHONE_UNKNOWN } RTelephoneType;
RTelephone* r_telephone_new (void);
create a new RTelephone
Returns : | a RTelephone* |
void r_telephone_free (RTelephone *telephone);
free the RTelephone*
telephone : |
a RTelephone |
gchar* r_telephone_decode_type (RTelephoneType type);
encode the given string
type : |
a gchar* |
Returns : | a RTelephoneType |
telephone-number
" property"telephone-number" gchararray : Read / Write / Construct
contact's telephone number
Default value: NULL
telephone-type
" property"telephone-type" gint : Read / Write / Construct
telephone number's type. See RTelephoneType for valid values
Allowed values: [0,9]
Default value: 9