~ubuntu-branches/ubuntu/trusty/glibmm2.4/trusty

« back to all changes in this revision

Viewing changes to docs/reference/html/namespaceGio.html

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2012-06-18 12:13:18 UTC
  • mfrom: (1.2.73)
  • Revision ID: package-import@ubuntu.com-20120618121318-88t4ppyo8lq7s4ph
Tags: 2.33.1-0ubuntu1
* New upstream release
* debian/control:
  - Bump build-depends on libglib2.0-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
<html xmlns="http://www.w3.org/1999/xhtml">
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
 
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
5
<title>glibmm: Gio Namespace Reference</title>
7
6
 
8
7
<link href="tabs.css" rel="stylesheet" type="text/css"/>
23
22
  
24
23
  <td style="padding-left: 0.5em;">
25
24
   <div id="projectname">glibmm
26
 
   &#160;<span id="projectnumber">2.32.0</span>
 
25
   &#160;<span id="projectnumber">2.33.1</span>
27
26
   </div>
28
27
   
29
28
  </td>
35
34
</table>
36
35
</div>
37
36
 
38
 
<!-- Generated by Doxygen 1.7.6.1 -->
 
37
<!-- Generated by Doxygen 1.7.5 -->
39
38
  <div id="navrow1" class="tabs">
40
39
    <ul class="tablist">
41
40
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
62
61
<a href="#func-members">Functions</a> </div>
63
62
  <div class="headertitle">
64
63
<div class="title">Gio Namespace Reference</div> </div>
65
 
</div><!--header-->
 
64
</div>
66
65
<div class="contents">
67
66
<table class="memberdecls">
68
67
<tr><td colspan="2"><h2><a name="namespaces"></a>
184
183
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classGio_1_1RemoteActionGroup.html" title="RemoteActionGroup - a ActionGroup that interacts with other processes.">RemoteActionGroup</a> - a <a class="el" href="classGio_1_1ActionGroup.html" title="ActionGroup - a group of actions.">ActionGroup</a> that interacts with other processes. <a href="classGio_1_1RemoteActionGroup.html#details">More...</a><br/></td></tr>
185
184
<tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Resolver.html">Resolver</a></td></tr>
186
185
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Asynchronous and cancellable DNS resolver. <a href="classGio_1_1Resolver.html#details">More...</a><br/></td></tr>
 
186
<tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1ResourceError.html">ResourceError</a></td></tr>
 
187
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Exception class for resource file handling errors. <a href="classGio_1_1ResourceError.html#details">More...</a><br/></td></tr>
187
188
<tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Seekable.html">Seekable</a></td></tr>
188
189
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Stream seeking interface. <a href="classGio_1_1Seekable.html#details">More...</a><br/></td></tr>
189
190
<tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Settings.html">Settings</a></td></tr>
599
600
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__giommEnums.html#ga7c30d67e5f60d33fdcd3053123feea74">OutputStreamSpliceFlags</a>&amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__giommEnums.html#ga5602d53794a62a9e823005e6f9aed428">operator|=</a> (<a class="el" href="group__giommEnums.html#ga7c30d67e5f60d33fdcd3053123feea74">OutputStreamSpliceFlags</a>&amp; lhs, <a class="el" href="group__giommEnums.html#ga7c30d67e5f60d33fdcd3053123feea74">OutputStreamSpliceFlags</a> rhs)</td></tr>
600
601
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__giommEnums.html#ga7c30d67e5f60d33fdcd3053123feea74">OutputStreamSpliceFlags</a>&amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__giommEnums.html#gab363845e9d7769f38c78dc7cc55d9db6">operator&amp;=</a> (<a class="el" href="group__giommEnums.html#ga7c30d67e5f60d33fdcd3053123feea74">OutputStreamSpliceFlags</a>&amp; lhs, <a class="el" href="group__giommEnums.html#ga7c30d67e5f60d33fdcd3053123feea74">OutputStreamSpliceFlags</a> rhs)</td></tr>
601
602
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__giommEnums.html#ga7c30d67e5f60d33fdcd3053123feea74">OutputStreamSpliceFlags</a>&amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__giommEnums.html#ga01f192f0f1b9f66047d603780c458e6e">operator^=</a> (<a class="el" href="group__giommEnums.html#ga7c30d67e5f60d33fdcd3053123feea74">OutputStreamSpliceFlags</a>&amp; lhs, <a class="el" href="group__giommEnums.html#ga7c30d67e5f60d33fdcd3053123feea74">OutputStreamSpliceFlags</a> rhs)</td></tr>
602
 
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01639.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGio.html#a77e0b4b95d9ab0d2c2b21e79117ec77a">hostname_to_ascii</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; hostname)</td></tr>
 
603
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01672.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGio.html#a77e0b4b95d9ab0d2c2b21e79117ec77a">hostname_to_ascii</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; hostname)</td></tr>
603
604
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGio.html#a80496bf6a136c6b3a4d995849d0665af">hostname_to_unicode</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; hostname)</td></tr>
604
605
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGio.html#a0d47bc4dc47f82a829ee5e00e13987f3">hostname_is_non_ascii</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; hostname)</td></tr>
605
606
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGio.html#a58e3cc92152717d75a9f5cf4d260815d">hostname_is_ascii_encoded</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; hostname)</td></tr>
620
621
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__giommEnums.html#ga11f5e6b2ba2903428e93d947c82fa04e">SocketMsgFlags</a>&amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__giommEnums.html#gab892045d6e9cf73dc96593ead692145b">operator^=</a> (<a class="el" href="group__giommEnums.html#ga11f5e6b2ba2903428e93d947c82fa04e">SocketMsgFlags</a>&amp; lhs, <a class="el" href="group__giommEnums.html#ga11f5e6b2ba2903428e93d947c82fa04e">SocketMsgFlags</a> rhs)</td></tr>
621
622
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGio.html#a496c304f10ea79f1a20137bf614466e8">content_type_equals</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; type1, const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; type2)</td></tr>
622
623
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Compares two content types for equality. <a href="#a496c304f10ea79f1a20137bf614466e8"></a><br/></td></tr>
623
 
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGio.html#a278fca288c7c2e9995ebb64ce43a6ffd">content_type_is_a</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;<a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01612.html#ga2c2933c16c723af4d77eb939438617ca">type</a>, const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; supertype)</td></tr>
 
624
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGio.html#a278fca288c7c2e9995ebb64ce43a6ffd">content_type_is_a</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;<a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01644.html#ga2c2933c16c723af4d77eb939438617ca">type</a>, const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; supertype)</td></tr>
624
625
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines if <em>type</em> is a subset of <em>supertype</em>. <a href="#a278fca288c7c2e9995ebb64ce43a6ffd"></a><br/></td></tr>
625
 
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGio.html#aee153086e7cd9f1ab0509cbf81ec06e9">content_type_is_unknown</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;<a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01612.html#ga2c2933c16c723af4d77eb939438617ca">type</a>)</td></tr>
 
626
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGio.html#aee153086e7cd9f1ab0509cbf81ec06e9">content_type_is_unknown</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;<a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01644.html#ga2c2933c16c723af4d77eb939438617ca">type</a>)</td></tr>
626
627
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if the content type is the generic "unknown" type. <a href="#aee153086e7cd9f1ab0509cbf81ec06e9"></a><br/></td></tr>
627
 
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGio.html#ac065cb89d7abb5935cfa225e3d41a732">content_type_get_description</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;<a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01612.html#ga2c2933c16c723af4d77eb939438617ca">type</a>)</td></tr>
 
628
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGio.html#ac065cb89d7abb5935cfa225e3d41a732">content_type_get_description</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;<a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01644.html#ga2c2933c16c723af4d77eb939438617ca">type</a>)</td></tr>
628
629
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the human readable description of the content type. <a href="#ac065cb89d7abb5935cfa225e3d41a732"></a><br/></td></tr>
629
 
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGio.html#a92f379d45658e14f3ec1bec3da71d908">content_type_get_mime_type</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;<a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01612.html#ga2c2933c16c723af4d77eb939438617ca">type</a>)</td></tr>
 
630
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGio.html#a92f379d45658e14f3ec1bec3da71d908">content_type_get_mime_type</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;<a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01644.html#ga2c2933c16c723af4d77eb939438617ca">type</a>)</td></tr>
630
631
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the mime-type for the content type. <a href="#a92f379d45658e14f3ec1bec3da71d908"></a><br/></td></tr>
631
 
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1Icon.html">Icon</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGio.html#a7972eb82466bf972bbbf5b58f6344e84">content_type_get_icon</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;<a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01612.html#ga2c2933c16c723af4d77eb939438617ca">type</a>)</td></tr>
632
 
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGio.html#ae5107c4e00134d7d9df3b755a74f9494">content_type_can_be_executable</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;<a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01612.html#ga2c2933c16c723af4d77eb939438617ca">type</a>)</td></tr>
 
632
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1Icon.html">Icon</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGio.html#a7972eb82466bf972bbbf5b58f6344e84">content_type_get_icon</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;<a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01644.html#ga2c2933c16c723af4d77eb939438617ca">type</a>)</td></tr>
 
633
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGio.html#ae5107c4e00134d7d9df3b755a74f9494">content_type_can_be_executable</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;<a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01644.html#ga2c2933c16c723af4d77eb939438617ca">type</a>)</td></tr>
633
634
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if a content type can be executable. <a href="#ae5107c4e00134d7d9df3b755a74f9494"></a><br/></td></tr>
634
635
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGio.html#ad5432d8f8c8ba74f8157af9d49930b4c">content_type_from_mime_type</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; mime_type)</td></tr>
635
636
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Tries to find a content type based on the mime type name. <a href="#ad5432d8f8c8ba74f8157af9d49930b4c"></a><br/></td></tr>
636
 
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGio.html#a48e8afbb7f1724efcdebd7c028da5560">content_type_guess</a> (const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01639.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; filename, const guchar* data, gsize data_size, bool&amp; result_uncertain)</td></tr>
 
637
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGio.html#a48e8afbb7f1724efcdebd7c028da5560">content_type_guess</a> (const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01672.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; filename, const guchar* data, gsize data_size, bool&amp; result_uncertain)</td></tr>
637
638
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Guesses the content type based on example data. <a href="#a48e8afbb7f1724efcdebd7c028da5560"></a><br/></td></tr>
638
 
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGio.html#ae46acc46aa5c33a8d1feda6a675fefa9">content_type_guess</a> (const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01639.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; filename, const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01639.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; data, bool&amp; result_uncertain)</td></tr>
 
639
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGio.html#ae46acc46aa5c33a8d1feda6a675fefa9">content_type_guess</a> (const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01672.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; filename, const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01672.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; data, bool&amp; result_uncertain)</td></tr>
639
640
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Guesses the content type based on example data. <a href="#ae46acc46aa5c33a8d1feda6a675fefa9"></a><br/></td></tr>
640
641
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ContHandles.html#ga8e243b697be740f5f7d4b578ae50db41">Glib::StringArrayHandle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGio.html#a7e82e215c402edca50219020e43d08ec">content_type_guess_for_tree</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGio_1_1File.html">File</a> &gt;&amp; root)</td></tr>
641
642
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Tries to guess the type of the tree with root <em>root</em>, by looking at the files it contains. <a href="#a7e82e215c402edca50219020e43d08ec"></a><br/></td></tr>
670
671
<div class="memdoc">
671
672
 
672
673
<p>A function that will be called when an asynchronous operation within GIO has been completed. </p>
673
 
<dl class="params"><dt><b>Parameters:</b></dt><dd>
 
674
<dl><dt><b>Parameters:</b></dt><dd>
674
675
  <table class="params">
675
676
    <tr><td class="paramname">result</td><td>The asynchronous function's results.</td></tr>
676
677
  </table>
738
739
<div class="memproto">
739
740
      <table class="memname">
740
741
        <tr>
741
 
          <td class="memname">bool <a class="el" href="namespaceGio.html#ae5107c4e00134d7d9df3b755a74f9494">Gio::content_type_can_be_executable</a> </td>
 
742
          <td class="memname">bool Gio::content_type_can_be_executable </td>
742
743
          <td>(</td>
743
744
          <td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&#160;</td>
744
745
          <td class="paramname"><em>type</em></td><td>)</td>
750
751
 
751
752
<p>Checks if a content type can be executable. </p>
752
753
<p>Note that for instance things like text files can be executables (i.e. scripts and batch files).</p>
753
 
<dl class="params"><dt><b>Parameters:</b></dt><dd>
 
754
<dl><dt><b>Parameters:</b></dt><dd>
754
755
  <table class="params">
755
756
    <tr><td class="paramname">type</td><td>a content type string.</td></tr>
756
757
  </table>
765
766
<div class="memproto">
766
767
      <table class="memname">
767
768
        <tr>
768
 
          <td class="memname">bool <a class="el" href="namespaceGio.html#a496c304f10ea79f1a20137bf614466e8">Gio::content_type_equals</a> </td>
 
769
          <td class="memname">bool Gio::content_type_equals </td>
769
770
          <td>(</td>
770
771
          <td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&#160;</td>
771
772
          <td class="paramname"><em>type1</em>, </td>
786
787
<div class="memdoc">
787
788
 
788
789
<p>Compares two content types for equality. </p>
789
 
<dl class="params"><dt><b>Parameters:</b></dt><dd>
 
790
<dl><dt><b>Parameters:</b></dt><dd>
790
791
  <table class="params">
791
792
    <tr><td class="paramname">type1</td><td>A content type string. </td></tr>
792
793
    <tr><td class="paramname">type2</td><td>A content type string.</td></tr>
802
803
<div class="memproto">
803
804
      <table class="memname">
804
805
        <tr>
805
 
          <td class="memname"><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a> <a class="el" href="namespaceGio.html#ad5432d8f8c8ba74f8157af9d49930b4c">Gio::content_type_from_mime_type</a> </td>
 
806
          <td class="memname"><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a> Gio::content_type_from_mime_type </td>
806
807
          <td>(</td>
807
808
          <td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&#160;</td>
808
809
          <td class="paramname"><em>mime_type</em></td><td>)</td>
813
814
<div class="memdoc">
814
815
 
815
816
<p>Tries to find a content type based on the mime type name. </p>
816
 
<dl class="params"><dt><b>Parameters:</b></dt><dd>
 
817
<dl><dt><b>Parameters:</b></dt><dd>
817
818
  <table class="params">
818
819
    <tr><td class="paramname">mime_type</td><td>a mime type string. </td></tr>
819
820
  </table>
829
830
<div class="memproto">
830
831
      <table class="memname">
831
832
        <tr>
832
 
          <td class="memname"><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a> <a class="el" href="namespaceGio.html#ac065cb89d7abb5935cfa225e3d41a732">Gio::content_type_get_description</a> </td>
 
833
          <td class="memname"><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a> Gio::content_type_get_description </td>
833
834
          <td>(</td>
834
835
          <td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&#160;</td>
835
836
          <td class="paramname"><em>type</em></td><td>)</td>
840
841
<div class="memdoc">
841
842
 
842
843
<p>Gets the human readable description of the content type. </p>
843
 
<dl class="params"><dt><b>Parameters:</b></dt><dd>
 
844
<dl><dt><b>Parameters:</b></dt><dd>
844
845
  <table class="params">
845
846
    <tr><td class="paramname">type</td><td>A content type string.</td></tr>
846
847
  </table>
855
856
<div class="memproto">
856
857
      <table class="memname">
857
858
        <tr>
858
 
          <td class="memname"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGio_1_1Icon.html">Icon</a>&gt; <a class="el" href="namespaceGio.html#a7972eb82466bf972bbbf5b58f6344e84">Gio::content_type_get_icon</a> </td>
 
859
          <td class="memname"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGio_1_1Icon.html">Icon</a>&gt; Gio::content_type_get_icon </td>
859
860
          <td>(</td>
860
861
          <td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&#160;</td>
861
862
          <td class="paramname"><em>type</em></td><td>)</td>
864
865
      </table>
865
866
</div>
866
867
<div class="memdoc">
867
 
<dl class="params"><dt><b>Parameters:</b></dt><dd>
 
868
<dl><dt><b>Parameters:</b></dt><dd>
868
869
  <table class="params">
869
870
    <tr><td class="paramname">type</td><td>A content type string.</td></tr>
870
871
  </table>
880
881
<div class="memproto">
881
882
      <table class="memname">
882
883
        <tr>
883
 
          <td class="memname"><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a> <a class="el" href="namespaceGio.html#a92f379d45658e14f3ec1bec3da71d908">Gio::content_type_get_mime_type</a> </td>
 
884
          <td class="memname"><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a> Gio::content_type_get_mime_type </td>
884
885
          <td>(</td>
885
886
          <td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&#160;</td>
886
887
          <td class="paramname"><em>type</em></td><td>)</td>
892
893
 
893
894
<p>Gets the mime-type for the content type. </p>
894
895
<p>If one is registered</p>
895
 
<dl class="params"><dt><b>Parameters:</b></dt><dd>
 
896
<dl><dt><b>Parameters:</b></dt><dd>
896
897
  <table class="params">
897
898
    <tr><td class="paramname">type</td><td>A content type string.</td></tr>
898
899
  </table>
907
908
<div class="memproto">
908
909
      <table class="memname">
909
910
        <tr>
910
 
          <td class="memname"><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a> <a class="el" href="namespaceGio.html#a48e8afbb7f1724efcdebd7c028da5560">Gio::content_type_guess</a> </td>
 
911
          <td class="memname"><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a> Gio::content_type_guess </td>
911
912
          <td>(</td>
912
 
          <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01639.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
 
913
          <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01672.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
913
914
          <td class="paramname"><em>filename</em>, </td>
914
915
        </tr>
915
916
        <tr>
941
942
 
942
943
<p>Guesses the content type based on example data. </p>
943
944
<p>If the function is uncertain, <em>result_uncertain</em> will be set to true</p>
944
 
<dl class="params"><dt><b>Parameters:</b></dt><dd>
 
945
<dl><dt><b>Parameters:</b></dt><dd>
945
946
  <table class="params">
946
947
    <tr><td class="paramname">filename</td><td>a string. </td></tr>
947
948
    <tr><td class="paramname">data</td><td>A stream of data. </td></tr>
959
960
<div class="memproto">
960
961
      <table class="memname">
961
962
        <tr>
962
 
          <td class="memname"><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a> <a class="el" href="namespaceGio.html#a48e8afbb7f1724efcdebd7c028da5560">Gio::content_type_guess</a> </td>
 
963
          <td class="memname"><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a> Gio::content_type_guess </td>
963
964
          <td>(</td>
964
 
          <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01639.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
 
965
          <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01672.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
965
966
          <td class="paramname"><em>filename</em>, </td>
966
967
        </tr>
967
968
        <tr>
968
969
          <td class="paramkey"></td>
969
970
          <td></td>
970
 
          <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01639.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
 
971
          <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01672.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
971
972
          <td class="paramname"><em>data</em>, </td>
972
973
        </tr>
973
974
        <tr>
987
988
 
988
989
<p>Guesses the content type based on example data. </p>
989
990
<p>If the function is uncertain, <em>result_uncertain</em> will be set to true</p>
990
 
<dl class="params"><dt><b>Parameters:</b></dt><dd>
 
991
<dl><dt><b>Parameters:</b></dt><dd>
991
992
  <table class="params">
992
993
    <tr><td class="paramname">filename</td><td>a string. </td></tr>
993
994
    <tr><td class="paramname">data</td><td>A stream of data. </td></tr>
1004
1005
<div class="memproto">
1005
1006
      <table class="memname">
1006
1007
        <tr>
1007
 
          <td class="memname"><a class="el" href="group__ContHandles.html#ga8e243b697be740f5f7d4b578ae50db41">Glib::StringArrayHandle</a> <a class="el" href="namespaceGio.html#a7e82e215c402edca50219020e43d08ec">Gio::content_type_guess_for_tree</a> </td>
 
1008
          <td class="memname"><a class="el" href="group__ContHandles.html#ga8e243b697be740f5f7d4b578ae50db41">Glib::StringArrayHandle</a> Gio::content_type_guess_for_tree </td>
1008
1009
          <td>(</td>
1009
1010
          <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const File &gt;&amp;&#160;</td>
1010
1011
          <td class="paramname"><em>root</em></td><td>)</td>
1017
1018
<p>Tries to guess the type of the tree with root <em>root</em>, by looking at the files it contains. </p>
1018
1019
<p>The result is a list of content types, with the best guess coming first.</p>
1019
1020
<p>The types returned all have the form x-content/foo, e.g. x-content/audio-cdda (for audio CDs) or x-content/image-dcf (for a camera memory card). See the &lt;ulink url="http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec"&gt;shared-mime-info&lt;/ulink&gt; specification for more on x-content types.</p>
1020
 
<dl class="params"><dt><b>Parameters:</b></dt><dd>
 
1021
<dl><dt><b>Parameters:</b></dt><dd>
1021
1022
  <table class="params">
1022
1023
    <tr><td class="paramname">root</td><td>The root of the tree to guess a type for. </td></tr>
1023
1024
  </table>
1033
1034
<div class="memproto">
1034
1035
      <table class="memname">
1035
1036
        <tr>
1036
 
          <td class="memname">bool <a class="el" href="namespaceGio.html#a278fca288c7c2e9995ebb64ce43a6ffd">Gio::content_type_is_a</a> </td>
 
1037
          <td class="memname">bool Gio::content_type_is_a </td>
1037
1038
          <td>(</td>
1038
1039
          <td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&#160;</td>
1039
1040
          <td class="paramname"><em>type</em>, </td>
1054
1055
<div class="memdoc">
1055
1056
 
1056
1057
<p>Determines if <em>type</em> is a subset of <em>supertype</em>. </p>
1057
 
<dl class="params"><dt><b>Parameters:</b></dt><dd>
 
1058
<dl><dt><b>Parameters:</b></dt><dd>
1058
1059
  <table class="params">
1059
1060
    <tr><td class="paramname">type</td><td>A content type string. </td></tr>
1060
1061
    <tr><td class="paramname">supertype</td><td>A string.</td></tr>
1070
1071
<div class="memproto">
1071
1072
      <table class="memname">
1072
1073
        <tr>
1073
 
          <td class="memname">bool <a class="el" href="namespaceGio.html#aee153086e7cd9f1ab0509cbf81ec06e9">Gio::content_type_is_unknown</a> </td>
 
1074
          <td class="memname">bool Gio::content_type_is_unknown </td>
1074
1075
          <td>(</td>
1075
1076
          <td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&#160;</td>
1076
1077
          <td class="paramname"><em>type</em></td><td>)</td>
1082
1083
 
1083
1084
<p>Checks if the content type is the generic "unknown" type. </p>
1084
1085
<p>On unix this is the "application/octet-stream" mimetype, while on win32 it is "*".</p>
1085
 
<dl class="params"><dt><b>Parameters:</b></dt><dd>
 
1086
<dl><dt><b>Parameters:</b></dt><dd>
1086
1087
  <table class="params">
1087
1088
    <tr><td class="paramname">type</td><td>A content type string.</td></tr>
1088
1089
  </table>
1097
1098
<div class="memproto">
1098
1099
      <table class="memname">
1099
1100
        <tr>
1100
 
          <td class="memname"><a class="el" href="classGlib_1_1ListHandle.html">Glib::ListHandle</a>&lt;<a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&gt; <a class="el" href="namespaceGio.html#aeae6cd7ee77a7b1c52443116f346b476">Gio::content_types_get_registered</a> </td>
 
1101
          <td class="memname"><a class="el" href="classGlib_1_1ListHandle.html">Glib::ListHandle</a>&lt;<a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&gt; Gio::content_types_get_registered </td>
1101
1102
          <td>(</td>
1102
1103
          <td class="paramname"></td><td>)</td>
1103
1104
          <td></td>
1116
1117
<div class="memproto">
1117
1118
      <table class="memname">
1118
1119
        <tr>
1119
 
          <td class="memname">bool <a class="el" href="namespaceGio.html#a58e3cc92152717d75a9f5cf4d260815d">Gio::hostname_is_ascii_encoded</a> </td>
 
1120
          <td class="memname">bool Gio::hostname_is_ascii_encoded </td>
1120
1121
          <td>(</td>
1121
1122
          <td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&#160;</td>
1122
1123
          <td class="paramname"><em>hostname</em></td><td>)</td>
1133
1134
<div class="memproto">
1134
1135
      <table class="memname">
1135
1136
        <tr>
1136
 
          <td class="memname">bool <a class="el" href="namespaceGio.html#a19e270aea166c888515b97d0623f4309">Gio::hostname_is_ip_address</a> </td>
 
1137
          <td class="memname">bool Gio::hostname_is_ip_address </td>
1137
1138
          <td>(</td>
1138
1139
          <td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&#160;</td>
1139
1140
          <td class="paramname"><em>hostname</em></td><td>)</td>
1150
1151
<div class="memproto">
1151
1152
      <table class="memname">
1152
1153
        <tr>
1153
 
          <td class="memname">bool <a class="el" href="namespaceGio.html#a0d47bc4dc47f82a829ee5e00e13987f3">Gio::hostname_is_non_ascii</a> </td>
 
1154
          <td class="memname">bool Gio::hostname_is_non_ascii </td>
1154
1155
          <td>(</td>
1155
1156
          <td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&#160;</td>
1156
1157
          <td class="paramname"><em>hostname</em></td><td>)</td>
1167
1168
<div class="memproto">
1168
1169
      <table class="memname">
1169
1170
        <tr>
1170
 
          <td class="memname"><a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01639.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> <a class="el" href="namespaceGio.html#a77e0b4b95d9ab0d2c2b21e79117ec77a">Gio::hostname_to_ascii</a> </td>
 
1171
          <td class="memname"><a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01672.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> Gio::hostname_to_ascii </td>
1171
1172
          <td>(</td>
1172
1173
          <td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&#160;</td>
1173
1174
          <td class="paramname"><em>hostname</em></td><td>)</td>
1184
1185
<div class="memproto">
1185
1186
      <table class="memname">
1186
1187
        <tr>
1187
 
          <td class="memname"><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a> <a class="el" href="namespaceGio.html#a80496bf6a136c6b3a4d995849d0665af">Gio::hostname_to_unicode</a> </td>
 
1188
          <td class="memname"><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a> Gio::hostname_to_unicode </td>
1188
1189
          <td>(</td>
1189
1190
          <td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&#160;</td>
1190
1191
          <td class="paramname"><em>hostname</em></td><td>)</td>
1201
1202
<div class="memproto">
1202
1203
      <table class="memname">
1203
1204
        <tr>
1204
 
          <td class="memname">void <a class="el" href="namespaceGio.html#a28171d5c1584ce2516ba05b13cee04ec">Gio::init</a> </td>
 
1205
          <td class="memname">void Gio::init </td>
1205
1206
          <td>(</td>
1206
1207
          <td class="paramname"></td><td>)</td>
1207
1208
          <td></td>
1214
1215
 
1215
1216
</div>
1216
1217
</div>
1217
 
</div><!-- contents -->
 
1218
</div>
1218
1219
 
1219
1220
 
1220
1221
<hr class="footer"/><address class="footer"><small>
1221
 
Generated on Tue Apr 10 2012 14:20:37 for glibmm by &#160;<a href="http://www.doxygen.org/index.html">
 
1222
Generated on Tue Jun 12 2012 09:21:28 for glibmm by &#160;<a href="http://www.doxygen.org/index.html">
1222
1223
<img class="footer" src="doxygen.png" alt="doxygen"/>
1223
 
</a> 1.7.6.1
 
1224
</a> 1.7.5
1224
1225
</small></address>
1225
1226
 
1226
1227
</body>