Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > 014ec55d90fdad9125af7b65e4977762 > files > 168

gnome-vfsmm2.6-doc-2.22.0-1mdv2008.1.x86_64.rpm

<!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: Gnome::Vfs::ApplicationRegistry Namespace 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&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="classes.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="namespaces.html"><span>Namespace List</span></a></li>
      <li><a href="namespacemembers.html"><span>Namespace&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceGnome.html">Gnome</a>::<a class="el" href="namespaceGnome_1_1Vfs.html">Vfs</a>::<a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html">ApplicationRegistry</a>
  </div>
</div>
<div class="contents">
<h1>Gnome::Vfs::ApplicationRegistry 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>
&lt; Glib::ustring &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#3e0992b14ecfe064fa1d17dac489fa49">ListHandleStrings</a></td></tr>

<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#1c492cd1aad71abe85d09df988188705">exists</a> (const Glib::ustring &amp;app_id)</td></tr>

<tr><td class="mdescLeft">&nbsp;</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"><a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#3e0992b14ecfe064fa1d17dac489fa49">ListHandleStrings</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#25477288cedb42ed48a5495b4151e5eb">get_keys</a> (const Glib::ustring &amp;app_id)</td></tr>

<tr><td class="mdescLeft">&nbsp;</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#975e567a1ddacf93ad430ecbd60013b3">peek_value</a> (const Glib::ustring &amp;app_id, const Glib::ustring &amp;key)</td></tr>

<tr><td class="mdescLeft">&nbsp;</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#53fec8368d553138eee13a9abf0343a7">get_bool_value</a> (const Glib::ustring &amp;app_id, const Glib::ustring &amp;key, bool &amp;got_key)</td></tr>

<tr><td class="mdescLeft">&nbsp;</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#999e326221ec03b690823acb4d717291">remove_application</a> (const Glib::ustring &amp;app_id)</td></tr>

<tr><td class="mdescLeft">&nbsp;</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#ff5494044be4fc8969a2c64b7ca2b31a">set_value</a> (const Glib::ustring &amp;app_id, const Glib::ustring &amp;key, const Glib::ustring &amp;value)</td></tr>

<tr><td class="mdescLeft">&nbsp;</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#423be49b9f3c5dd28dcbebc278f40c21">set_value</a> (const Glib::ustring &amp;app_id, const Glib::ustring &amp;key, bool value=true)</td></tr>

<tr><td class="mdescLeft">&nbsp;</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#2d067daa002e444c236227710b5716d3">unset_key</a> (const Glib::ustring &amp;app_id, const Glib::ustring &amp;key)</td></tr>

<tr><td class="mdescLeft">&nbsp;</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"><a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#3e0992b14ecfe064fa1d17dac489fa49">ListHandleStrings</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#0c0428c28c87f429cbcd0b86d16c2356">get_applications</a> (const Glib::ustring &amp;mime_type)</td></tr>

<tr><td class="mdescLeft">&nbsp;</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"><a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#3e0992b14ecfe064fa1d17dac489fa49">ListHandleStrings</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#a6a304addaff5e3bd300879f146b96d8">get_mime_types</a> (const Glib::ustring &amp;app_id)</td></tr>

<tr><td class="mdescLeft">&nbsp;</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#c9840ad204ad6ea581a3e9fd06915486">supports_mime_type</a> (const Glib::ustring &amp;app_id, const Glib::ustring &amp;mime_type)</td></tr>

<tr><td class="mdescLeft">&nbsp;</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#e2ee898342028ae4df778d0f3076fff8">supports_uri_scheme</a> (const Glib::ustring &amp;app_id, const Glib::ustring &amp;uri_scheme)</td></tr>

<tr><td class="mdescLeft">&nbsp;</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#38be37428cb71ec280d370723fc910f2">clear_mime_types</a> (const Glib::ustring &amp;app_id)</td></tr>

<tr><td class="mdescLeft">&nbsp;</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#37023cc45b955d494893ac835333bd53">add_mime_type</a> (const Glib::ustring &amp;app_id, const Glib::ustring &amp;mime_type)</td></tr>

<tr><td class="mdescLeft">&nbsp;</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#ea65fd5dd4d4f7469c570f23644d52dc">remove_mime_type</a> (const Glib::ustring &amp;app_id, const Glib::ustring &amp;mime_type)</td></tr>

<tr><td class="mdescLeft">&nbsp;</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#d6123580d256df79a263db73a4d7ea83">sync</a> ()  throw (exception)</td></tr>

<tr><td class="mdescLeft">&nbsp;</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#5c3fbf2ab97d520c3794db8ce418db3c">shutdown</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#71acaace926923deeef8e0ea2a5046e0">reload</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</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"><a class="el" href="classGnome_1_1Vfs_1_1MimeApplication.html">MimeApplication</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#c218314e2e358bb98cd54a235576db7e">get_mime_application</a> (const Glib::ustring &amp;app_id)</td></tr>

<tr><td class="mdescLeft">&nbsp;</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#e27fa9360de7eb9e1a41591d381ee78c">save_mime_application</a> (const <a class="el" href="classGnome_1_1Vfs_1_1MimeApplication.html">MimeApplication</a> &amp;application)</td></tr>

<tr><td class="mdescLeft">&nbsp;</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>
<hr><h2>Typedef Documentation</h2>
<a class="anchor" name="3e0992b14ecfe064fa1d17dac489fa49"></a><!-- doxytag: member="Gnome::Vfs::ApplicationRegistry::ListHandleStrings" ref="3e0992b14ecfe064fa1d17dac489fa49" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef Glib::ListHandle&lt;Glib::ustring&gt; <a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#3e0992b14ecfe064fa1d17dac489fa49">Gnome::Vfs::ApplicationRegistry::ListHandleStrings</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="37023cc45b955d494893ac835333bd53"></a><!-- doxytag: member="Gnome::Vfs::ApplicationRegistry::add_mime_type" ref="37023cc45b955d494893ac835333bd53" args="(const Glib::ustring &amp;app_id, const Glib::ustring &amp;mime_type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Vfs::ApplicationRegistry::add_mime_type           </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>app_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>mime_type</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Associate an MIME type with an application. 
<p>
See <a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html">Gnome::Vfs::Mime</a> or <a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#0c0428c28c87f429cbcd0b86d16c2356" title="Get all application IDs from the registry that are associated with the given MIME...">get_applications()</a> for information on how to obtain an application ID. You will need to call <a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#d6123580d256df79a263db73a4d7ea83" title="This function will sync the registry.">sync()</a> to save the changes. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>app_id</em>&nbsp;</td><td>A string containing an application ID. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>mime_type</em>&nbsp;</td><td>A string containing an MIME type. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="38be37428cb71ec280d370723fc910f2"></a><!-- doxytag: member="Gnome::Vfs::ApplicationRegistry::clear_mime_types" ref="38be37428cb71ec280d370723fc910f2" args="(const Glib::ustring &amp;app_id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Vfs::ApplicationRegistry::clear_mime_types           </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>app_id</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Remove the MIME types associated with an application. 
<p>
See <a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html">Gnome::Vfs::Mime</a> or <a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#0c0428c28c87f429cbcd0b86d16c2356" title="Get all application IDs from the registry that are associated with the given MIME...">get_applications()</a> for information on how to obtain an application ID. You will need to call <a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#d6123580d256df79a263db73a4d7ea83" title="This function will sync the registry.">sync()</a> to save the changes. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>app_id</em>&nbsp;</td><td>A string containing an application ID. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="1c492cd1aad71abe85d09df988188705"></a><!-- doxytag: member="Gnome::Vfs::ApplicationRegistry::exists" ref="1c492cd1aad71abe85d09df988188705" args="(const Glib::ustring &amp;app_id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Vfs::ApplicationRegistry::exists           </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>app_id</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Check to see if there is an entry for <em>app_id</em> in the registry. 
<p>
See <a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html">Gnome::Vfs::Mime</a> or <a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#0c0428c28c87f429cbcd0b86d16c2356" title="Get all application IDs from the registry that are associated with the given MIME...">get_applications()</a> for information on how to obtain an application ID. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>app_id</em>&nbsp;</td><td>A string containing an application ID. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if there is an entry, otherwise <code>false</code>. </dd></dl>

</div>
</div><p>
<a class="anchor" name="0c0428c28c87f429cbcd0b86d16c2356"></a><!-- doxytag: member="Gnome::Vfs::ApplicationRegistry::get_applications" ref="0c0428c28c87f429cbcd0b86d16c2356" args="(const Glib::ustring &amp;mime_type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#3e0992b14ecfe064fa1d17dac489fa49">ListHandleStrings</a> Gnome::Vfs::ApplicationRegistry::get_applications           </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>mime_type</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get all application IDs from the registry that are associated with the given MIME type. 
<p>
If <em>mime_type</em> is NULL, it returns all applications. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>mime_type</em>&nbsp;</td><td>A string containing an MIME type. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A list of strings containing application IDs. </dd></dl>

</div>
</div><p>
<a class="anchor" name="53fec8368d553138eee13a9abf0343a7"></a><!-- doxytag: member="Gnome::Vfs::ApplicationRegistry::get_bool_value" ref="53fec8368d553138eee13a9abf0343a7" args="(const Glib::ustring &amp;app_id, const Glib::ustring &amp;key, bool &amp;got_key)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Vfs::ApplicationRegistry::get_bool_value           </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>app_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool &amp;&nbsp;</td>
          <td class="paramname"> <em>got_key</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Look up a key in the structure pointed to by <em>app_id</em> and return the boolean value of that key. 
<p>
See <a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html">Gnome::Vfs::Mime</a> or <a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#0c0428c28c87f429cbcd0b86d16c2356" title="Get all application IDs from the registry that are associated with the given MIME...">get_applications()</a> for information on how to obtain an application ID. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>app_id</em>&nbsp;</td><td>A string containing an application ID. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>key</em>&nbsp;</td><td>A string containing the key to look up. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>got_key</em>&nbsp;</td><td>An output parameter that will be set to <code>true</code> if a setting was found, otherwise <code>false</code>. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if <em>key</em> is set to "true" or "yes" for <em>app_id</em>, otherwise <code>false</code>. </dd></dl>

</div>
</div><p>
<a class="anchor" name="25477288cedb42ed48a5495b4151e5eb"></a><!-- doxytag: member="Gnome::Vfs::ApplicationRegistry::get_keys" ref="25477288cedb42ed48a5495b4151e5eb" args="(const Glib::ustring &amp;app_id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#3e0992b14ecfe064fa1d17dac489fa49">ListHandleStrings</a> Gnome::Vfs::ApplicationRegistry::get_keys           </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>app_id</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get a list of keys for a specified application in the registry. 
<p>
See <a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html">Gnome::Vfs::Mime</a> or <a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#0c0428c28c87f429cbcd0b86d16c2356" title="Get all application IDs from the registry that are associated with the given MIME...">get_applications()</a> for information on how to obtain an application ID. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>app_id</em>&nbsp;</td><td>A string containing an application ID. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A list of strings containing keys set for <em>app_id</em> . </dd></dl>

</div>
</div><p>
<a class="anchor" name="c218314e2e358bb98cd54a235576db7e"></a><!-- doxytag: member="Gnome::Vfs::ApplicationRegistry::get_mime_application" ref="c218314e2e358bb98cd54a235576db7e" args="(const Glib::ustring &amp;app_id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGnome_1_1Vfs_1_1MimeApplication.html">MimeApplication</a> Gnome::Vfs::ApplicationRegistry::get_mime_application           </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>app_id</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the <a class="el" href="classGnome_1_1Vfs_1_1MimeApplication.html">MimeApplication</a> associated with <em>app_id</em> . 
<p>
See <a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html">Gnome::Vfs::Mime</a> or <a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#0c0428c28c87f429cbcd0b86d16c2356" title="Get all application IDs from the registry that are associated with the given MIME...">get_applications()</a> for information on how to obtain an application ID. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>app_id</em>&nbsp;</td><td>A string containing an application ID. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The <a class="el" href="classGnome_1_1Vfs_1_1MimeApplication.html">MimeApplication</a> object associated with the application ID. </dd></dl>

</div>
</div><p>
<a class="anchor" name="a6a304addaff5e3bd300879f146b96d8"></a><!-- doxytag: member="Gnome::Vfs::ApplicationRegistry::get_mime_types" ref="a6a304addaff5e3bd300879f146b96d8" args="(const Glib::ustring &amp;app_id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#3e0992b14ecfe064fa1d17dac489fa49">ListHandleStrings</a> Gnome::Vfs::ApplicationRegistry::get_mime_types           </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>app_id</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get all MIME types that can be handled by an application. 
<p>
See <a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html">Gnome::Vfs::Mime</a> or <a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#0c0428c28c87f429cbcd0b86d16c2356" title="Get all application IDs from the registry that are associated with the given MIME...">get_applications()</a> for information on how to obtain an application ID. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>app_id</em>&nbsp;</td><td>A string containing an application ID. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A list of strings containing MIME types. </dd></dl>

</div>
</div><p>
<a class="anchor" name="975e567a1ddacf93ad430ecbd60013b3"></a><!-- doxytag: member="Gnome::Vfs::ApplicationRegistry::peek_value" ref="975e567a1ddacf93ad430ecbd60013b3" args="(const Glib::ustring &amp;app_id, const Glib::ustring &amp;key)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::ustring Gnome::Vfs::ApplicationRegistry::peek_value           </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>app_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>key</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the value associated with <em>key</em> for <em>app_id</em> in the registry. 
<p>
See <a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html">Gnome::Vfs::Mime</a> or <a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#0c0428c28c87f429cbcd0b86d16c2356" title="Get all application IDs from the registry that are associated with the given MIME...">get_applications()</a> for information on how to obtain an application ID. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>app_id</em>&nbsp;</td><td>A string containing an application ID. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>key</em>&nbsp;</td><td>A string containing the key to look up. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A string containing the value assosciated with the key or an empty string if there is no associated value. </dd></dl>

</div>
</div><p>
<a class="anchor" name="71acaace926923deeef8e0ea2a5046e0"></a><!-- doxytag: member="Gnome::Vfs::ApplicationRegistry::reload" ref="71acaace926923deeef8e0ea2a5046e0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Vfs::ApplicationRegistry::reload           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
If this function is called for the first time, it will initialize the registry. 
<p>
Subsequent calls to the function will clear out the current registry contents and load registry contents from the save file. Make certain that you have saved your registry before calling this function. It will destroy unsaved changes!! 
</div>
</div><p>
<a class="anchor" name="999e326221ec03b690823acb4d717291"></a><!-- doxytag: member="Gnome::Vfs::ApplicationRegistry::remove_application" ref="999e326221ec03b690823acb4d717291" args="(const Glib::ustring &amp;app_id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Vfs::ApplicationRegistry::remove_application           </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>app_id</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Remove the application represented by <em>app_id</em> from the registry. 
<p>
See <a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html">Gnome::Vfs::Mime</a> or <a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#0c0428c28c87f429cbcd0b86d16c2356" title="Get all application IDs from the registry that are associated with the given MIME...">get_applications()</a> for information on how to obtain an application ID. You will need to call <a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#d6123580d256df79a263db73a4d7ea83" title="This function will sync the registry.">sync()</a> to save the changes. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>app_id</em>&nbsp;</td><td>A string containing an application ID. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="ea65fd5dd4d4f7469c570f23644d52dc"></a><!-- doxytag: member="Gnome::Vfs::ApplicationRegistry::remove_mime_type" ref="ea65fd5dd4d4f7469c570f23644d52dc" args="(const Glib::ustring &amp;app_id, const Glib::ustring &amp;mime_type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Vfs::ApplicationRegistry::remove_mime_type           </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>app_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>mime_type</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
De-Associate an MIME type from an application. 
<p>
See <a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html">Gnome::Vfs::Mime</a> or <a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#0c0428c28c87f429cbcd0b86d16c2356" title="Get all application IDs from the registry that are associated with the given MIME...">get_applications()</a> for information on how to obtain an application ID. You will need to call <a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#d6123580d256df79a263db73a4d7ea83" title="This function will sync the registry.">sync()</a> to save the changes. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>app_id</em>&nbsp;</td><td>A string containing an application ID. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>mime_type</em>&nbsp;</td><td>A string containing an MIME type. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="e27fa9360de7eb9e1a41591d381ee78c"></a><!-- doxytag: member="Gnome::Vfs::ApplicationRegistry::save_mime_application" ref="e27fa9360de7eb9e1a41591d381ee78c" args="(const MimeApplication &amp;application)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Vfs::ApplicationRegistry::save_mime_application           </td>
          <td>(</td>
          <td class="paramtype">const MimeApplication &amp;&nbsp;</td>
          <td class="paramname"> <em>application</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Save an application to the registry that will be associated with a defined MIME type. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>application</em>&nbsp;</td><td>The application associated with the MIME type. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="423be49b9f3c5dd28dcbebc278f40c21"></a><!-- doxytag: member="Gnome::Vfs::ApplicationRegistry::set_value" ref="423be49b9f3c5dd28dcbebc278f40c21" args="(const Glib::ustring &amp;app_id, const Glib::ustring &amp;key, bool value=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Vfs::ApplicationRegistry::set_value           </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>app_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>value</em> = <code>true</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set values pertaining to the registry entry pointed to by <em>app_id</em>. 
<p>
See <a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html">Gnome::Vfs::Mime</a> or <a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#0c0428c28c87f429cbcd0b86d16c2356" title="Get all application IDs from the registry that are associated with the given MIME...">get_applications()</a> for information on how to obtain an application ID. You will need to call <a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#d6123580d256df79a263db73a4d7ea83" title="This function will sync the registry.">sync()</a> to save the changes. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>app_id</em>&nbsp;</td><td>A string containing the registry ID of the application. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>key</em>&nbsp;</td><td>A string containing the target key. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>A boolean containing the value to set the target key to. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="ff5494044be4fc8969a2c64b7ca2b31a"></a><!-- doxytag: member="Gnome::Vfs::ApplicationRegistry::set_value" ref="ff5494044be4fc8969a2c64b7ca2b31a" args="(const Glib::ustring &amp;app_id, const Glib::ustring &amp;key, const Glib::ustring &amp;value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Vfs::ApplicationRegistry::set_value           </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>app_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>value</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set values pertaining to the registry entry pointed to by <em>app_id</em>. 
<p>
See <a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html">Gnome::Vfs::Mime</a> or <a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#0c0428c28c87f429cbcd0b86d16c2356" title="Get all application IDs from the registry that are associated with the given MIME...">get_applications()</a> for information on how to obtain an application ID. You will need to call <a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#d6123580d256df79a263db73a4d7ea83" title="This function will sync the registry.">sync()</a> to save the changes. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>app_id</em>&nbsp;</td><td>A string containing the registry ID of the application. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>key</em>&nbsp;</td><td>A string containing the target key. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>A string containing the value to set the target key to. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="5c3fbf2ab97d520c3794db8ce418db3c"></a><!-- doxytag: member="Gnome::Vfs::ApplicationRegistry::shutdown" ref="5c3fbf2ab97d520c3794db8ce418db3c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Vfs::ApplicationRegistry::shutdown           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Synchronize the application registry data to disk and free resources. 
<p>

</div>
</div><p>
<a class="anchor" name="c9840ad204ad6ea581a3e9fd06915486"></a><!-- doxytag: member="Gnome::Vfs::ApplicationRegistry::supports_mime_type" ref="c9840ad204ad6ea581a3e9fd06915486" args="(const Glib::ustring &amp;app_id, const Glib::ustring &amp;mime_type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Vfs::ApplicationRegistry::supports_mime_type           </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>app_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>mime_type</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Checks whether an application is associated with a given MIME type. 
<p>
See <a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html">Gnome::Vfs::Mime</a> or <a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#0c0428c28c87f429cbcd0b86d16c2356" title="Get all application IDs from the registry that are associated with the given MIME...">get_applications()</a> for information on how to obtain an application ID. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>app_id</em>&nbsp;</td><td>A string containing an application ID. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>mime_type</em>&nbsp;</td><td>A string containing an MIME type. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if <em>app_id</em> supports <em>mime_type</em> , otherwise <code>false</code>. </dd></dl>

</div>
</div><p>
<a class="anchor" name="e2ee898342028ae4df778d0f3076fff8"></a><!-- doxytag: member="Gnome::Vfs::ApplicationRegistry::supports_uri_scheme" ref="e2ee898342028ae4df778d0f3076fff8" args="(const Glib::ustring &amp;app_id, const Glib::ustring &amp;uri_scheme)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Vfs::ApplicationRegistry::supports_uri_scheme           </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>app_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>uri_scheme</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Checks whether an application supports the given URI scheme. 
<p>
See <a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html">Gnome::Vfs::Mime</a> or <a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#0c0428c28c87f429cbcd0b86d16c2356" title="Get all application IDs from the registry that are associated with the given MIME...">get_applications()</a> for information on how to obtain an application ID. See <a class="el" href="classGnome_1_1Vfs_1_1MimeApplication.html">Gnome::Vfs::MimeApplication</a> for information on how to obtain a URI scheme. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>app_id</em>&nbsp;</td><td>A string containing an application ID. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>uri_scheme</em>&nbsp;</td><td>A string containing a URI scheme. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if <em>app_id</em> supports <em>uri_scheme</em> , otherwise <code>false</code>. </dd></dl>

</div>
</div><p>
<a class="anchor" name="d6123580d256df79a263db73a4d7ea83"></a><!-- doxytag: member="Gnome::Vfs::ApplicationRegistry::sync" ref="d6123580d256df79a263db73a4d7ea83" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Vfs::ApplicationRegistry::sync           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%">  throw (<a class="el" href="classGnome_1_1Vfs_1_1exception.html">exception</a>)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function will sync the registry. 
<p>
Typically you would use this function after a modification of the registry. When you modify the registry, a dirty flag is set. Calling this function will save your modifications to disk and reset the flag. 
</div>
</div><p>
<a class="anchor" name="2d067daa002e444c236227710b5716d3"></a><!-- doxytag: member="Gnome::Vfs::ApplicationRegistry::unset_key" ref="2d067daa002e444c236227710b5716d3" args="(const Glib::ustring &amp;app_id, const Glib::ustring &amp;key)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Vfs::ApplicationRegistry::unset_key           </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>app_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>key</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Wipe the current value that <em>key</em> contains for <em>app_id</em>. 
<p>
See <a class="el" href="namespaceGnome_1_1Vfs_1_1Mime.html">Gnome::Vfs::Mime</a> or <a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#0c0428c28c87f429cbcd0b86d16c2356" title="Get all application IDs from the registry that are associated with the given MIME...">get_applications()</a> for information on how to obtain an application ID. You will need to call <a class="el" href="namespaceGnome_1_1Vfs_1_1ApplicationRegistry.html#d6123580d256df79a263db73a4d7ea83" title="This function will sync the registry.">sync()</a> to save the changes. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>app_id</em>&nbsp;</td><td>A string containing the registry ID of the application. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>key</em>&nbsp;</td><td>A string containing the target key. </td></tr>
  </table>
</dl>

</div>
</div><p>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 9 14:42:04 2008 for libgnomevfsmm by&nbsp;
<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>