Top | ![]() |
![]() |
![]() |
![]() |
void | (*CallsOriginForeachCallFunc) () |
char * | calls_origin_get_name () |
GList * | calls_origin_get_calls () |
void | calls_origin_foreach_call () |
void | calls_origin_dial () |
gboolean | calls_origin_supports_protocol () |
void (*CallsOriginForeachCallFunc) (gpointer param
,CallsCall *call
,CallsOrigin *origin
);
char *
calls_origin_get_name (CallsOrigin *self
);
Get the user-presentable name of the origin.
Returns (transfer full): A string containing the name. The string must be freed by the caller.
GList *
calls_origin_get_calls (CallsOrigin *self
);
Get the list of current calls.
void calls_origin_foreach_call (CallsOrigin *self
,CallsOriginForeachCallFunc callback
,gpointer param
);
Iterate over all current calls from this origin
void calls_origin_dial (CallsOrigin *self
,const char *number
);
Dial a new number from this origin. If a new call is successfully created, the call-added signal will be emitted with the call. If there is an error, an appropriate message signal will be emitted.
gboolean calls_origin_supports_protocol (CallsOrigin *self
,const char *protocol
);
struct CallsOriginInterface { GTypeInterface parent_iface; void (*dial) (CallsOrigin *self, const char *number); gboolean (*supports_protocol) (CallsOrigin *self, const char *protocol); };
“country-code”
property “country-code” char *
The country code of the origin, if any.
Owner: CallsOrigin
Flags: Read
Default value: NULL
“call-added”
signalvoid user_function (CallsOrigin *callsorigin, CallsCall *arg1, gpointer user_data)
Flags: Run Last
“call-removed”
signalvoid user_function (CallsOrigin *callsorigin, CallsCall *arg1, char *arg2, gpointer user_data)
Flags: Run Last