<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>glibmm 2.4: contenttype.h File Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head> <body bgcolor="#ffffff"> <table border="0" width="100%"> <tr> <td width="10%" height="40"><img src="../../images/gtkmm_logo.gif" alt="logo" border="0" width="100%" height="100%"/></td> <td width="90%" height="40"><img src="../../images/top.gif" alt="top" width="100%" height="40"/></td> </tr> </table> <center> <a class="qindex" href="../../../../gtkmm-2.4/docs/index.html">Main Page</a> <a href="../../../../gtkmm-2.4/docs/reference/html/group__Widgets.html">Widgets</a> <a class="qindex" href="namespaces.html">glibmm Namespaces</a> <a href="../../../../gtkmm-2.4/docs/tutorial/html/index.html"> Book</a> </center> <hr width="100%"/> <!-- begin main content --> <div id="content"> <!-- Generated by Doxygen 1.5.3 --> <h1>contenttype.h File Reference</h1><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="namespaceGio.html">Gio</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="namespaceGio.html#496c304f10ea79f1a20137bf614466e8">Gio::content_type_equals</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>& type1, const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>& type2)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Compares two content types for equality. <a href="#496c304f10ea79f1a20137bf614466e8"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGio.html#278fca288c7c2e9995ebb64ce43a6ffd">Gio::content_type_is_a</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>& type, const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>& supertype)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Determines if <em>type</em> is a subset of <em>supertype</em>. <a href="#278fca288c7c2e9995ebb64ce43a6ffd"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGio.html#ee153086e7cd9f1ab0509cbf81ec06e9">Gio::content_type_is_unknown</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>& type)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Checks if the content type is the generic "unknown" type. <a href="#ee153086e7cd9f1ab0509cbf81ec06e9"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGio.html#c065cb89d7abb5935cfa225e3d41a732">Gio::content_type_get_description</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>& type)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the human readable description of the content type. <a href="#c065cb89d7abb5935cfa225e3d41a732"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGio.html#92f379d45658e14f3ec1bec3da71d908">Gio::content_type_get_mime_type</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>& type)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the mime-type for the content type. <a href="#92f379d45658e14f3ec1bec3da71d908"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><Icon> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGio.html#7972eb82466bf972bbbf5b58f6344e84">Gio::content_type_get_icon</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>& type)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>type</em> </td><td>A content type string. </td></tr> </table> </dl> <a href="#7972eb82466bf972bbbf5b58f6344e84"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGio.html#e5107c4e00134d7d9df3b755a74f9494">Gio::content_type_can_be_executable</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>& type)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Checks if a content type can be executable. <a href="#e5107c4e00134d7d9df3b755a74f9494"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGio.html#48e8afbb7f1724efcdebd7c028da5560">Gio::content_type_guess</a> (const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a>& filename, const guchar* data, gsize data_size, bool& result_uncertain)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Guesses the content type based on example data. <a href="#48e8afbb7f1724efcdebd7c028da5560"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGio.html#e46acc46aa5c33a8d1feda6a675fefa9">Gio::content_type_guess</a> (const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a>& filename, const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a>& data, bool& result_uncertain)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Guesses the content type based on example data. <a href="#e46acc46aa5c33a8d1feda6a675fefa9"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGlib_1_1ListHandle.html">Glib::ListHandle</a><br> <<a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGio.html#eae6cd7ee77a7b1c52443116f346b476">Gio::content_types_get_registered</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets a list of strings containing all the registered content types known to the system. <a href="#eae6cd7ee77a7b1c52443116f346b476"></a><br></td></tr> </table> </div> <!-- end main content --> <hr><address><small> Generated for glibmm 2.4 by <a href="http://www.doxygen.org/index.html"> Doxygen</a> 1.5.3 © 1997-2001</small></address> </body> </html>