Top | ![]() |
![]() |
![]() |
![]() |
Bonobo_ActivationProperty * | bonobo_server_info_prop_find () |
Bonobo_ActivationID | bonobo_activation_info_stringify () |
BonoboActivationInfo * | bonobo_activation_servinfo_to_actinfo () |
BonoboActivationInfo * | bonobo_activation_id_parse () |
BonoboActivationInfo * | bonobo_activation_info_new () |
void | bonobo_activation_info_free () |
const char * | bonobo_server_info_prop_lookup () |
Bonobo_ServerInfo * | bonobo_activation_get_default_component_for_mime_type () |
GList * | bonobo_activation_get_all_components_for_mime_type () |
Bonobo_ActivationProperty * bonobo_server_info_prop_find (Bonobo_ServerInfo *server
,const char *prop_name
);
Tries to find a server with the given property. Returns NULL if not found.
Bonobo_ActivationID
bonobo_activation_info_stringify (const BonoboActivationInfo *actinfo
);
bonobo_activation_info_stringify
is deprecated and should not be used in newly-written code.
Serializes actinfo
into a char *. Should be freed with g_free()
.
BonoboActivationInfo *
bonobo_activation_servinfo_to_actinfo (const Bonobo_ServerInfo *servinfo
);
bonobo_activation_servinfo_to_actinfo
is deprecated and should not be used in newly-written code.
This function converts a Bonobo_ServerInfo
structure to a
BonoboActivationInfo
structure. The returned structure should
be freed with bonobo_activation_info_free.
BonoboActivationInfo *
bonobo_activation_id_parse (const CORBA_char *actid
);
bonobo_activation_id_parse
is deprecated and should not be used in newly-written code.
Returns a pointer to a newly allocated BonoboActivationInfo
structure (to be freed with bonobo_activation_info_free) initialized
with the data of actid
.
BonoboActivationInfo *
bonobo_activation_info_new (void
);
bonobo_activation_info_new
is deprecated and should not be used in newly-written code.
This function allocates a BonoboActicationInfo
structure and returns it.
Should NOT be called from outside of this code.
void
bonobo_activation_info_free (BonoboActivationInfo *actinfo
);
bonobo_activation_info_free
is deprecated and should not be used in newly-written code.
Frees actinfo
.
const char * bonobo_server_info_prop_lookup (Bonobo_ServerInfo *server
,const char *prop_name
,GSList *i18n_languages
);
Bonobo_ServerInfo *
bonobo_activation_get_default_component_for_mime_type
(const char *mime_type
);
Query the MIME database for the default Bonobo component to be activated to
view files of MIME type mime_type
.
a Bonobo_ServerInfo * representing the OAF server to be activated to get a reference to the proper component.
Since: 2.16.0
GList *
bonobo_activation_get_all_components_for_mime_type
(const char *mime_type
);
Return an alphabetically sorted list of Bonobo_ServerInfo
data structures representing all Bonobo components registered
to handle files of mime_type
(and supertypes).
a GList * where the elements are Bonobo_ServerInfo *
representing components that can handle mime_type
.
Since: 2.16.0