Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 04b5d9decd5baea570b59d0bd03cbaab > files > 88

glibmm24-doc-2.28.0-1.fc15.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>glibmm: Gio::Drive Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.2 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath">
    <ul>
      <li><a class="el" href="namespaceGio.html">Gio</a> </li>
      <li><a class="el" href="classGio_1_1Drive.html">Drive</a> </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#related">Related Functions</a> </div>
  <div class="headertitle">
<h1>Gio::Drive Class Reference</h1> </div>
</div>
<div class="contents">
<!-- doxytag: class="Gio::Drive" --><!-- doxytag: inherits="Glib::Interface" -->
<p>Virtual <a class="el" href="classGio_1_1File.html" title="File and directory handling.">File</a> System drive management. <a href="#_details">More...</a></p>

<p><code>#include &lt;giomm/drive.h&gt;</code></p>
<!-- startSectionHeader --><div class="dynheader">
Inheritance diagram for Gio::Drive:<!-- endSectionHeader --></div>
<!-- startSectionSummary --><!-- endSectionSummary --><!-- startSectionContent --><div class="dyncontent">
<div class="center"><img src="classGio_1_1Drive__inherit__graph.png" border="0" usemap="#Gio_1_1Drive_inherit__map" alt="Inheritance graph"/></div>
<map name="Gio_1_1Drive_inherit__map" id="Gio_1_1Drive_inherit__map">
<area shape="rect" id="node2" href="classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="13,160,123,189"/><area shape="rect" id="node4" href="classGlib_1_1ObjectBase.html" title="Glib::ObjectBase is a common base class for Objects and Interfaces." alt="" coords="5,83,131,112"/><area shape="rect" id="node6" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="11,5,125,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center><!-- endSectionContent --></div>

<p><a href="classGio_1_1Drive-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Drive.html#a92df3dab950a06a57ea2f5080b917a14">~Drive</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GDrive*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Drive.html#aaa1d4330f6e1d0faee6262f632c63227">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#aaa1d4330f6e1d0faee6262f632c63227"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GDrive*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Drive.html#ada0bdfcbce80c94f4b080f6de73706df">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#ada0bdfcbce80c94f4b080f6de73706df"></a><br/></td></tr>
<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="classGio_1_1Drive.html#a29125b6262e95613e92266221584ab2d">get_name</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the name of <em>drive</em>. <a href="#a29125b6262e95613e92266221584ab2d"></a><br/></td></tr>
<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="classGio_1_1Drive.html#aa7bbfe3d9eb4c716e4e964388b504458">get_icon</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the icon for <em>drive</em>. <a href="#aa7bbfe3d9eb4c716e4e964388b504458"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGio_1_1Icon.html">Icon</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Drive.html#ad0407bd1e193689a5b088abac49f581c">get_icon</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the icon for <em>drive</em>. <a href="#ad0407bd1e193689a5b088abac49f581c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Drive.html#a42a2753bc97ae014a1649dc53b4acfae">has_volumes</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if <em>drive</em> has any mountable volumes. <a href="#a42a2753bc97ae014a1649dc53b4acfae"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1ListHandle.html">Glib::ListHandle</a>&lt; <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak"/>
&lt; <a class="el" href="classGio_1_1Volume.html">Volume</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Drive.html#afe6e5759dcf759a1c862e172543d6bd3">get_volumes</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a list of mountable volumes for <em>drive</em>. <a href="#afe6e5759dcf759a1c862e172543d6bd3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Drive.html#aa9c9b3db01d76f26527702860498b531">is_media_removable</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if the <em>drive</em> supports removable media. <a href="#aa9c9b3db01d76f26527702860498b531"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Drive.html#ad5397764c7a76adf9a0d8bc4f419fbe3">has_media</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if the <em>drive</em> has media. <a href="#ad5397764c7a76adf9a0d8bc4f419fbe3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Drive.html#a0cbbb630e6f944f2cd078219d7e35cc7">is_media_check_automatic</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if <em>drive</em> is capabable of automatically detecting media changes. <a href="#a0cbbb630e6f944f2cd078219d7e35cc7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Drive.html#a538ad0e01c3359d7d75e8389eb54dec0">can_poll_for_media</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if a drive can be polled for media changes. <a href="#a538ad0e01c3359d7d75e8389eb54dec0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Drive.html#a63d1960ea469bdb1a61ddf1752a6e9b9">can_eject</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if a drive can be ejected. <a href="#a63d1960ea469bdb1a61ddf1752a6e9b9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Drive.html#a4163a79cc5ff639693159110592e6be0">eject</a> (const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotAsyncReady</a>&amp; slot, const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1Cancellable.html">Cancellable</a> &gt;&amp; cancellable, <a class="el" href="group__giommEnums.html#ga9fa1b6a8eabf8f88e4cf6d611a4cff44">MountUnmountFlags</a> flags=MOUNT_UNMOUNT_NONE)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Ejects the drive. <a href="#a4163a79cc5ff639693159110592e6be0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Drive.html#a7677be984564a7cf3c5ab7dd3ebb6c96">eject</a> (const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotAsyncReady</a>&amp; slot, <a class="el" href="group__giommEnums.html#ga9fa1b6a8eabf8f88e4cf6d611a4cff44">MountUnmountFlags</a> flags=MOUNT_UNMOUNT_NONE)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Ejects the drive. <a href="#a7677be984564a7cf3c5ab7dd3ebb6c96"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Drive.html#a306949d0008fd30a59136e0759dd60ed">eject</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1MountOperation.html">MountOperation</a> &gt;&amp; mount_operation, const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotAsyncReady</a>&amp; slot, const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1Cancellable.html">Cancellable</a> &gt;&amp; cancellable, <a class="el" href="group__giommEnums.html#ga9fa1b6a8eabf8f88e4cf6d611a4cff44">MountUnmountFlags</a> flags=MOUNT_UNMOUNT_NONE)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Drive.html#a21a808bb07f7cb580899006fd42c76ea">eject</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1MountOperation.html">MountOperation</a> &gt;&amp; mount_operation, const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotAsyncReady</a>&amp; slot, <a class="el" href="group__giommEnums.html#ga9fa1b6a8eabf8f88e4cf6d611a4cff44">MountUnmountFlags</a> flags=MOUNT_UNMOUNT_NONE)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Drive.html#af66cf6ad9b9027630f1c9303bbb6a8fe">eject</a> (<a class="el" href="group__giommEnums.html#ga9fa1b6a8eabf8f88e4cf6d611a4cff44">MountUnmountFlags</a> flags=MOUNT_UNMOUNT_NONE)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Ejects the drive. <a href="#af66cf6ad9b9027630f1c9303bbb6a8fe"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Drive.html#acb804853bd5e4ecf4abc6503e6ffa82d">eject</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1MountOperation.html">MountOperation</a> &gt;&amp; mount_operation, <a class="el" href="group__giommEnums.html#ga9fa1b6a8eabf8f88e4cf6d611a4cff44">MountUnmountFlags</a> flags=MOUNT_UNMOUNT_NONE)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Drive.html#abdc299d32ba4dd96784db3a9a4523ea4">eject_finish</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1AsyncResult.html">AsyncResult</a> &gt;&amp; result)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Finishes ejecting a drive. <a href="#abdc299d32ba4dd96784db3a9a4523ea4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Drive.html#a1733be3e6aa7c23caa3c12a45d75878d">poll_for_media</a> (const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotAsyncReady</a>&amp; slot, const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1Cancellable.html">Cancellable</a> &gt;&amp; cancellable)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Polls drive to see if media has been inserted or removed. <a href="#a1733be3e6aa7c23caa3c12a45d75878d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Drive.html#a1c565d20c1f17a233db75dec9ce30415">poll_for_media</a> (const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotAsyncReady</a>&amp; slot)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Polls drive to see if media has been inserted or removed. <a href="#a1c565d20c1f17a233db75dec9ce30415"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Drive.html#a85bd972cad1ef7e1c2627767a825eed0">poll_for_media</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Polls drive to see if media has been inserted or removed. <a href="#a85bd972cad1ef7e1c2627767a825eed0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Drive.html#afa415ce0439367e5d8685a2bb1bd9b8d">poll_for_media_finish</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1AsyncResult.html">AsyncResult</a> &gt;&amp; result)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Finishes an operation started with g_drive_poll_for_media() on a drive. <a href="#afa415ce0439367e5d8685a2bb1bd9b8d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01202.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Drive.html#a6a94c55bba839fa834ba18bc4ef41c39">get_identifier</a> (const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01202.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; kind) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the identifier of the given kind for <em>drive</em>. <a href="#a6a94c55bba839fa834ba18bc4ef41c39"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1ArrayHandle.html">Glib::StringArrayHandle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Drive.html#a8c6c6c5597208c8cc9610b5f2d9f8107">enumerate_identifiers</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the kinds of identifiers that <em>drive</em> has. <a href="#a8c6c6c5597208c8cc9610b5f2d9f8107"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Drive.html#a48cae86204823873e110ecdf7948a5c3">start</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1MountOperation.html">MountOperation</a> &gt;&amp; mount_operation, const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1Cancellable.html">Cancellable</a> &gt;&amp; cancellable, const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotAsyncReady</a>&amp; slot, <a class="el" href="group__giommEnums.html#gab628e70b1d028b3bc9b02b0d3b8acf2d">DriveStartFlags</a> flags=DRIVE_START_NONE)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Drive.html#a99ca25e21f33f54e79b9d62e47ddda71">start</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1MountOperation.html">MountOperation</a> &gt;&amp; mount_operation, const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotAsyncReady</a>&amp; slot, <a class="el" href="group__giommEnums.html#gab628e70b1d028b3bc9b02b0d3b8acf2d">DriveStartFlags</a> flags=DRIVE_START_NONE)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Drive.html#a7d81d812989e5dc79414c63149dda9d7">start_finish</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1AsyncResult.html">AsyncResult</a> &gt;&amp; result)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Finishes starting a drive. <a href="#a7d81d812989e5dc79414c63149dda9d7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Drive.html#a2594f0176716f8aec2464a3b4dc856a4">can_start</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Drive.html#ac047620f769a455b2ca3869bf725e9eb">can_start_degraded</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Drive.html#a037cd31001af5d6d0540f4ccbe7b12bf">stop</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1MountOperation.html">MountOperation</a> &gt;&amp; mount_operation, const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1Cancellable.html">Cancellable</a> &gt;&amp; cancellable, const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotAsyncReady</a>&amp; slot, <a class="el" href="group__giommEnums.html#ga9fa1b6a8eabf8f88e4cf6d611a4cff44">MountUnmountFlags</a> flags=MOUNT_UNMOUNT_NONE)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Drive.html#a1adf5f0d63a2d3a38acc4328f726f7ed">stop</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1MountOperation.html">MountOperation</a> &gt;&amp; mount_operation, const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotAsyncReady</a>&amp; slot, <a class="el" href="group__giommEnums.html#ga9fa1b6a8eabf8f88e4cf6d611a4cff44">MountUnmountFlags</a> flags=MOUNT_UNMOUNT_NONE)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Drive.html#a308102dbcef3dac0a3ad0006a0c1440e">stop_finish</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1AsyncResult.html">AsyncResult</a> &gt;&amp; result)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Finishes stopping a drive. <a href="#a308102dbcef3dac0a3ad0006a0c1440e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Drive.html#a79c25c1986a1e46ca8dcdf8e331b4dba">can_stop</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__giommEnums.html#ga148d2356238c5c8f809dcbd58341cc2d">DriveStartStopType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Drive.html#a5c9954887834a697b9417188c4e0ccb0">get_start_stop_type</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets a hint about how a drive can be started/stopped. <a href="#a5c9954887834a697b9417188c4e0ccb0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Drive.html#abda915e1b5fff2be69fc28bbbba05736">signal_changed</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Drive.html#aa65a212796147d65d4fa953755c33b6e">signal_disconnected</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Drive.html#aae48457a354c2bbde87b27c991bf867d">signal_eject_button</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Drive.html#a37a763ad90197500323edacc4e6a8f63">signal_stop_button</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Drive.html#a4a00b2efd7a10fae3ffc6e67f30b0908">add_interface</a> (GType gtype_implementer)</td></tr>
<tr><td colspan="2"><h2><a name="related"></a>
Related Functions</h2></td></tr>
<tr><td colspan="2"><p>(Note that these are not member functions.) </p>
<br/></td></tr>
<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_1Drive.html">Gio::Drive</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1Drive.html#a1a0d5aec4d31827ebfcbdea0c2ebee87">wrap</a> (GDrive* object, bool take_copy=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="el" href="namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a1a0d5aec4d31827ebfcbdea0c2ebee87"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Virtual <a class="el" href="classGio_1_1File.html" title="File and directory handling.">File</a> System drive management. </p>
<p>This represent a piece of hardware connected to the machine. It's generally only created for removable hardware or hardware with removable media. <a class="el" href="classGio_1_1Drive.html" title="Virtual File System drive management.">Gio::Drive</a> is a container class for <a class="el" href="classGio_1_1Volume.html" title="The Volume interface represents user-visible objects that can be mounted.">Gio::Volume</a> objects that stem from the same piece of media. As such, <a class="el" href="classGio_1_1Drive.html" title="Virtual File System drive management.">Gio::Drive</a> abstracts a drive with (or without) removable media and provides operations for querying whether media is available, determing whether media change is automatically detected and ejecting the media.</p>
<p>If the <a class="el" href="classGio_1_1Drive.html" title="Virtual File System drive management.">Gio::Drive</a> reports that media isn't automatically detected, one can poll for media; typically one should not do this periodically as a poll for media operation is potententially expensive and may spin up the drive, creating noise.</p>
<dl class="since_2_16"><dt><b><a class="el" href="since_2_16.html#_since_2_16000022">Since glibmm 2.16:</a></b></dt><dd></dd></dl>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a92df3dab950a06a57ea2f5080b917a14"></a><!-- doxytag: member="Gio::Drive::~Drive" ref="a92df3dab950a06a57ea2f5080b917a14" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gio::Drive::~Drive </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a4a00b2efd7a10fae3ffc6e67f30b0908"></a><!-- doxytag: member="Gio::Drive::add_interface" ref="a4a00b2efd7a10fae3ffc6e67f30b0908" args="(GType gtype_implementer)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void Gio::Drive::add_interface </td>
          <td>(</td>
          <td class="paramtype">GType&#160;</td>
          <td class="paramname"> <em>gtype_implementer</em>&#160;)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a63d1960ea469bdb1a61ddf1752a6e9b9"></a><!-- doxytag: member="Gio::Drive::can_eject" ref="a63d1960ea469bdb1a61ddf1752a6e9b9" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gio::Drive::can_eject </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Checks if a drive can be ejected. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the <em>drive</em> can be ejected, <code>false</code> otherwise. </dd></dl>

</div>
</div>
<a class="anchor" id="a538ad0e01c3359d7d75e8389eb54dec0"></a><!-- doxytag: member="Gio::Drive::can_poll_for_media" ref="a538ad0e01c3359d7d75e8389eb54dec0" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gio::Drive::can_poll_for_media </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Checks if a drive can be polled for media changes. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the <em>drive</em> can be polled for media changes, <code>false</code> otherwise. </dd></dl>

</div>
</div>
<a class="anchor" id="a2594f0176716f8aec2464a3b4dc856a4"></a><!-- doxytag: member="Gio::Drive::can_start" ref="a2594f0176716f8aec2464a3b4dc856a4" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gio::Drive::can_start </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="since_2_22"><dt><b><a class="el" href="since_2_22.html#_since_2_22000017">Since glibmm 2.22:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="ac047620f769a455b2ca3869bf725e9eb"></a><!-- doxytag: member="Gio::Drive::can_start_degraded" ref="ac047620f769a455b2ca3869bf725e9eb" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gio::Drive::can_start_degraded </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="since_2_22"><dt><b><a class="el" href="since_2_22.html#_since_2_22000018">Since glibmm 2.22:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a79c25c1986a1e46ca8dcdf8e331b4dba"></a><!-- doxytag: member="Gio::Drive::can_stop" ref="a79c25c1986a1e46ca8dcdf8e331b4dba" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gio::Drive::can_stop </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="since_2_22"><dt><b><a class="el" href="since_2_22.html#_since_2_22000022">Since glibmm 2.22:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a306949d0008fd30a59136e0759dd60ed"></a><!-- doxytag: member="Gio::Drive::eject" ref="a306949d0008fd30a59136e0759dd60ed" args="(const Glib::RefPtr&lt; MountOperation &gt; &amp;mount_operation, const SlotAsyncReady &amp;slot, const Glib::RefPtr&lt; Cancellable &gt; &amp;cancellable, MountUnmountFlags flags=MOUNT_UNMOUNT_NONE)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gio::Drive::eject </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1MountOperation.html">MountOperation</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>mount_operation</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotAsyncReady</a> &amp;&#160;</td>
          <td class="paramname"> <em>slot</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1Cancellable.html">Cancellable</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>cancellable</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__giommEnums.html#ga9fa1b6a8eabf8f88e4cf6d611a4cff44">MountUnmountFlags</a>&#160;</td>
          <td class="paramname"> <em>flags</em> = <code>MOUNT_UNMOUNT_NONE</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a21a808bb07f7cb580899006fd42c76ea"></a><!-- doxytag: member="Gio::Drive::eject" ref="a21a808bb07f7cb580899006fd42c76ea" args="(const Glib::RefPtr&lt; MountOperation &gt; &amp;mount_operation, const SlotAsyncReady &amp;slot, MountUnmountFlags flags=MOUNT_UNMOUNT_NONE)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gio::Drive::eject </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1MountOperation.html">MountOperation</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>mount_operation</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotAsyncReady</a> &amp;&#160;</td>
          <td class="paramname"> <em>slot</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__giommEnums.html#ga9fa1b6a8eabf8f88e4cf6d611a4cff44">MountUnmountFlags</a>&#160;</td>
          <td class="paramname"> <em>flags</em> = <code>MOUNT_UNMOUNT_NONE</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="af66cf6ad9b9027630f1c9303bbb6a8fe"></a><!-- doxytag: member="Gio::Drive::eject" ref="af66cf6ad9b9027630f1c9303bbb6a8fe" args="(MountUnmountFlags flags=MOUNT_UNMOUNT_NONE)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gio::Drive::eject </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__giommEnums.html#ga9fa1b6a8eabf8f88e4cf6d611a4cff44">MountUnmountFlags</a>&#160;</td>
          <td class="paramname"> <em>flags</em> = <code>MOUNT_UNMOUNT_NONE</code>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Ejects the drive. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">slot</td><td>A callback which will be called when the eject is completed. </td></tr>
    <tr><td class="paramname">flags</td><td>Flags affecting the unmount if required for eject. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="acb804853bd5e4ecf4abc6503e6ffa82d"></a><!-- doxytag: member="Gio::Drive::eject" ref="acb804853bd5e4ecf4abc6503e6ffa82d" args="(const Glib::RefPtr&lt; MountOperation &gt; &amp;mount_operation, MountUnmountFlags flags=MOUNT_UNMOUNT_NONE)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gio::Drive::eject </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1MountOperation.html">MountOperation</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>mount_operation</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__giommEnums.html#ga9fa1b6a8eabf8f88e4cf6d611a4cff44">MountUnmountFlags</a>&#160;</td>
          <td class="paramname"> <em>flags</em> = <code>MOUNT_UNMOUNT_NONE</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a7677be984564a7cf3c5ab7dd3ebb6c96"></a><!-- doxytag: member="Gio::Drive::eject" ref="a7677be984564a7cf3c5ab7dd3ebb6c96" args="(const SlotAsyncReady &amp;slot, MountUnmountFlags flags=MOUNT_UNMOUNT_NONE)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gio::Drive::eject </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotAsyncReady</a> &amp;&#160;</td>
          <td class="paramname"> <em>slot</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__giommEnums.html#ga9fa1b6a8eabf8f88e4cf6d611a4cff44">MountUnmountFlags</a>&#160;</td>
          <td class="paramname"> <em>flags</em> = <code>MOUNT_UNMOUNT_NONE</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Ejects the drive. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">slot</td><td>A callback which will be called when the eject is completed. </td></tr>
    <tr><td class="paramname">flags</td><td>Flags affecting the unmount if required for eject. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a4163a79cc5ff639693159110592e6be0"></a><!-- doxytag: member="Gio::Drive::eject" ref="a4163a79cc5ff639693159110592e6be0" args="(const SlotAsyncReady &amp;slot, const Glib::RefPtr&lt; Cancellable &gt; &amp;cancellable, MountUnmountFlags flags=MOUNT_UNMOUNT_NONE)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gio::Drive::eject </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotAsyncReady</a> &amp;&#160;</td>
          <td class="paramname"> <em>slot</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1Cancellable.html">Cancellable</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>cancellable</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__giommEnums.html#ga9fa1b6a8eabf8f88e4cf6d611a4cff44">MountUnmountFlags</a>&#160;</td>
          <td class="paramname"> <em>flags</em> = <code>MOUNT_UNMOUNT_NONE</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Ejects the drive. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">slot</td><td>A callback which will be called when the eject is completed or canceled. </td></tr>
    <tr><td class="paramname">flags</td><td>Flags affecting the unmount if required for eject. </td></tr>
    <tr><td class="paramname">cancellable</td><td>A cancellable object which can be used to cancel the eject. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="abdc299d32ba4dd96784db3a9a4523ea4"></a><!-- doxytag: member="Gio::Drive::eject_finish" ref="abdc299d32ba4dd96784db3a9a4523ea4" args="(const Glib::RefPtr&lt; AsyncResult &gt; &amp;result)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gio::Drive::eject_finish </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1AsyncResult.html">AsyncResult</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>result</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Finishes ejecting a drive. </p>
<p>If any errors occurred during the operation, <em>error</em> will be set to contain the errors and <code>false</code> will be returned.</p>
<dl class="since_2_22"><dt><b><a class="el" href="since_2_22.html#_since_2_22000013">Since glibmm 2.22:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">result</td><td>A <a class="el" href="classGio_1_1AsyncResult.html" title="Provides a base class for implementing asynchronous function results.">AsyncResult</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the drive was successfully ejected. <code>false</code> otherwise. </dd></dl>

</div>
</div>
<a class="anchor" id="a8c6c6c5597208c8cc9610b5f2d9f8107"></a><!-- doxytag: member="Gio::Drive::enumerate_identifiers" ref="a8c6c6c5597208c8cc9610b5f2d9f8107" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGlib_1_1ArrayHandle.html">Glib::StringArrayHandle</a> Gio::Drive::enumerate_identifiers </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the kinds of identifiers that <em>drive</em> has. </p>
<p>Use Glib::drive_get_identifer() to obtain the identifiers themselves. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A <code>0</code>-terminated array of strings containing kinds of identifiers. Use Glib::strfreev() to free. </dd></dl>

</div>
</div>
<a class="anchor" id="aa7bbfe3d9eb4c716e4e964388b504458"></a><!-- doxytag: member="Gio::Drive::get_icon" ref="aa7bbfe3d9eb4c716e4e964388b504458" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <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::Drive::get_icon </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the icon for <em>drive</em>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classGio_1_1Icon.html" title="This is a very minimal interface for icons.">Icon</a> for the <em>drive</em>. Free the returned object with Glib::object_unref(). </dd></dl>

</div>
</div>
<a class="anchor" id="ad0407bd1e193689a5b088abac49f581c"></a><!-- doxytag: member="Gio::Drive::get_icon" ref="ad0407bd1e193689a5b088abac49f581c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGio_1_1Icon.html">Icon</a>&gt; Gio::Drive::get_icon </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the icon for <em>drive</em>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classGio_1_1Icon.html" title="This is a very minimal interface for icons.">Icon</a> for the <em>drive</em>. Free the returned object with Glib::object_unref(). </dd></dl>

</div>
</div>
<a class="anchor" id="a6a94c55bba839fa834ba18bc4ef41c39"></a><!-- doxytag: member="Gio::Drive::get_identifier" ref="a6a94c55bba839fa834ba18bc4ef41c39" args="(const std::string &amp;kind) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01202.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> Gio::Drive::get_identifier </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01202.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"> <em>kind</em>&#160;)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the identifier of the given kind for <em>drive</em>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">kind</td><td>The kind of identifier to return. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A newly allocated string containing the requested identfier, or <code>0</code> if the <a class="el" href="classGio_1_1Drive.html" title="Virtual File System drive management.">Drive</a> doesn't have this kind of identifier. </dd></dl>

</div>
</div>
<a class="anchor" id="a29125b6262e95613e92266221584ab2d"></a><!-- doxytag: member="Gio::Drive::get_name" ref="a29125b6262e95613e92266221584ab2d" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a> Gio::Drive::get_name </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the name of <em>drive</em>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A string containing <em>drive's</em> name. The returned string should be freed when no longer needed. </dd></dl>

</div>
</div>
<a class="anchor" id="a5c9954887834a697b9417188c4e0ccb0"></a><!-- doxytag: member="Gio::Drive::get_start_stop_type" ref="a5c9954887834a697b9417188c4e0ccb0" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__giommEnums.html#ga148d2356238c5c8f809dcbd58341cc2d">DriveStartStopType</a> Gio::Drive::get_start_stop_type </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets a hint about how a drive can be started/stopped. </p>
<dl class="since_2_22"><dt><b><a class="el" href="since_2_22.html#_since_2_22000023">Since glibmm 2.22:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A value from the DriveStartStopType enumeration. </dd></dl>

</div>
</div>
<a class="anchor" id="afe6e5759dcf759a1c862e172543d6bd3"></a><!-- doxytag: member="Gio::Drive::get_volumes" ref="afe6e5759dcf759a1c862e172543d6bd3" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGlib_1_1ListHandle.html">Glib::ListHandle</a>&lt; <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGio_1_1Volume.html">Volume</a>&gt; &gt; Gio::Drive::get_volumes </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get a list of mountable volumes for <em>drive</em>. </p>
<p>The returned list should be freed with Glib::list_free(), after its elements have been unreffed with Glib::object_unref(). </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>List containing any <a class="el" href="classGio_1_1Volume.html" title="The Volume interface represents user-visible objects that can be mounted.">Volume</a> objects on the given <em>drive</em>. </dd></dl>

</div>
</div>
<a class="anchor" id="aaa1d4330f6e1d0faee6262f632c63227"></a><!-- doxytag: member="Gio::Drive::gobj" ref="aaa1d4330f6e1d0faee6262f632c63227" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GDrive* Gio::Drive::gobj </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C GObject. </p>

<p>Reimplemented from <a class="el" href="classGlib_1_1Interface.html#a969e9396f75132a9577428f4fa932d42">Glib::Interface</a>.</p>

</div>
</div>
<a class="anchor" id="ada0bdfcbce80c94f4b080f6de73706df"></a><!-- doxytag: member="Gio::Drive::gobj" ref="ada0bdfcbce80c94f4b080f6de73706df" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GDrive* Gio::Drive::gobj </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C GObject. </p>

<p>Reimplemented from <a class="el" href="classGlib_1_1Interface.html#a70a443071a69d3372c2cdd7128a91ed1">Glib::Interface</a>.</p>

</div>
</div>
<a class="anchor" id="ad5397764c7a76adf9a0d8bc4f419fbe3"></a><!-- doxytag: member="Gio::Drive::has_media" ref="ad5397764c7a76adf9a0d8bc4f419fbe3" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gio::Drive::has_media </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Checks if the <em>drive</em> has media. </p>
<p>Note that the OS may not be polling the drive for media changes; see g_drive_is_media_check_automatic() for more details. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if <em>drive</em> has media, <code>false</code> otherwise. </dd></dl>

</div>
</div>
<a class="anchor" id="a42a2753bc97ae014a1649dc53b4acfae"></a><!-- doxytag: member="Gio::Drive::has_volumes" ref="a42a2753bc97ae014a1649dc53b4acfae" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gio::Drive::has_volumes </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Check if <em>drive</em> has any mountable volumes. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the <em>drive</em> contains volumes, <code>false</code> otherwise. </dd></dl>

</div>
</div>
<a class="anchor" id="a0cbbb630e6f944f2cd078219d7e35cc7"></a><!-- doxytag: member="Gio::Drive::is_media_check_automatic" ref="a0cbbb630e6f944f2cd078219d7e35cc7" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gio::Drive::is_media_check_automatic </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Checks if <em>drive</em> is capabable of automatically detecting media changes. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the <em>drive</em> is capabable of automatically detecting media changes, <code>false</code> otherwise. </dd></dl>

</div>
</div>
<a class="anchor" id="aa9c9b3db01d76f26527702860498b531"></a><!-- doxytag: member="Gio::Drive::is_media_removable" ref="aa9c9b3db01d76f26527702860498b531" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gio::Drive::is_media_removable </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Checks if the <em>drive</em> supports removable media. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if <em>drive</em> supports removable media, <code>false</code> otherwise. </dd></dl>

</div>
</div>
<a class="anchor" id="a85bd972cad1ef7e1c2627767a825eed0"></a><!-- doxytag: member="Gio::Drive::poll_for_media" ref="a85bd972cad1ef7e1c2627767a825eed0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gio::Drive::poll_for_media </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Polls drive to see if media has been inserted or removed. </p>

</div>
</div>
<a class="anchor" id="a1c565d20c1f17a233db75dec9ce30415"></a><!-- doxytag: member="Gio::Drive::poll_for_media" ref="a1c565d20c1f17a233db75dec9ce30415" args="(const SlotAsyncReady &amp;slot)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gio::Drive::poll_for_media </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotAsyncReady</a> &amp;&#160;</td>
          <td class="paramname"> <em>slot</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Polls drive to see if media has been inserted or removed. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">slot</td><td>A callback which will be called when the poll is completed. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a1733be3e6aa7c23caa3c12a45d75878d"></a><!-- doxytag: member="Gio::Drive::poll_for_media" ref="a1733be3e6aa7c23caa3c12a45d75878d" args="(const SlotAsyncReady &amp;slot, const Glib::RefPtr&lt; Cancellable &gt; &amp;cancellable)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gio::Drive::poll_for_media </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotAsyncReady</a> &amp;&#160;</td>
          <td class="paramname"> <em>slot</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1Cancellable.html">Cancellable</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>cancellable</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Polls drive to see if media has been inserted or removed. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">slot</td><td>A callback which will be called when the poll is completed. </td></tr>
    <tr><td class="paramname">cancellable</td><td>A cancellable object which can be used to cancel the operation. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="afa415ce0439367e5d8685a2bb1bd9b8d"></a><!-- doxytag: member="Gio::Drive::poll_for_media_finish" ref="afa415ce0439367e5d8685a2bb1bd9b8d" args="(const Glib::RefPtr&lt; AsyncResult &gt; &amp;result)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gio::Drive::poll_for_media_finish </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1AsyncResult.html">AsyncResult</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>result</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Finishes an operation started with g_drive_poll_for_media() on a drive. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">result</td><td>A <a class="el" href="classGio_1_1AsyncResult.html" title="Provides a base class for implementing asynchronous function results.">AsyncResult</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the drive has been poll_for_mediaed successfully, <code>false</code> otherwise. </dd></dl>

</div>
</div>
<a class="anchor" id="abda915e1b5fff2be69fc28bbbba05736"></a><!-- doxytag: member="Gio::Drive::signal_changed" ref="abda915e1b5fff2be69fc28bbbba05736" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt; Gio::Drive::signal_changed </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="since_2_20"><dt><b><a class="el" href="since_2_20.html#_since_2_20000005">Since glibmm 2.20:</a></b></dt><dd></dd></dl>
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_changed()</code> </dd></dl>

</div>
</div>
<a class="anchor" id="aa65a212796147d65d4fa953755c33b6e"></a><!-- doxytag: member="Gio::Drive::signal_disconnected" ref="aa65a212796147d65d4fa953755c33b6e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt; Gio::Drive::signal_disconnected </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="since_2_20"><dt><b><a class="el" href="since_2_20.html#_since_2_20000006">Since glibmm 2.20:</a></b></dt><dd></dd></dl>
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_disconnected()</code> </dd></dl>

</div>
</div>
<a class="anchor" id="aae48457a354c2bbde87b27c991bf867d"></a><!-- doxytag: member="Gio::Drive::signal_eject_button" ref="aae48457a354c2bbde87b27c991bf867d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt; Gio::Drive::signal_eject_button </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="since_2_20"><dt><b><a class="el" href="since_2_20.html#_since_2_20000007">Since glibmm 2.20:</a></b></dt><dd></dd></dl>
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_eject_button()</code> </dd></dl>

</div>
</div>
<a class="anchor" id="a37a763ad90197500323edacc4e6a8f63"></a><!-- doxytag: member="Gio::Drive::signal_stop_button" ref="a37a763ad90197500323edacc4e6a8f63" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt; Gio::Drive::signal_stop_button </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="since_2_22"><dt><b><a class="el" href="since_2_22.html#_since_2_22000024">Since glibmm 2.22:</a></b></dt><dd>* </dd></dl>
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_stop_button()</code> </dd></dl>

</div>
</div>
<a class="anchor" id="a99ca25e21f33f54e79b9d62e47ddda71"></a><!-- doxytag: member="Gio::Drive::start" ref="a99ca25e21f33f54e79b9d62e47ddda71" args="(const Glib::RefPtr&lt; MountOperation &gt; &amp;mount_operation, const SlotAsyncReady &amp;slot, DriveStartFlags flags=DRIVE_START_NONE)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gio::Drive::start </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1MountOperation.html">MountOperation</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>mount_operation</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotAsyncReady</a> &amp;&#160;</td>
          <td class="paramname"> <em>slot</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__giommEnums.html#gab628e70b1d028b3bc9b02b0d3b8acf2d">DriveStartFlags</a>&#160;</td>
          <td class="paramname"> <em>flags</em> = <code>DRIVE_START_NONE</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="since_2_22"><dt><b><a class="el" href="since_2_22.html#_since_2_22000015">Since glibmm 2.22:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a48cae86204823873e110ecdf7948a5c3"></a><!-- doxytag: member="Gio::Drive::start" ref="a48cae86204823873e110ecdf7948a5c3" args="(const Glib::RefPtr&lt; MountOperation &gt; &amp;mount_operation, const Glib::RefPtr&lt; Cancellable &gt; &amp;cancellable, const SlotAsyncReady &amp;slot, DriveStartFlags flags=DRIVE_START_NONE)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gio::Drive::start </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1MountOperation.html">MountOperation</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>mount_operation</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1Cancellable.html">Cancellable</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>cancellable</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotAsyncReady</a> &amp;&#160;</td>
          <td class="paramname"> <em>slot</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__giommEnums.html#gab628e70b1d028b3bc9b02b0d3b8acf2d">DriveStartFlags</a>&#160;</td>
          <td class="paramname"> <em>flags</em> = <code>DRIVE_START_NONE</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="since_2_22"><dt><b><a class="el" href="since_2_22.html#_since_2_22000014">Since glibmm 2.22:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a7d81d812989e5dc79414c63149dda9d7"></a><!-- doxytag: member="Gio::Drive::start_finish" ref="a7d81d812989e5dc79414c63149dda9d7" args="(const Glib::RefPtr&lt; AsyncResult &gt; &amp;result)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gio::Drive::start_finish </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1AsyncResult.html">AsyncResult</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>result</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Finishes starting a drive. </p>
<dl class="since_2_22"><dt><b><a class="el" href="since_2_22.html#_since_2_22000016">Since glibmm 2.22:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">result</td><td>A <a class="el" href="classGio_1_1AsyncResult.html" title="Provides a base class for implementing asynchronous function results.">AsyncResult</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the drive has been started successfully, <code>false</code> otherwise. </dd></dl>

</div>
</div>
<a class="anchor" id="a1adf5f0d63a2d3a38acc4328f726f7ed"></a><!-- doxytag: member="Gio::Drive::stop" ref="a1adf5f0d63a2d3a38acc4328f726f7ed" args="(const Glib::RefPtr&lt; MountOperation &gt; &amp;mount_operation, const SlotAsyncReady &amp;slot, MountUnmountFlags flags=MOUNT_UNMOUNT_NONE)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gio::Drive::stop </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1MountOperation.html">MountOperation</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>mount_operation</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotAsyncReady</a> &amp;&#160;</td>
          <td class="paramname"> <em>slot</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__giommEnums.html#ga9fa1b6a8eabf8f88e4cf6d611a4cff44">MountUnmountFlags</a>&#160;</td>
          <td class="paramname"> <em>flags</em> = <code>MOUNT_UNMOUNT_NONE</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="since_2_22"><dt><b><a class="el" href="since_2_22.html#_since_2_22000020">Since glibmm 2.22:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a037cd31001af5d6d0540f4ccbe7b12bf"></a><!-- doxytag: member="Gio::Drive::stop" ref="a037cd31001af5d6d0540f4ccbe7b12bf" args="(const Glib::RefPtr&lt; MountOperation &gt; &amp;mount_operation, const Glib::RefPtr&lt; Cancellable &gt; &amp;cancellable, const SlotAsyncReady &amp;slot, MountUnmountFlags flags=MOUNT_UNMOUNT_NONE)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gio::Drive::stop </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1MountOperation.html">MountOperation</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>mount_operation</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1Cancellable.html">Cancellable</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>cancellable</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotAsyncReady</a> &amp;&#160;</td>
          <td class="paramname"> <em>slot</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__giommEnums.html#ga9fa1b6a8eabf8f88e4cf6d611a4cff44">MountUnmountFlags</a>&#160;</td>
          <td class="paramname"> <em>flags</em> = <code>MOUNT_UNMOUNT_NONE</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="since_2_22"><dt><b><a class="el" href="since_2_22.html#_since_2_22000019">Since glibmm 2.22:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a308102dbcef3dac0a3ad0006a0c1440e"></a><!-- doxytag: member="Gio::Drive::stop_finish" ref="a308102dbcef3dac0a3ad0006a0c1440e" args="(const Glib::RefPtr&lt; AsyncResult &gt; &amp;result)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gio::Drive::stop_finish </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1AsyncResult.html">AsyncResult</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>result</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Finishes stopping a drive. </p>
<dl class="since_2_22"><dt><b><a class="el" href="since_2_22.html#_since_2_22000021">Since glibmm 2.22:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">result</td><td>A <a class="el" href="classGio_1_1AsyncResult.html" title="Provides a base class for implementing asynchronous function results.">AsyncResult</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the drive has been stopped successfully, <code>false</code> otherwise. </dd></dl>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a1a0d5aec4d31827ebfcbdea0c2ebee87"></a><!-- doxytag: member="Gio::Drive::wrap" ref="a1a0d5aec4d31827ebfcbdea0c2ebee87" args="(GDrive *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1Drive.html">Gio::Drive</a> &gt; wrap </td>
          <td>(</td>
          <td class="paramtype">GDrive *&#160;</td>
          <td class="paramname"> <em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>take_copy</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A <a class="el" href="namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">object</td><td>The C instance. </td></tr>
    <tr><td class="paramname">take_copy</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Tue Apr 5 2011 16:07:12 for glibmm by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.2 </small></address>
</body>
</html>