<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>libgnomevfsmm: application-registry.h File Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.5 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="classes.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> </div> <div class="contents"> <h1>application-registry.h File Reference</h1><code>#include <glibmm.h></code><br> <code>#include <<a class="el" href="enums_8h-source.html">libgnomevfsmm/enums.h</a>></code><br> <code>#include <<a class="el" href="exception_8h-source.html">libgnomevfsmm/exception.h</a>></code><br> <code>#include <<a class="el" href="mime-application_8h-source.html">libgnomevfsmm/mime-application.h</a>></code><br> <code>#include <libgnomevfs/gnome-vfs-application-registry.h></code><br> <p> <a href="application-registry_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Namespaces</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGnome.html">Gnome</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGnome_1_1Vfs.html">Gnome::Vfs</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html">Gnome::Vfs::ApplicationRegistry</a></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> < Glib::ustring > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#3e0992b14ecfe064fa1d17dac489fa49">Gnome::Vfs::ApplicationRegistry::ListHandleStrings</a></td></tr> <tr><td colspan="2"><br><h2>Functions</h2></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_1ApplicationRegistry.html#1c492cd1aad71abe85d09df988188705">Gnome::Vfs::ApplicationRegistry::exists</a> (const Glib::ustring &app_id)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Check to see if there is an entry for <em>app_id</em> in the registry. <a href="#1c492cd1aad71abe85d09df988188705"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">ListHandleStrings </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#25477288cedb42ed48a5495b4151e5eb">Gnome::Vfs::ApplicationRegistry::get_keys</a> (const Glib::ustring &app_id)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get a list of keys for a specified application in the registry. <a href="#25477288cedb42ed48a5495b4151e5eb"></a><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_1ApplicationRegistry.html#975e567a1ddacf93ad430ecbd60013b3">Gnome::Vfs::ApplicationRegistry::peek_value</a> (const Glib::ustring &app_id, const Glib::ustring &key)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the value associated with <em>key</em> for <em>app_id</em> in the registry. <a href="#975e567a1ddacf93ad430ecbd60013b3"></a><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_1ApplicationRegistry.html#53fec8368d553138eee13a9abf0343a7">Gnome::Vfs::ApplicationRegistry::get_bool_value</a> (const Glib::ustring &app_id, const Glib::ustring &key, bool &got_key)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Look up a key in the structure pointed to by <em>app_id</em> and return the boolean value of that key. <a href="#53fec8368d553138eee13a9abf0343a7"></a><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_1ApplicationRegistry.html#999e326221ec03b690823acb4d717291">Gnome::Vfs::ApplicationRegistry::remove_application</a> (const Glib::ustring &app_id)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Remove the application represented by <em>app_id</em> from the registry. <a href="#999e326221ec03b690823acb4d717291"></a><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_1ApplicationRegistry.html#ff5494044be4fc8969a2c64b7ca2b31a">Gnome::Vfs::ApplicationRegistry::set_value</a> (const Glib::ustring &app_id, const Glib::ustring &key, const Glib::ustring &value)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set values pertaining to the registry entry pointed to by <em>app_id</em>. <a href="#ff5494044be4fc8969a2c64b7ca2b31a"></a><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_1ApplicationRegistry.html#423be49b9f3c5dd28dcbebc278f40c21">Gnome::Vfs::ApplicationRegistry::set_value</a> (const Glib::ustring &app_id, const Glib::ustring &key, bool value=true)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set values pertaining to the registry entry pointed to by <em>app_id</em>. <a href="#423be49b9f3c5dd28dcbebc278f40c21"></a><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_1ApplicationRegistry.html#2d067daa002e444c236227710b5716d3">Gnome::Vfs::ApplicationRegistry::unset_key</a> (const Glib::ustring &app_id, const Glib::ustring &key)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Wipe the current value that <em>key</em> contains for <em>app_id</em>. <a href="#2d067daa002e444c236227710b5716d3"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">ListHandleStrings </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#0c0428c28c87f429cbcd0b86d16c2356">Gnome::Vfs::ApplicationRegistry::get_applications</a> (const Glib::ustring &mime_type)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get all application IDs from the registry that are associated with the given MIME type. <a href="#0c0428c28c87f429cbcd0b86d16c2356"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">ListHandleStrings </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#a6a304addaff5e3bd300879f146b96d8">Gnome::Vfs::ApplicationRegistry::get_mime_types</a> (const Glib::ustring &app_id)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get all MIME types that can be handled by an application. <a href="#a6a304addaff5e3bd300879f146b96d8"></a><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_1ApplicationRegistry.html#c9840ad204ad6ea581a3e9fd06915486">Gnome::Vfs::ApplicationRegistry::supports_mime_type</a> (const Glib::ustring &app_id, const Glib::ustring &mime_type)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Checks whether an application is associated with a given MIME type. <a href="#c9840ad204ad6ea581a3e9fd06915486"></a><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_1ApplicationRegistry.html#e2ee898342028ae4df778d0f3076fff8">Gnome::Vfs::ApplicationRegistry::supports_uri_scheme</a> (const Glib::ustring &app_id, const Glib::ustring &uri_scheme)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Checks whether an application supports the given URI scheme. <a href="#e2ee898342028ae4df778d0f3076fff8"></a><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_1ApplicationRegistry.html#38be37428cb71ec280d370723fc910f2">Gnome::Vfs::ApplicationRegistry::clear_mime_types</a> (const Glib::ustring &app_id)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Remove the MIME types associated with an application. <a href="#38be37428cb71ec280d370723fc910f2"></a><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_1ApplicationRegistry.html#37023cc45b955d494893ac835333bd53">Gnome::Vfs::ApplicationRegistry::add_mime_type</a> (const Glib::ustring &app_id, const Glib::ustring &mime_type)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Associate an MIME type with an application. <a href="#37023cc45b955d494893ac835333bd53"></a><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_1ApplicationRegistry.html#ea65fd5dd4d4f7469c570f23644d52dc">Gnome::Vfs::ApplicationRegistry::remove_mime_type</a> (const Glib::ustring &app_id, const Glib::ustring &mime_type)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">De-Associate an MIME type from an application. <a href="#ea65fd5dd4d4f7469c570f23644d52dc"></a><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_1ApplicationRegistry.html#d6123580d256df79a263db73a4d7ea83">Gnome::Vfs::ApplicationRegistry::sync</a> () throw (exception)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This function will sync the registry. <a href="#d6123580d256df79a263db73a4d7ea83"></a><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_1ApplicationRegistry.html#5c3fbf2ab97d520c3794db8ce418db3c">Gnome::Vfs::ApplicationRegistry::shutdown</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Synchronize the application registry data to disk and free resources. <a href="#5c3fbf2ab97d520c3794db8ce418db3c"></a><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_1ApplicationRegistry.html#71acaace926923deeef8e0ea2a5046e0">Gnome::Vfs::ApplicationRegistry::reload</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">If this function is called for the first time, it will initialize the registry. <a href="#71acaace926923deeef8e0ea2a5046e0"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">MimeApplication </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#c218314e2e358bb98cd54a235576db7e">Gnome::Vfs::ApplicationRegistry::get_mime_application</a> (const Glib::ustring &app_id)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the <a class="el" href="classGnome_1_1Vfs_1_1MimeApplication.html">MimeApplication</a> associated with <em>app_id</em> . <a href="#c218314e2e358bb98cd54a235576db7e"></a><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_1ApplicationRegistry.html#e27fa9360de7eb9e1a41591d381ee78c">Gnome::Vfs::ApplicationRegistry::save_mime_application</a> (const MimeApplication &application)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Save an application to the registry that will be associated with a defined MIME type. <a href="#e27fa9360de7eb9e1a41591d381ee78c"></a><br></td></tr> </table> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 9 14:42:04 2008 for libgnomevfsmm by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address> </body> </html>