<!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>libgnomevfsmm: transfer-progress.h Source File</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.3 --> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">libgnomevfsmm <span id="projectnumber">2.26.0</span></div> </td> </tr> </tbody> </table> </div> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related 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="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> </ul> </div> <div class="header"> <div class="headertitle"> <h1>transfer-progress.h</h1> </div> </div> <div class="contents"> <a href="transfer-progress_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_H</span> <a name="l00004"></a>00004 <span class="preprocessor"></span><span class="preprocessor">#define _LIBGNOMEVFSMM_TRANSFER_PROGRESS_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 <glibmm.h></span> <a name="l00008"></a>00008 <a name="l00009"></a>00009 <span class="comment">/* Copyright 2003 gnome-vfsmm Development Team</span> <a name="l00010"></a>00010 <span class="comment"> *</span> <a name="l00011"></a>00011 <span class="comment"> * This library is free software; you can redistribute it and/or</span> <a name="l00012"></a>00012 <span class="comment"> * modify it under the terms of the GNU Lesser General Public</span> <a name="l00013"></a>00013 <span class="comment"> * License as published by the Free Software Foundation; either</span> <a name="l00014"></a>00014 <span class="comment"> * version 2.1 of the License, or (at your option) any later version.</span> <a name="l00015"></a>00015 <span class="comment"> *</span> <a name="l00016"></a>00016 <span class="comment"> * This library is distributed in the hope that it will be useful,</span> <a name="l00017"></a>00017 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span> <a name="l00018"></a>00018 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span> <a name="l00019"></a>00019 <span class="comment"> * Lesser General Public License for more details.</span> <a name="l00020"></a>00020 <span class="comment"> *</span> <a name="l00021"></a>00021 <span class="comment"> * You should have received a copy of the GNU Lesser General Public</span> <a name="l00022"></a>00022 <span class="comment"> * License along with this library; if not, write to the Free</span> <a name="l00023"></a>00023 <span class="comment"> * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.</span> <a name="l00024"></a>00024 <span class="comment"> */</span> <a name="l00025"></a>00025 <a name="l00026"></a>00026 <span class="preprocessor">#include <libgnomevfs/gnome-vfs-xfer.h></span> <a name="l00027"></a>00027 <a name="l00028"></a>00028 <span class="preprocessor">#include <libgnomevfsmm/enums.h></span> <a name="l00029"></a>00029 <span class="preprocessor">#include <libgnomevfsmm/types.h></span> <a name="l00030"></a>00030 <a name="l00031"></a>00031 <a name="l00032"></a>00032 <span class="keyword">namespace </span>Gnome <a name="l00033"></a>00033 { <a name="l00034"></a>00034 <a name="l00035"></a>00035 <span class="keyword">namespace </span>Vfs <a name="l00036"></a>00036 { <a name="l00037"></a>00037 <a name="l00038"></a><a class="code" href="namespaceGnome_1_1Vfs_1_1Transfer.html">00038</a> <span class="keyword">namespace </span>Transfer <a name="l00039"></a>00039 { <a name="l00040"></a>00040 <a name="l00041"></a><a class="code" href="classGnome_1_1Vfs_1_1Transfer_1_1ProgressInfo.html">00041</a> <span class="keyword">class </span><a class="code" href="classGnome_1_1Vfs_1_1Transfer_1_1ProgressInfo.html">ProgressInfo</a> <a name="l00042"></a>00042 { <a name="l00043"></a>00043 <span class="keyword">public</span>: <a name="l00044"></a>00044 <span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span> <a name="l00045"></a>00045 <span class="preprocessor"></span> <span class="keyword">typedef</span> <a class="code" href="classGnome_1_1Vfs_1_1Transfer_1_1ProgressInfo.html">ProgressInfo</a> CppObjectType; <a name="l00046"></a>00046 <span class="keyword">typedef</span> GnomeVFSXferProgressInfo BaseObjectType; <a name="l00047"></a>00047 <span class="preprocessor">#endif </span><span class="comment">/* DOXYGEN_SHOULD_SKIP_THIS */</span> <a name="l00048"></a>00048 <a name="l00049"></a>00049 <span class="keyword">private</span>: <a name="l00050"></a>00050 <a name="l00051"></a>00051 <a name="l00052"></a>00052 <span class="keyword">public</span>: <a name="l00053"></a>00053 <a class="code" href="classGnome_1_1Vfs_1_1Transfer_1_1ProgressInfo.html#ad56376901695c2dd2240879fd855b187">ProgressInfo</a>(); <a name="l00054"></a>00054 <a class="code" href="classGnome_1_1Vfs_1_1Transfer_1_1ProgressInfo.html#ad56376901695c2dd2240879fd855b187">ProgressInfo</a>(GnomeVFSXferProgressInfo* src); <a name="l00055"></a>00055 <a class="code" href="classGnome_1_1Vfs_1_1Transfer_1_1ProgressInfo.html#aac79d0440bfdbdff9f01853a0399ca77">~ProgressInfo</a>(); <a name="l00056"></a>00056 <a name="l00057"></a>00057 <span class="comment">// Test whether this is a valid instance.</span> <a name="l00058"></a>00058 <a class="code" href="classGnome_1_1Vfs_1_1Transfer_1_1ProgressInfo.html#af7263a742dd1ed822f1e84c4facd3c6b">operator bool</a>() <span class="keyword">const</span>; <a name="l00059"></a>00059 <a name="l00060"></a><a class="code" href="classGnome_1_1Vfs_1_1Transfer_1_1ProgressInfo.html#af67d54040919f136859d17dbfdd60f4e">00060</a> GnomeVFSXferProgressInfo* <a class="code" href="classGnome_1_1Vfs_1_1Transfer_1_1ProgressInfo.html#af67d54040919f136859d17dbfdd60f4e">gobj</a>() { <span class="keywordflow">return</span> <a class="code" href="classGnome_1_1Vfs_1_1Transfer_1_1ProgressInfo.html#a7dc3abcd49e5f64e5b8a920bc0ac3a7c">gobject_</a>; } <a name="l00061"></a><a class="code" href="classGnome_1_1Vfs_1_1Transfer_1_1ProgressInfo.html#a3095397903b64f84d764fe5fddd584fc">00061</a> <span class="keyword">const</span> GnomeVFSXferProgressInfo* <a class="code" href="classGnome_1_1Vfs_1_1Transfer_1_1ProgressInfo.html#a3095397903b64f84d764fe5fddd584fc">gobj</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classGnome_1_1Vfs_1_1Transfer_1_1ProgressInfo.html#a7dc3abcd49e5f64e5b8a920bc0ac3a7c">gobject_</a>; } <a name="l00062"></a>00062 <a name="l00063"></a>00063 <span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span> <a name="l00064"></a>00064 <span class="preprocessor"></span> <span class="keywordtype">void</span> assign_gobj(GnomeVFSXferProgressInfo* src); <a name="l00065"></a>00065 <span class="preprocessor">#endif</span> <a name="l00066"></a>00066 <span class="preprocessor"></span> <a name="l00067"></a>00067 <span class="comment">//_GET_MEMBER() should really be able to do this automatically,</span> <a name="l00068"></a>00068 <span class="comment">// but it's not a problem because it has already been done.</span> <a name="l00069"></a>00069 <a name="l00070"></a>00070 <a class="code" href="group__libgnomevfsmmEnums.html#gadd88666412f1f5b072fd8535aff9f7e4">ProgressStatus</a> <a class="code" href="classGnome_1_1Vfs_1_1Transfer_1_1ProgressInfo.html#aed727f98d77f5c86b07f792ec9ea9251">get_status</a>() <span class="keyword">const</span>; <a name="l00071"></a>00071 <a class="code" href="group__libgnomevfsmmEnums.html#gaaa9bfd7859e3a82fe289184ae4bf440b">Result</a> <a class="code" href="classGnome_1_1Vfs_1_1Transfer_1_1ProgressInfo.html#ade8a1480a3c574352ca8b4fce54af674">get_vfs_status</a>() <span class="keyword">const</span>; <a name="l00072"></a>00072 <a class="code" href="group__libgnomevfsmmEnums.html#ga1d927e5b3d05c7888dfcd892cc6c1554">Phase</a> <a class="code" href="classGnome_1_1Vfs_1_1Transfer_1_1ProgressInfo.html#a8192eee332bc210faa2d3e889c3c29bd">get_phase</a>() <span class="keyword">const</span>; <a name="l00073"></a>00073 Glib::ustring <a class="code" href="classGnome_1_1Vfs_1_1Transfer_1_1ProgressInfo.html#ab7ee59472edf2c17ab46b7568d189210">get_source_name</a>() <span class="keyword">const</span>; <a name="l00074"></a>00074 Glib::ustring <a class="code" href="classGnome_1_1Vfs_1_1Transfer_1_1ProgressInfo.html#a5cd02a31f7cd046f71cfc61d8eed0ab8">get_target_name</a>() <span class="keyword">const</span>; <a name="l00075"></a>00075 <span class="keywordtype">long</span> <span class="keywordtype">int</span> <a class="code" href="classGnome_1_1Vfs_1_1Transfer_1_1ProgressInfo.html#a5cd7f9e642949b377efefe27572a9d43">get_file_index</a>() <span class="keyword">const</span>; <a name="l00076"></a>00076 <span class="keywordtype">long</span> <span class="keywordtype">int</span> <a class="code" href="classGnome_1_1Vfs_1_1Transfer_1_1ProgressInfo.html#a12658f8b48d642584e8b85f3e8599736">get_total_files</a>() <span class="keyword">const</span>; <a name="l00077"></a>00077 <a class="code" href="namespaceGnome_1_1Vfs.html#a46d71f215c684f228c1cd6b96145dbf3">FileSize</a> <a class="code" href="classGnome_1_1Vfs_1_1Transfer_1_1ProgressInfo.html#a7efc4c8f7ee08de4f30813a1cca5616a">get_total_bytes</a>() <span class="keyword">const</span>; <a name="l00078"></a>00078 <a class="code" href="namespaceGnome_1_1Vfs.html#a46d71f215c684f228c1cd6b96145dbf3">FileSize</a> <a class="code" href="classGnome_1_1Vfs_1_1Transfer_1_1ProgressInfo.html#a04a1743ba90f43d3525c4221549f0114">get_file_size</a>() <span class="keyword">const</span>; <a name="l00079"></a>00079 <a class="code" href="namespaceGnome_1_1Vfs.html#a46d71f215c684f228c1cd6b96145dbf3">FileSize</a> <a class="code" href="classGnome_1_1Vfs_1_1Transfer_1_1ProgressInfo.html#a3bdd51a9441c4af37cb49530138ac7f2">get_bytes_copied</a>() <span class="keyword">const</span>; <a name="l00080"></a>00080 <a class="code" href="namespaceGnome_1_1Vfs.html#a46d71f215c684f228c1cd6b96145dbf3">FileSize</a> <a class="code" href="classGnome_1_1Vfs_1_1Transfer_1_1ProgressInfo.html#a91e65baff95cb628bf40709d616a82c4">get_total_bytes_copied</a>() <span class="keyword">const</span>; <a name="l00081"></a>00081 Glib::ustring <a class="code" href="classGnome_1_1Vfs_1_1Transfer_1_1ProgressInfo.html#abe335121016d816b0b515b87032676dd">get_duplicate_name</a>() <span class="keyword">const</span>; <a name="l00082"></a>00082 <span class="keywordtype">int</span> <a class="code" href="classGnome_1_1Vfs_1_1Transfer_1_1ProgressInfo.html#aed994563549365da84cc45c6d8dca9ce">get_duplicate_count</a>() <span class="keyword">const</span>; <a name="l00083"></a>00083 <span class="keywordtype">bool</span> <a class="code" href="classGnome_1_1Vfs_1_1Transfer_1_1ProgressInfo.html#a0065ee7170b6ef0231cb41972700cb3e">get_top_level_item</a>() <span class="keyword">const</span>; <a name="l00084"></a>00084 <a name="l00085"></a>00085 <span class="keyword">protected</span>: <a name="l00086"></a><a class="code" href="classGnome_1_1Vfs_1_1Transfer_1_1ProgressInfo.html#a7dc3abcd49e5f64e5b8a920bc0ac3a7c">00086</a> GnomeVFSXferProgressInfo* <a class="code" href="classGnome_1_1Vfs_1_1Transfer_1_1ProgressInfo.html#a7dc3abcd49e5f64e5b8a920bc0ac3a7c">gobject_</a>; <a name="l00087"></a>00087 <a name="l00088"></a>00088 <span class="keyword">private</span>: <a name="l00089"></a>00089 <a class="code" href="classGnome_1_1Vfs_1_1Transfer_1_1ProgressInfo.html#ad56376901695c2dd2240879fd855b187">ProgressInfo</a>(<span class="keyword">const</span> <a class="code" href="classGnome_1_1Vfs_1_1Transfer_1_1ProgressInfo.html">ProgressInfo</a>&); <a name="l00090"></a>00090 <a class="code" href="classGnome_1_1Vfs_1_1Transfer_1_1ProgressInfo.html">ProgressInfo</a>& operator=(<span class="keyword">const</span> <a class="code" href="classGnome_1_1Vfs_1_1Transfer_1_1ProgressInfo.html">ProgressInfo</a>&); <a name="l00091"></a>00091 <a name="l00092"></a>00092 <a name="l00093"></a>00093 }; <a name="l00094"></a>00094 <a name="l00095"></a>00095 } <span class="comment">// namespace Transfer</span> <a name="l00096"></a>00096 } <span class="comment">// namespace Vfs</span> <a name="l00097"></a>00097 } <span class="comment">// namespace Gnome</span> <a name="l00098"></a>00098 <a name="l00099"></a>00099 <a name="l00100"></a>00100 <span class="preprocessor">#endif </span><span class="comment">/* _LIBGNOMEVFSMM_TRANSFER_PROGRESS_H */</span> <a name="l00101"></a>00101 </pre></div></div> </div> <hr class="footer"/><address class="footer"><small>Generated on Tue Feb 8 2011 11:40:59 for libgnomevfsmm by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address> </body> </html>