![]() |
![]() |
![]() |
Shell Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
struct ShellContactSystem; struct ShellContactSystemClass; ShellContactSystem * shell_contact_system_get_default (void
); GeeMap * shell_contact_system_get_all (ShellContactSystem *self
); FolksIndividual * shell_contact_system_get_individual (ShellContactSystem *self
,gchar *id
); char * shell_contact_system_get_email_for_display (ShellContactSystem *self
,FolksIndividual *individual
); GSList * shell_contact_system_initial_search (ShellContactSystem *shell
,GSList *terms
); GSList * shell_contact_system_subsearch (ShellContactSystem *shell
,GSList *previous_results
,GSList *terms
);
ShellContactSystem * shell_contact_system_get_default (void
);
Returns : |
The global ShellContactSystem singleton. [transfer none] |
GeeMap * shell_contact_system_get_all (ShellContactSystem *self
);
|
A ShellContactSystem |
Returns : |
All individuals. [transfer none] |
FolksIndividual * shell_contact_system_get_individual (ShellContactSystem *self
,gchar *id
);
|
A ShellContactSystem |
|
A gchar with the ID of the FolksIndividual to be returned. |
Returns : |
A FolksIndividual or NULL if id could not be found. [transfer full]
|
char * shell_contact_system_get_email_for_display (ShellContactSystem *self
,FolksIndividual *individual
);
Get an email address (either from IM addresses or email), which can be
used to represent individual
.
Return: (transfer full): a newly allocated string or NULL
if no address
was found
|
A ShellContactSystem
individual A FolksIndividual
|
GSList * shell_contact_system_initial_search (ShellContactSystem *shell
,GSList *terms
);
Search through contacts for the given search terms.
|
A ShellContactSystem |
|
List of terms, logical AND. [element-type utf8] |
Returns : |
List of contact identifiers. [transfer container][element-type utf8] |
GSList * shell_contact_system_subsearch (ShellContactSystem *shell
,GSList *previous_results
,GSList *terms
);
Search through a previous result set; for more information see js/ui/search.js.
|
A ShellContactSystem |
|
List of previous results. [element-type utf8] |
|
List of terms, logical AND. [element-type utf8] |
Returns : |
List of contact identifiers. [transfer container][element-type utf8] |