Sophie

Sophie

distrib > Mageia > 1 > i586 > media > core-release > by-pkgid > 0f41c8c535927af656a99896b33ed812 > files > 348

gnome-vfsmm2.6-doc-2.26.0-3.mga1.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>libgnomevfsmm: transfer-progress-2.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="classes.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
<h1>transfer-progress-2.h</h1><a href="transfer-progress-2_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// -*- c++ -*-</span>
<a name="l00002"></a>00002 <span class="comment">// Generated by gtkmmproc -- DO NOT MODIFY!</span>
<a name="l00003"></a>00003 <span class="preprocessor">#ifndef _LIBGNOMEVFSMM_TRANSFER_PROGRESS_2_H</span>
<a name="l00004"></a>00004 <span class="preprocessor"></span><span class="preprocessor">#define _LIBGNOMEVFSMM_TRANSFER_PROGRESS_2_H</span>
<a name="l00005"></a>00005 <span class="preprocessor"></span>
<a name="l00006"></a>00006 
<a name="l00007"></a>00007 <span class="preprocessor">#include &lt;glibmm.h&gt;</span>
<a name="l00008"></a>00008 
<a name="l00009"></a>00009 <span class="comment">// -*- c++ -*-</span>
<a name="l00010"></a>00010 <span class="comment">/* Copyright 2006 gnome-vfsmm Development Team</span>
<a name="l00011"></a>00011 <span class="comment"> *</span>
<a name="l00012"></a>00012 <span class="comment"> * This library is free software; you can redistribute it and/or</span>
<a name="l00013"></a>00013 <span class="comment"> * modify it under the terms of the GNU Lesser General Public</span>
<a name="l00014"></a>00014 <span class="comment"> * License as published by the Free Software Foundation; either</span>
<a name="l00015"></a>00015 <span class="comment"> * version 2.1 of the License, or (at your option) any later version.</span>
<a name="l00016"></a>00016 <span class="comment"> *</span>
<a name="l00017"></a>00017 <span class="comment"> * This library is distributed in the hope that it will be useful,</span>
<a name="l00018"></a>00018 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00019"></a>00019 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU</span>
<a name="l00020"></a>00020 <span class="comment"> * Lesser General Public License for more details.</span>
<a name="l00021"></a>00021 <span class="comment"> *</span>
<a name="l00022"></a>00022 <span class="comment"> * You should have received a copy of the GNU Lesser General Public</span>
<a name="l00023"></a>00023 <span class="comment"> * License along with this library; if not, write to the Free</span>
<a name="l00024"></a>00024 <span class="comment"> * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.</span>
<a name="l00025"></a>00025 <span class="comment"> */</span>
<a name="l00026"></a>00026 
<a name="l00027"></a>00027 <span class="preprocessor">#include &lt;libgnomevfs/gnome-vfs-xfer.h&gt;</span>
<a name="l00028"></a>00028 
<a name="l00029"></a>00029 <span class="preprocessor">#include &lt;<a class="code" href="enums_8h.html">libgnomevfsmm/enums.h</a>&gt;</span>
<a name="l00030"></a>00030 <span class="preprocessor">#include &lt;<a class="code" href="types_8h.html">libgnomevfsmm/types.h</a>&gt;</span>
<a name="l00031"></a>00031 
<a name="l00032"></a>00032 
<a name="l00033"></a>00033 <span class="keyword">namespace </span>Gnome
<a name="l00034"></a>00034 {
<a name="l00035"></a>00035 
<a name="l00036"></a>00036 <span class="keyword">namespace </span>Vfs
<a name="l00037"></a>00037 {
<a name="l00038"></a>00038 
<a name="l00039"></a>00039 <span class="keyword">namespace </span>Transfer2
<a name="l00040"></a>00040 {
<a name="l00041"></a>00041 
<a name="l00045"></a><a class="code" href="classGnome_1_1Vfs_1_1Transfer2_1_1ProgressInfo.html">00045</a> <span class="keyword">class </span><a class="code" href="classGnome_1_1Vfs_1_1Transfer2_1_1ProgressInfo.html" title="Provides progress information for the transfer operation.">ProgressInfo</a>
<a name="l00046"></a>00046 {
<a name="l00047"></a>00047   <span class="keyword">public</span>:
<a name="l00048"></a>00048 <span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span>
<a name="l00049"></a>00049 <span class="preprocessor"></span>  <span class="keyword">typedef</span> <a class="code" href="classGnome_1_1Vfs_1_1Transfer2_1_1ProgressInfo.html" title="Provides progress information for the transfer operation.">ProgressInfo</a> CppObjectType;
<a name="l00050"></a>00050   <span class="keyword">typedef</span> GnomeVFSXferProgressInfo BaseObjectType;
<a name="l00051"></a>00051 <span class="preprocessor">#endif </span><span class="comment">/* DOXYGEN_SHOULD_SKIP_THIS */</span>
<a name="l00052"></a>00052 
<a name="l00053"></a>00053 <span class="keyword">private</span>:
<a name="l00054"></a>00054 
<a name="l00055"></a>00055   
<a name="l00056"></a>00056 <span class="keyword">public</span>:
<a name="l00057"></a>00057   <a class="code" href="classGnome_1_1Vfs_1_1Transfer2_1_1ProgressInfo.html#46ee32f440b9ed30792b134e3bd85664">ProgressInfo</a>();
<a name="l00058"></a>00058   <a class="code" href="classGnome_1_1Vfs_1_1Transfer2_1_1ProgressInfo.html#46ee32f440b9ed30792b134e3bd85664">ProgressInfo</a>(GnomeVFSXferProgressInfo* src);
<a name="l00059"></a>00059   <a class="code" href="classGnome_1_1Vfs_1_1Transfer2_1_1ProgressInfo.html#97a9e00505872da7a1590175118e1daf">~ProgressInfo</a>();
<a name="l00060"></a>00060 
<a name="l00061"></a>00061   <span class="comment">// Test whether this is a valid instance.</span>
<a name="l00062"></a>00062   <a class="code" href="classGnome_1_1Vfs_1_1Transfer2_1_1ProgressInfo.html#368093e5eab4b116ce0dea24717b8d4d">operator bool</a>() <span class="keyword">const</span>;
<a name="l00063"></a>00063 
<a name="l00064"></a><a class="code" href="classGnome_1_1Vfs_1_1Transfer2_1_1ProgressInfo.html#c1782252578a8d52386c3ca4687aa647">00064</a>   GnomeVFSXferProgressInfo*       <a class="code" href="classGnome_1_1Vfs_1_1Transfer2_1_1ProgressInfo.html#c1782252578a8d52386c3ca4687aa647">gobj</a>()       { <span class="keywordflow">return</span> <a class="code" href="classGnome_1_1Vfs_1_1Transfer2_1_1ProgressInfo.html#30f0d62411021b003f5433ec694e7621">gobject_</a>; }
<a name="l00065"></a><a class="code" href="classGnome_1_1Vfs_1_1Transfer2_1_1ProgressInfo.html#212374c5ee3e67eb9ce71c1481c0339e">00065</a>   <span class="keyword">const</span> GnomeVFSXferProgressInfo* <a class="code" href="classGnome_1_1Vfs_1_1Transfer2_1_1ProgressInfo.html#c1782252578a8d52386c3ca4687aa647">gobj</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classGnome_1_1Vfs_1_1Transfer2_1_1ProgressInfo.html#30f0d62411021b003f5433ec694e7621">gobject_</a>; }
<a name="l00066"></a>00066 
<a name="l00067"></a>00067 <span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span>
<a name="l00068"></a>00068 <span class="preprocessor"></span>  <span class="keywordtype">void</span> assign_gobj(GnomeVFSXferProgressInfo* src);
<a name="l00069"></a>00069 <span class="preprocessor">#endif</span>
<a name="l00070"></a>00070 <span class="preprocessor"></span>
<a name="l00071"></a>00071   <span class="comment">//_GET_MEMBER() should really be able to do this automatically,</span>
<a name="l00072"></a>00072   <span class="comment">// but it's not a problem because it has already been done.</span>
<a name="l00073"></a>00073 
<a name="l00074"></a>00074   <a class="code" href="group__libgnomevfsmmEnums.html#gdd88666412f1f5b072fd8535aff9f7e4">ProgressStatus</a> <a class="code" href="classGnome_1_1Vfs_1_1Transfer2_1_1ProgressInfo.html#b499a52920c204a742248f3fa255defb">get_status</a>() <span class="keyword">const</span>;
<a name="l00075"></a>00075   <a class="code" href="group__libgnomevfsmmEnums.html#gaa9bfd7859e3a82fe289184ae4bf440b">Result</a> <a class="code" href="classGnome_1_1Vfs_1_1Transfer2_1_1ProgressInfo.html#09e9aaaede41a3bed9291eebc51fc2ac">get_vfs_status</a>() <span class="keyword">const</span>;
<a name="l00076"></a>00076   <a class="code" href="group__libgnomevfsmmEnums.html#g1d927e5b3d05c7888dfcd892cc6c1554">Phase</a> <a class="code" href="classGnome_1_1Vfs_1_1Transfer2_1_1ProgressInfo.html#91436a888f20cf0d1f9e790b15ace380">get_phase</a>() <span class="keyword">const</span>;
<a name="l00077"></a>00077   Glib::ustring <a class="code" href="classGnome_1_1Vfs_1_1Transfer2_1_1ProgressInfo.html#b37101403882abc7c7a3045057bcb831">get_source_name</a>() <span class="keyword">const</span>;
<a name="l00078"></a>00078   Glib::ustring <a class="code" href="classGnome_1_1Vfs_1_1Transfer2_1_1ProgressInfo.html#9de7508d2e6c0c2032417897b30808b5">get_target_name</a>() <span class="keyword">const</span>;
<a name="l00079"></a>00079   <span class="keywordtype">long</span> <span class="keywordtype">int</span> <a class="code" href="classGnome_1_1Vfs_1_1Transfer2_1_1ProgressInfo.html#829a9cc1b796dc7b57310696d56d844a">get_file_index</a>() <span class="keyword">const</span>;
<a name="l00080"></a>00080   <span class="keywordtype">long</span> <span class="keywordtype">int</span> <a class="code" href="classGnome_1_1Vfs_1_1Transfer2_1_1ProgressInfo.html#b1b095157add04bcb909686e3f45cdfe">get_total_files</a>() <span class="keyword">const</span>;
<a name="l00081"></a>00081   <a class="code" href="namespaceGnome_1_1Vfs.html#46d71f215c684f228c1cd6b96145dbf3">FileSize</a> <a class="code" href="classGnome_1_1Vfs_1_1Transfer2_1_1ProgressInfo.html#cbc6b197356c17e8e7326cfc5376bb16">get_total_bytes</a>() <span class="keyword">const</span>;
<a name="l00082"></a>00082   <a class="code" href="namespaceGnome_1_1Vfs.html#46d71f215c684f228c1cd6b96145dbf3">FileSize</a> <a class="code" href="classGnome_1_1Vfs_1_1Transfer2_1_1ProgressInfo.html#a9c341a3df08c93ba4b6730eb3e35415">get_file_size</a>() <span class="keyword">const</span>;
<a name="l00083"></a>00083   <a class="code" href="namespaceGnome_1_1Vfs.html#46d71f215c684f228c1cd6b96145dbf3">FileSize</a> <a class="code" href="classGnome_1_1Vfs_1_1Transfer2_1_1ProgressInfo.html#8bf75d779cd030230f38198b139b320f">get_bytes_copied</a>() <span class="keyword">const</span>;
<a name="l00084"></a>00084   <a class="code" href="namespaceGnome_1_1Vfs.html#46d71f215c684f228c1cd6b96145dbf3">FileSize</a> <a class="code" href="classGnome_1_1Vfs_1_1Transfer2_1_1ProgressInfo.html#ace9da89ff7e89b48f6ef8d72c1ad5b9">get_total_bytes_copied</a>() <span class="keyword">const</span>;
<a name="l00085"></a>00085   Glib::ustring <a class="code" href="classGnome_1_1Vfs_1_1Transfer2_1_1ProgressInfo.html#85b1c657cef1787ff5c439eda439721b">get_duplicate_name</a>() <span class="keyword">const</span>;
<a name="l00086"></a>00086   <span class="keywordtype">int</span> <a class="code" href="classGnome_1_1Vfs_1_1Transfer2_1_1ProgressInfo.html#694a289c2ba9992b6e2f18bb136f18a2">get_duplicate_count</a>() <span class="keyword">const</span>;
<a name="l00087"></a>00087   <span class="keywordtype">bool</span> <a class="code" href="classGnome_1_1Vfs_1_1Transfer2_1_1ProgressInfo.html#7c43e2679f23865481e87c6f6e762f6d">get_top_level_item</a>() <span class="keyword">const</span>;
<a name="l00088"></a>00088 
<a name="l00089"></a>00089 <span class="keyword">protected</span>:
<a name="l00090"></a><a class="code" href="classGnome_1_1Vfs_1_1Transfer2_1_1ProgressInfo.html#30f0d62411021b003f5433ec694e7621">00090</a>   GnomeVFSXferProgressInfo* <a class="code" href="classGnome_1_1Vfs_1_1Transfer2_1_1ProgressInfo.html#30f0d62411021b003f5433ec694e7621">gobject_</a>;
<a name="l00091"></a>00091 
<a name="l00092"></a>00092 <span class="keyword">private</span>:
<a name="l00093"></a>00093   <a class="code" href="classGnome_1_1Vfs_1_1Transfer2_1_1ProgressInfo.html#46ee32f440b9ed30792b134e3bd85664">ProgressInfo</a>(<span class="keyword">const</span> <a class="code" href="classGnome_1_1Vfs_1_1Transfer2_1_1ProgressInfo.html" title="Provides progress information for the transfer operation.">ProgressInfo</a>&amp;);
<a name="l00094"></a>00094   <a class="code" href="classGnome_1_1Vfs_1_1Transfer2_1_1ProgressInfo.html" title="Provides progress information for the transfer operation.">ProgressInfo</a>&amp; operator=(<span class="keyword">const</span> <a class="code" href="classGnome_1_1Vfs_1_1Transfer2_1_1ProgressInfo.html" title="Provides progress information for the transfer operation.">ProgressInfo</a>&amp;);
<a name="l00095"></a>00095 
<a name="l00096"></a>00096 
<a name="l00097"></a>00097 };
<a name="l00098"></a>00098 
<a name="l00099"></a>00099 } <span class="comment">// namespace Transfer2</span>
<a name="l00100"></a>00100 } <span class="comment">// namespace Vfs</span>
<a name="l00101"></a>00101 } <span class="comment">// namespace Gnome</span>
<a name="l00102"></a>00102 
<a name="l00103"></a>00103 
<a name="l00104"></a>00104 <span class="preprocessor">#endif </span><span class="comment">/* _LIBGNOMEVFSMM_TRANSFER_PROGRESS_2_H */</span>
<a name="l00105"></a>00105 
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Mar 16 18:27:50 2009 for libgnomevfsmm by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>