<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>libgnomevfsmm: Gnome::Vfs::Mime Namespace Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a></div> <h1>Gnome::Vfs::Mime Namespace Reference</h1> <p> <table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> <tr><td colspan=2><br><h2>Typedefs</h2></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>typedef Glib::ListHandle<<br> <a class="el" href="classGnome_1_1Vfs_1_1MimeApplication.html">Gnome::Vfs::MimeApplication</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a0">ListHandleApps</a></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>typedef GList * </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a1">ListHandleComps</a></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>typedef Glib::ListHandle<<br> Glib::ustring > </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a2">ListHandleStrings</a></td></tr> <tr><td colspan=2><br><h2>Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__libgnomevfsmmEnums.html#a69">MimeActionType</a> </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a3">get_default_action_type</a> (const Glib::ustring &mime_type)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get a default action type for specified <em>mime_type</em>. </em> <a href="#a3"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classGnome_1_1Vfs_1_1MimeApplication.html">MimeApplication</a> </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a4">get_default_application</a> (const Glib::ustring &mime_type)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the default application for specified <em>mime_type</em>. </em> <a href="#a4"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>GnomeVFSMimeAction * </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a5">get_default_action</a> (const Glib::ustring &mime_type)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the default action for specified <em>mime_type</em>. </em> <a href="#a5"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>Bonobo_ServerInfo * </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a6">get_default_component</a> (const Glib::ustring &mime_type)</td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a0">ListHandleApps</a> </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a7">get_short_list_applications</a> (const Glib::ustring &mime_type)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get a short list of applications for specified <em>mime_type</em>. </em> <a href="#a7"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a0">ListHandleApps</a> </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a8">get_all_applications</a> (const Glib::ustring &mime_type)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the entire list of applications for specified <em>mime_type</em>. </em> <a href="#a8"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a1">ListHandleComps</a> </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a9">get_short_list_components</a> (const Glib::ustring &mime_type)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get a short list of actions for specified <em>mime_type</em>. </em> <a href="#a9"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a1">ListHandleComps</a> </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a10">get_all_components</a> (const Glib::ustring &mime_type)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the entire list of actions for specified <em>mime_type</em>. </em> <a href="#a10"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a11">id_in_application_list</a> (const Glib::ustring &id, const <a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a0">ListHandleApps</a> &applications)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Test if an application ID is in a list of applications. </em> <a href="#a11"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a2">ListHandleStrings</a> </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a12">id_list_from_application_list</a> (const <a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a0">ListHandleApps</a> &applications)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get a list of IDs corresponding to the applications in a list. </em> <a href="#a12"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a13">id_in_component_list</a> (const Glib::ustring &iid, <a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a1">ListHandleComps</a> components)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Test if a component id is in a list of components. </em> <a href="#a13"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a2">ListHandleStrings</a> </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a14">id_list_from_component_list</a> (<a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a1">ListHandleComps</a> components)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get a list of OAF IID's corresponding to the Bonobo_ServerInfos in a list. </em> <a href="#a14"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>Glib::ustring </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a15">get_icon</a> (const Glib::ustring &mime_type)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Query the MIME database for an icon representing the specified MIME type. </em> <a href="#a15"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>Glib::ustring </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a16">get_description</a> (const Glib::ustring &mime_type)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Query the MIME database for a description of the specified MIME type. </em> <a href="#a16"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a17">can_be_executable</a> (const Glib::ustring &mime_type)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Test whether files of this MIME type might conceivably be executable. </em> <a href="#a17"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a18">type_is_known</a> (const Glib::ustring &mime_type)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Test to see if <em>mime_type</em> is in the MIME database at all. </em> <a href="#a18"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a2">ListHandleStrings</a> </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a19">get_extensions_list</a> (const Glib::ustring &mime_type)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the file extensions associated with an MIME type. </em> <a href="#a19"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>Glib::ustring </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a20">get_extensions_string</a> (const Glib::ustring &mime_type, bool pretty=false)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the extensions associated with <em>mime_type</em>. </em> <a href="#a20"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a2">ListHandleStrings</a> </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a21">get_registered_types</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get a list of registered MIME types from the MIME database. </em> <a href="#a21"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>Glib::ustring </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a22">get_value</a> (Glib::ustring &mime_type, Glib::ustring &key)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieve the value associated with <em>key</em> in the given GnomeMimeContext. </em> <a href="#a22"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a2">ListHandleStrings</a> </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a23">get_key_list</a> (Glib::ustring &mime_type)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieve a list of all keys associated with <em>mime_type</em>. </em> <a href="#a23"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a24">set_default_action_type</a> (const Glib::ustring &mime_type, <a class="el" href="group__libgnomevfsmmEnums.html#a69">MimeActionType</a> action_type) throw (exception)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the default action type to be performed on files of the specified MIME type. </em> <a href="#a24"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a25">set_default_application</a> (const Glib::ustring &mime_type, const Glib::ustring &application_id) throw (exception)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the default application to run on files of the specified MIME type. </em> <a href="#a25"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a26">set_default_component</a> (const Glib::ustring &mime_type, const Glib::ustring &iid) throw (exception)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the default component to use with files of the specified MIME type. </em> <a href="#a26"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a27">set_icon</a> (const Glib::ustring &mime_type, const Glib::ustring &filename) throw (exception)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the icon entry for a particular MIME type in the MIME database. </em> <a href="#a27"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a28">set_description</a> (const Glib::ustring &mime_type, const Glib::ustring &description) throw (exception)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the description of this MIME type in the MIME database. </em> <a href="#a28"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a29">set_can_be_executable</a> (const Glib::ustring &mime_type, bool new_value) throw (exception)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set whether files of this MIME type might conceivably be executable. </em> <a href="#a29"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a30">set_short_list_applications</a> (const Glib::ustring &mime_type, <a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a2">ListHandleStrings</a> &application_ids) throw (exception)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the short list of applications for the specified MIME type. </em> <a href="#a30"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a31">set_short_list_components</a> (const Glib::ustring &mime_type, <a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a2">ListHandleStrings</a> &component_iids) throw (exception)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the short list of components for the specified MIME type. </em> <a href="#a31"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a32">add_application_to_short_list</a> (const Glib::ustring &mime_type, Glib::ustring &application_id) throw (exception)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Add an application to the short list for the specified MIME type. </em> <a href="#a32"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a33">remove_application_from_short_list</a> (const Glib::ustring &mime_type, Glib::ustring &application_id) throw (exception)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Remove an application from the short list for the specified MIME type. </em> <a href="#a33"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a34">add_component_to_short_list</a> (const Glib::ustring &mime_type, Glib::ustring &component_iid) throw (exception)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Add a component to the short list for the specified MIME type. </em> <a href="#a34"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a35">remove_component_from_short_list</a> (const Glib::ustring &mime_type, Glib::ustring &component_iid) throw (exception)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Remove a component from the short list for the specified MIME type. </em> <a href="#a35"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a36">add_extension</a> (const Glib::ustring &mime_type, Glib::ustring &extension) throw (exception)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Add a file extension to the specified MIME type in the database. </em> <a href="#a36"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a37">remove_extension</a> (const Glib::ustring &mime_type, Glib::ustring &extension) throw (exception)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Removes a file extension from the specified MIME type in the database. </em> <a href="#a37"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a38">set_extensions_list</a> (const Glib::ustring &mime_type, const Glib::ustring &extensions_list) throw (exception)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the extensions for a given mime type. </em> <a href="#a38"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a39">extend_all_applications</a> (const Glib::ustring &mime_type, <a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a2">ListHandleStrings</a> &application_ids) throw (exception)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Register <em>mime_type</em> as being handled by all applications listed in <em>application_ids</em>. </em> <a href="#a39"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a40">remove_from_all_applications</a> (const Glib::ustring &mime_type, <a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a2">ListHandleStrings</a> &application_ids) throw (exception)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Remove <em>mime_type</em> as a handled type from every application in <em>application_ids</em>. </em> <a href="#a40"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a41">registered_mime_type_delete</a> (const Glib::ustring &mime_type)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Delete an MIME type for the user who runs this command. </em> <a href="#a41"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a42">set_registered_type_key</a> (const Glib::ustring &mime_type, const Glib::ustring &key, const Glib::ustring &data) throw (exception)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the key data for the registered MIME type's hash table. </em> <a href="#a42"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a43">set_value</a> (const Glib::ustring &mime_type, const Glib::ustring &key, const Glib::ustring &value) throw (exception)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the value associated with the key. </em> <a href="#a43"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a44">freeze</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Freeze the MIME data so that you can do multiple updates to the data in one batch without needing to back-up the files to disk or rewind them. </em> <a href="#a44"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a45">thaw</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">UnFreeze the MIME data after a freeze. </em> <a href="#a45"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a46">info_reload</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Reload the MIME database from disk. </em> <a href="#a46"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a47">reset</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Reset the user's MIME database to the system defaults. </em> <a href="#a47"></a><em><br><br></td></tr> </table> <hr><h2>Typedef Documentation</h2> <a name="a0" doxytag="Gnome::Vfs::Mime::ListHandleApps"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> typedef Glib::ListHandle<<a class="el" href="classGnome_1_1Vfs_1_1MimeApplication.html">Gnome::Vfs::MimeApplication</a>*> <a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a0">Gnome::Vfs::Mime::ListHandleApps</a> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a1" doxytag="Gnome::Vfs::Mime::ListHandleComps"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> typedef GList* <a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a1">Gnome::Vfs::Mime::ListHandleComps</a> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a2" doxytag="Gnome::Vfs::Mime::ListHandleStrings"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> typedef Glib::ListHandle<Glib::ustring> <a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a2">Gnome::Vfs::Mime::ListHandleStrings</a> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr><h2>Function Documentation</h2> <a name="a32" doxytag="Gnome::Vfs::Mime::add_application_to_short_list"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void add_application_to_short_list </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const Glib::ustring & </td> <td class="mdname" nowrap> <em>mime_type</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>Glib::ustring & </td> <td class="mdname" nowrap> <em>application_id</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"> throw (<a class="el" href="classGnome_1_1Vfs_1_1exception.html">exception</a>)</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Add an application to the short list for the specified MIME type. <p> The short list contains applications recommended for possible selection by the user. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>mime_type</em> </td><td>A string containing an MIME type. </td></tr> <tr><td valign=top><em>application_id</em> </td><td>A string containing the application's ID in the MIME database. </td></tr> </table> </dl> </td> </tr> </table> <a name="a34" doxytag="Gnome::Vfs::Mime::add_component_to_short_list"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void add_component_to_short_list </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const Glib::ustring & </td> <td class="mdname" nowrap> <em>mime_type</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>Glib::ustring & </td> <td class="mdname" nowrap> <em>component_iid</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"> throw (<a class="el" href="classGnome_1_1Vfs_1_1exception.html">exception</a>)</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Add a component to the short list for the specified MIME type. <p> The short list contains components recommended for possible selection by the user. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>mime_type</em> </td><td>A string containing an MIME type. </td></tr> <tr><td valign=top><em>component_iid</em> </td><td>A string containing the component's OAF IID in the MIME database. </td></tr> </table> </dl> </td> </tr> </table> <a name="a36" doxytag="Gnome::Vfs::Mime::add_extension"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void add_extension </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const Glib::ustring & </td> <td class="mdname" nowrap> <em>mime_type</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>Glib::ustring & </td> <td class="mdname" nowrap> <em>extension</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"> throw (<a class="el" href="classGnome_1_1Vfs_1_1exception.html">exception</a>)</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Add a file extension to the specified MIME type in the database. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>mime_type</em> </td><td>The mime type to add the extension to. </td></tr> <tr><td valign=top><em>extension</em> </td><td>The extension to add. </td></tr> </table> </dl> </td> </tr> </table> <a name="a17" doxytag="Gnome::Vfs::Mime::can_be_executable"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool can_be_executable </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const Glib::ustring & </td> <td class="mdname1" valign="top" nowrap> <em>mime_type</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Test whether files of this MIME type might conceivably be executable. <p> Default for known types is <code>false</code>. Default for unknown types is <code>true</code>. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>mime_type</em> </td><td>A string containing an MIME type. </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd><code>true</code> if some files of this MIME type are registered as being executable, and <code>false</code> otherwise. </dd></dl> </td> </tr> </table> <a name="a39" doxytag="Gnome::Vfs::Mime::extend_all_applications"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void extend_all_applications </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const Glib::ustring & </td> <td class="mdname" nowrap> <em>mime_type</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>ListHandleStrings & </td> <td class="mdname" nowrap> <em>application_ids</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"> throw (<a class="el" href="classGnome_1_1Vfs_1_1exception.html">exception</a>)</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Register <em>mime_type</em> as being handled by all applications listed in <em>application_ids</em>. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>mime_type</em> </td><td>A string containing an MIME type. </td></tr> <tr><td valign=top><em>application_ids</em> </td><td>A list of strings containing application ids. </td></tr> </table> </dl> </td> </tr> </table> <a name="a44" doxytag="Gnome::Vfs::Mime::freeze"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void freeze </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Freeze the MIME data so that you can do multiple updates to the data in one batch without needing to back-up the files to disk or rewind them. <p> </td> </tr> </table> <a name="a8" doxytag="Gnome::Vfs::Mime::get_all_applications"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a0">ListHandleApps</a> get_all_applications </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const Glib::ustring & </td> <td class="mdname1" valign="top" nowrap> <em>mime_type</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Get the entire list of applications for specified <em>mime_type</em>. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>mime_type</em> </td><td>A string containing an MIME type. </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>A list of all MimeApplications for this MIME type. </dd></dl> </td> </tr> </table> <a name="a10" doxytag="Gnome::Vfs::Mime::get_all_components"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a1">ListHandleComps</a> get_all_components </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const Glib::ustring & </td> <td class="mdname1" valign="top" nowrap> <em>mime_type</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Get the entire list of actions for specified <em>mime_type</em>. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>mime_type</em> </td><td>A string containing an MIME type. </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>A list of all <a class="el" href="classGnome_1_1Vfs_1_1MimeAction.html">MimeAction</a> 's for this MIME type. </dd></dl> </td> </tr> </table> <a name="a5" doxytag="Gnome::Vfs::Mime::get_default_action"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> GnomeVFSMimeAction* get_default_action </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const Glib::ustring & </td> <td class="mdname1" valign="top" nowrap> <em>mime_type</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Get the default action for specified <em>mime_type</em>. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>mime_type</em> </td><td>A string containing an MIME type. </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>An <a class="el" href="classGnome_1_1Vfs_1_1MimeAction.html">MimeAction</a> representing the default action for this MIME type. </dd></dl> </td> </tr> </table> <a name="a3" doxytag="Gnome::Vfs::Mime::get_default_action_type"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__libgnomevfsmmEnums.html#a69">MimeActionType</a> get_default_action_type </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const Glib::ustring & </td> <td class="mdname1" valign="top" nowrap> <em>mime_type</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Get a default action type for specified <em>mime_type</em>. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>mime_type</em> </td><td>A string containing an MIME type. </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>An enum value representing what to do for this MIME type. </dd></dl> </td> </tr> </table> <a name="a4" doxytag="Gnome::Vfs::Mime::get_default_application"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classGnome_1_1Vfs_1_1MimeApplication.html">MimeApplication</a> get_default_application </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const Glib::ustring & </td> <td class="mdname1" valign="top" nowrap> <em>mime_type</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Get the default application for specified <em>mime_type</em>. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>mime_type</em> </td><td>A string containing an MIME type. </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>An <a class="el" href="classGnome_1_1Vfs_1_1MimeApplication.html">MimeApplication</a> representing the default application for this MIME type. </dd></dl> </td> </tr> </table> <a name="a6" doxytag="Gnome::Vfs::Mime::get_default_component"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Bonobo_ServerInfo* get_default_component </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const Glib::ustring & </td> <td class="mdname1" valign="top" nowrap> <em>mime_type</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a16" doxytag="Gnome::Vfs::Mime::get_description"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Glib::ustring get_description </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const Glib::ustring & </td> <td class="mdname1" valign="top" nowrap> <em>mime_type</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Query the MIME database for a description of the specified MIME type. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>mime_type</em> </td><td>A string containing an MIME type. </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>A description of the MIME type. </dd></dl> </td> </tr> </table> <a name="a19" doxytag="Gnome::Vfs::Mime::get_extensions_list"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a2">ListHandleStrings</a> get_extensions_list </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const Glib::ustring & </td> <td class="mdname1" valign="top" nowrap> <em>mime_type</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Get the file extensions associated with an MIME type. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>mime_type</em> </td><td>A string containing an MIME type. </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>A list of strings of extensions. </dd></dl> </td> </tr> </table> <a name="a20" doxytag="Gnome::Vfs::Mime::get_extensions_string"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Glib::ustring get_extensions_string </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const Glib::ustring & </td> <td class="mdname" nowrap> <em>mime_type</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>bool </td> <td class="mdname" nowrap> <em>pretty</em> = false</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Retrieves the extensions associated with <em>mime_type</em>. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>mime_type</em> </td><td>A string containing an MIME type. </td></tr> <tr><td valign=top><em>pretty</em> </td><td>Whether to format the returned string with spaces (<code>false</code>) or commas (<code>true</code>). </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>A string containing extensions for this mime-type, formatted based on <em>pretty</em>. </dd></dl> </td> </tr> </table> <a name="a15" doxytag="Gnome::Vfs::Mime::get_icon"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Glib::ustring get_icon </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const Glib::ustring & </td> <td class="mdname1" valign="top" nowrap> <em>mime_type</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Query the MIME database for an icon representing the specified MIME type. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>mime_type</em> </td><td>A string containing an MIME type. </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>The filename of the icon as listed in the MIME database. This is usually a filename without path information, e.g. "i-chardev.png", and sometimes does not have an extension, e.g. "i-regular" if the icon is supposed to be image type agnostic between icon themes. Icons are generic, and not theme specific. These will not necessarily match with the icons a user sees in Nautilus, you have been warned. </dd></dl> </td> </tr> </table> <a name="a23" doxytag="Gnome::Vfs::Mime::get_key_list"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a2">ListHandleStrings</a> get_key_list </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">Glib::ustring & </td> <td class="mdname1" valign="top" nowrap> <em>mime_type</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Retrieve a list of all keys associated with <em>mime_type</em>. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>mime_type</em> </td><td>A string containing an MIME type to lookup. </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>A list of strings containing keys associated with <em>mime_type</em>. </dd></dl> </td> </tr> </table> <a name="a21" doxytag="Gnome::Vfs::Mime::get_registered_types"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a2">ListHandleStrings</a> get_registered_types </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Get a list of registered MIME types from the MIME database. <p> <dl compact><dt><b>Returns:</b></dt><dd>A list of strings containing the MIME types registered. </dd></dl> </td> </tr> </table> <a name="a7" doxytag="Gnome::Vfs::Mime::get_short_list_applications"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a0">ListHandleApps</a> get_short_list_applications </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const Glib::ustring & </td> <td class="mdname1" valign="top" nowrap> <em>mime_type</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Get a short list of applications for specified <em>mime_type</em>. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>mime_type</em> </td><td>A string containing an MIME type. </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>A short list of MimeApplications for this MIME type. </dd></dl> </td> </tr> </table> <a name="a9" doxytag="Gnome::Vfs::Mime::get_short_list_components"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a1">ListHandleComps</a> get_short_list_components </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const Glib::ustring & </td> <td class="mdname1" valign="top" nowrap> <em>mime_type</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Get a short list of actions for specified <em>mime_type</em>. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>mime_type</em> </td><td>A string containing an MIME type. </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>A short list of <a class="el" href="classGnome_1_1Vfs_1_1MimeAction.html">MimeAction</a> 's for this MIME type. </dd></dl> </td> </tr> </table> <a name="a22" doxytag="Gnome::Vfs::Mime::get_value"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Glib::ustring get_value </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">Glib::ustring & </td> <td class="mdname" nowrap> <em>mime_type</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>Glib::ustring & </td> <td class="mdname" nowrap> <em>key</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Retrieve the value associated with <em>key</em> in the given GnomeMimeContext. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>mime_type</em> </td><td>A string containing an MIME type. </td></tr> <tr><td valign=top><em>key</em> </td><td>A key to lookup for the given MIME type. </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>A string containing the data for the MIME type and key. </dd></dl> </td> </tr> </table> <a name="a11" doxytag="Gnome::Vfs::Mime::id_in_application_list"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool id_in_application_list </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const Glib::ustring & </td> <td class="mdname" nowrap> <em>id</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const ListHandleApps & </td> <td class="mdname" nowrap> <em>applications</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Test if an application ID is in a list of applications. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>id</em> </td><td>A string containing the application ID. </td></tr> <tr><td valign=top><em>applications</em> </td><td>A list of MimeApplications. </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd><code>true</code> if the ID is in this application list; <code>false</code> otherwise. </dd></dl> </td> </tr> </table> <a name="a13" doxytag="Gnome::Vfs::Mime::id_in_component_list"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool id_in_component_list </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const Glib::ustring & </td> <td class="mdname" nowrap> <em>iid</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>ListHandleComps </td> <td class="mdname" nowrap> <em>components</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Test if a component id is in a list of components. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>iid</em> </td><td>A string containing a component's OAF IID. </td></tr> <tr><td valign=top><em>components</em> </td><td>A GList* whose nodes are Bonobo_ServerInfos, such as the result of gnome_vfs_mime_get_short_list_components(). </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd><code>true</code> if the id is in this component list; <code>false</code> otherwise. </dd></dl> </td> </tr> </table> <a name="a12" doxytag="Gnome::Vfs::Mime::id_list_from_application_list"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a2">ListHandleStrings</a> id_list_from_application_list </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const ListHandleApps & </td> <td class="mdname1" valign="top" nowrap> <em>applications</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Get a list of IDs corresponding to the applications in a list. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>applications</em> </td><td>A list of MimeApplications. </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>A list of strings corresponding to the ID of each application in <em>applications</em>. </dd></dl> </td> </tr> </table> <a name="a14" doxytag="Gnome::Vfs::Mime::id_list_from_component_list"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a2">ListHandleStrings</a> id_list_from_component_list </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">ListHandleComps </td> <td class="mdname1" valign="top" nowrap> <em>components</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Get a list of OAF IID's corresponding to the Bonobo_ServerInfos in a list. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>components</em> </td><td>A GList* of Bonobo_ServerInfos. </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>A list of strings corresponding to the iid of each component in <em>components</em>. </dd></dl> </td> </tr> </table> <a name="a46" doxytag="Gnome::Vfs::Mime::info_reload"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void info_reload </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Reload the MIME database from disk. <p> This als notifies any listeners holding active <a class="el" href="classGnome_1_1Vfs_1_1MimeMonitor.html">Gnome::Vfs::MimeMonitor</a> objects. </td> </tr> </table> <a name="a41" doxytag="Gnome::Vfs::Mime::registered_mime_type_delete"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void registered_mime_type_delete </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const Glib::ustring & </td> <td class="mdname1" valign="top" nowrap> <em>mime_type</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Delete an MIME type for the user who runs this command. <p> You can only undo this by calling <a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html#a47">Gnome::Vfs::Mime::reset()</a>. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>mime_type</em> </td><td>A string containing the MIME type to delete. </td></tr> </table> </dl> </td> </tr> </table> <a name="a33" doxytag="Gnome::Vfs::Mime::remove_application_from_short_list"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void remove_application_from_short_list </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const Glib::ustring & </td> <td class="mdname" nowrap> <em>mime_type</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>Glib::ustring & </td> <td class="mdname" nowrap> <em>application_id</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"> throw (<a class="el" href="classGnome_1_1Vfs_1_1exception.html">exception</a>)</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Remove an application from the short list for the specified MIME type. <p> The short list contains applications recommended for possible selection by the user. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>mime_type</em> </td><td>A string containing an MIME type. </td></tr> <tr><td valign=top><em>application_id</em> </td><td>A string containing the application's ID in the MIME database. </td></tr> </table> </dl> </td> </tr> </table> <a name="a35" doxytag="Gnome::Vfs::Mime::remove_component_from_short_list"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void remove_component_from_short_list </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const Glib::ustring & </td> <td class="mdname" nowrap> <em>mime_type</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>Glib::ustring & </td> <td class="mdname" nowrap> <em>component_iid</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"> throw (<a class="el" href="classGnome_1_1Vfs_1_1exception.html">exception</a>)</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Remove a component from the short list for the specified MIME type. <p> The short list contains components recommended for possible selection by the user. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>mime_type</em> </td><td>A string containing an MIME type. </td></tr> <tr><td valign=top><em>component_iid</em> </td><td>A string containing the component's OAF IID in the MIME database. </td></tr> </table> </dl> </td> </tr> </table> <a name="a37" doxytag="Gnome::Vfs::Mime::remove_extension"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void remove_extension </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const Glib::ustring & </td> <td class="mdname" nowrap> <em>mime_type</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>Glib::ustring & </td> <td class="mdname" nowrap> <em>extension</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"> throw (<a class="el" href="classGnome_1_1Vfs_1_1exception.html">exception</a>)</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Removes a file extension from the specified MIME type in the database. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>mime_type</em> </td><td>The mime type to remove the extension from. </td></tr> <tr><td valign=top><em>extension</em> </td><td>The extension to remove. </td></tr> </table> </dl> </td> </tr> </table> <a name="a40" doxytag="Gnome::Vfs::Mime::remove_from_all_applications"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void remove_from_all_applications </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const Glib::ustring & </td> <td class="mdname" nowrap> <em>mime_type</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>ListHandleStrings & </td> <td class="mdname" nowrap> <em>application_ids</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"> throw (<a class="el" href="classGnome_1_1Vfs_1_1exception.html">exception</a>)</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Remove <em>mime_type</em> as a handled type from every application in <em>application_ids</em>. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>mime_type</em> </td><td>A string containing an MIME type. </td></tr> <tr><td valign=top><em>application_ids</em> </td><td>A list of strings containing application ids. </td></tr> </table> </dl> </td> </tr> </table> <a name="a47" doxytag="Gnome::Vfs::Mime::reset"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void reset </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Reset the user's MIME database to the system defaults. <p> </td> </tr> </table> <a name="a29" doxytag="Gnome::Vfs::Mime::set_can_be_executable"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void set_can_be_executable </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const Glib::ustring & </td> <td class="mdname" nowrap> <em>mime_type</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>bool </td> <td class="mdname" nowrap> <em>new_value</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"> throw (<a class="el" href="classGnome_1_1Vfs_1_1exception.html">exception</a>)</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Set whether files of this MIME type might conceivably be executable. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>mime_type</em> </td><td>A string containing an MIME type. </td></tr> <tr><td valign=top><em>new_value</em> </td><td>A boolean value indicating whether <em>mime_type</em> could be executable. </td></tr> </table> </dl> </td> </tr> </table> <a name="a24" doxytag="Gnome::Vfs::Mime::set_default_action_type"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void set_default_action_type </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const Glib::ustring & </td> <td class="mdname" nowrap> <em>mime_type</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="group__libgnomevfsmmEnums.html#a69">MimeActionType</a> </td> <td class="mdname" nowrap> <em>action_type</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"> throw (<a class="el" href="classGnome_1_1Vfs_1_1exception.html">exception</a>)</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Sets the default action type to be performed on files of the specified MIME type. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>mime_type</em> </td><td>A string containing an MIME type. </td></tr> <tr><td valign=top><em>action_type</em> </td><td>An enum specifying the default action to perform. </td></tr> </table> </dl> </td> </tr> </table> <a name="a25" doxytag="Gnome::Vfs::Mime::set_default_application"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void set_default_application </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const Glib::ustring & </td> <td class="mdname" nowrap> <em>mime_type</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const Glib::ustring & </td> <td class="mdname" nowrap> <em>application_id</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"> throw (<a class="el" href="classGnome_1_1Vfs_1_1exception.html">exception</a>)</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Sets the default application to run on files of the specified MIME type. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>mime_type</em> </td><td>A string containing an MIME type. </td></tr> <tr><td valign=top><em>application_id</em> </td><td>A string containing an ID of an application in the MIME database. </td></tr> </table> </dl> </td> </tr> </table> <a name="a26" doxytag="Gnome::Vfs::Mime::set_default_component"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void set_default_component </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const Glib::ustring & </td> <td class="mdname" nowrap> <em>mime_type</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const Glib::ustring & </td> <td class="mdname" nowrap> <em>iid</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"> throw (<a class="el" href="classGnome_1_1Vfs_1_1exception.html">exception</a>)</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Sets the default component to use with files of the specified MIME type. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>mime_type</em> </td><td>A string containing an MIME type. </td></tr> <tr><td valign=top><em>iid</em> </td><td>A string containing an OAF IID of a component in the MIME database. </td></tr> </table> </dl> </td> </tr> </table> <a name="a28" doxytag="Gnome::Vfs::Mime::set_description"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void set_description </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const Glib::ustring & </td> <td class="mdname" nowrap> <em>mime_type</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const Glib::ustring & </td> <td class="mdname" nowrap> <em>description</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"> throw (<a class="el" href="classGnome_1_1Vfs_1_1exception.html">exception</a>)</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Set the description of this MIME type in the MIME database. <p> The description should be something like "Gnumeric spreadsheet". <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>mime_type</em> </td><td>A string containing an MIME type. </td></tr> <tr><td valign=top><em>description</em> </td><td>A description of this MIME type. </td></tr> </table> </dl> </td> </tr> </table> <a name="a38" doxytag="Gnome::Vfs::Mime::set_extensions_list"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void set_extensions_list </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const Glib::ustring & </td> <td class="mdname" nowrap> <em>mime_type</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const Glib::ustring & </td> <td class="mdname" nowrap> <em>extensions_list</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"> throw (<a class="el" href="classGnome_1_1Vfs_1_1exception.html">exception</a>)</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Sets the extensions for a given mime type. <p> Overrides the previously set extensions. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>mime_type</em> </td><td>A string containing an MIME type. </td></tr> <tr><td valign=top><em>extensions_list</em> </td><td>A whitespace-separated list of the extensions to set for this MIME type. </td></tr> </table> </dl> </td> </tr> </table> <a name="a27" doxytag="Gnome::Vfs::Mime::set_icon"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void set_icon </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const Glib::ustring & </td> <td class="mdname" nowrap> <em>mime_type</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const Glib::ustring & </td> <td class="mdname" nowrap> <em>filename</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"> throw (<a class="el" href="classGnome_1_1Vfs_1_1exception.html">exception</a>)</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Set the icon entry for a particular MIME type in the MIME database. <p> Note that icon entries need not necessarily contain the full path, and do not necessarily need to specify an extension. So "i-regular", "my-special-icon.png", and "some-icon" are all valid icon filenames. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>mime_type</em> </td><td>A string containing an MIME type. </td></tr> <tr><td valign=top><em>filename</em> </td><td>A string containing an image filename. </td></tr> </table> </dl> </td> </tr> </table> <a name="a42" doxytag="Gnome::Vfs::Mime::set_registered_type_key"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void set_registered_type_key </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const Glib::ustring & </td> <td class="mdname" nowrap> <em>mime_type</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const Glib::ustring & </td> <td class="mdname" nowrap> <em>key</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const Glib::ustring & </td> <td class="mdname" nowrap> <em>data</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"> throw (<a class="el" href="classGnome_1_1Vfs_1_1exception.html">exception</a>)</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Set the key data for the registered MIME type's hash table. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>mime_type</em> </td><td>A string containing the MIME type. </td></tr> <tr><td valign=top><em>key</em> </td><td>A string containing the key to set. </td></tr> <tr><td valign=top><em>data</em> </td><td>A string containing the data to set for <em>key</em>. </td></tr> </table> </dl> </td> </tr> </table> <a name="a30" doxytag="Gnome::Vfs::Mime::set_short_list_applications"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void set_short_list_applications </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const Glib::ustring & </td> <td class="mdname" nowrap> <em>mime_type</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>ListHandleStrings & </td> <td class="mdname" nowrap> <em>application_ids</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"> throw (<a class="el" href="classGnome_1_1Vfs_1_1exception.html">exception</a>)</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Set the short list of applications for the specified MIME type. <p> The short list contains applications recommended for possible selection by the user. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>mime_type</em> </td><td>A string containing an MIME type. </td></tr> <tr><td valign=top><em>application_ids</em> </td><td>A list of application IDs. </td></tr> </table> </dl> </td> </tr> </table> <a name="a31" doxytag="Gnome::Vfs::Mime::set_short_list_components"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void set_short_list_components </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const Glib::ustring & </td> <td class="mdname" nowrap> <em>mime_type</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>ListHandleStrings & </td> <td class="mdname" nowrap> <em>component_iids</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"> throw (<a class="el" href="classGnome_1_1Vfs_1_1exception.html">exception</a>)</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Set the short list of components for the specified MIME type. <p> The short list contains components recommended for possible selection by the user. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>mime_type</em> </td><td>A string containing an MIME type. </td></tr> <tr><td valign=top><em>component_iids</em> </td><td>A list of OAF IID's. </td></tr> </table> </dl> </td> </tr> </table> <a name="a43" doxytag="Gnome::Vfs::Mime::set_value"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void set_value </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const Glib::ustring & </td> <td class="mdname" nowrap> <em>mime_type</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const Glib::ustring & </td> <td class="mdname" nowrap> <em>key</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const Glib::ustring & </td> <td class="mdname" nowrap> <em>value</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"> throw (<a class="el" href="classGnome_1_1Vfs_1_1exception.html">exception</a>)</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Set the value associated with the key. <p> Will save it to the user's file if necessary. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>mime_type</em> </td><td>A string containing the MIME type. </td></tr> <tr><td valign=top><em>key</em> </td><td>A string containing the key to stor the value in. </td></tr> <tr><td valign=top><em>value</em> </td><td>A string containing the value to stor in the key. </td></tr> </table> </dl> </td> </tr> </table> <a name="a45" doxytag="Gnome::Vfs::Mime::thaw"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void thaw </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> UnFreeze the MIME data after a freeze. <p> </td> </tr> </table> <a name="a18" doxytag="Gnome::Vfs::Mime::type_is_known"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool type_is_known </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const Glib::ustring & </td> <td class="mdname1" valign="top" nowrap> <em>mime_type</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Test to see if <em>mime_type</em> is in the MIME database at all. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>mime_type</em> </td><td>A string containing an MIME type. </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd><code>true</code> if anything is known about <em>mime_type</em>, otherwise <code>false</code>. </dd></dl> </td> </tr> </table> <hr size="1"><address style="align: right;"><small>Generated on Fri Dec 12 07:51:30 2003 for libgnomevfsmm by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> </body> </html>