![]() |
![]() |
![]() |
Libral, the Rubrica Library 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); gboolean r_telephone_search (RTelephone *telephone, const gchar *str); RTelephone* r_telephone_copy (RTelephone *telephone); RTelephoneType r_telephone_lookup_str2enum (gchar *str); gchar* r_telephone_lookup_enum2str (RTelephoneType type); gchar* r_telephone_lookup_enum2lbl (RTelephoneType type); gchar* r_telephone_lookup_str2lbl (gchar *str);
"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, R_TELEPHONE_INVALID } 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 |
gboolean r_telephone_search (RTelephone *telephone, const gchar *str);
telephone : |
|
str : |
|
Returns : |
RTelephoneType r_telephone_lookup_str2enum (gchar *str);
encode the given string
str : |
|
Returns : | a RTelephoneType |
gchar* r_telephone_lookup_enum2str (RTelephoneType type);
decode the given type
type : |
a RTelephoneType |
Returns : | a gchar* |
gchar* r_telephone_lookup_enum2lbl (RTelephoneType type);
type : |
|
Returns : |
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