libgnomevfsmm 2.26.0
transfer-progress.h
Go to the documentation of this file.
1// -*- c++ -*-
2// Generated by gtkmmproc -- DO NOT MODIFY!
3#ifndef _LIBGNOMEVFSMM_TRANSFER_PROGRESS_H
4#define _LIBGNOMEVFSMM_TRANSFER_PROGRESS_H
5
6
7#include <glibmm.h>
8
9/* Copyright 2003 gnome-vfsmm Development Team
10 *
11 * This library is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU Lesser General Public
13 * License as published by the Free Software Foundation; either
14 * version 2.1 of the License, or (at your option) any later version.
15 *
16 * This library is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 * Lesser General Public License for more details.
20 *
21 * You should have received a copy of the GNU Lesser General Public
22 * License along with this library; if not, write to the Free
23 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24 */
25
26#include <libgnomevfs/gnome-vfs-xfer.h>
27
28#include <libgnomevfsmm/enums.h>
29#include <libgnomevfsmm/types.h>
30
31
32namespace Gnome
33{
34
35namespace Vfs
36{
37
38namespace Transfer
39{
40
42{
43 public:
44#ifndef DOXYGEN_SHOULD_SKIP_THIS
45 typedef ProgressInfo CppObjectType;
46 typedef GnomeVFSXferProgressInfo BaseObjectType;
47#endif /* DOXYGEN_SHOULD_SKIP_THIS */
48
49private:
50
51
52public:
54 ProgressInfo(GnomeVFSXferProgressInfo* src);
56
57 // Test whether this is a valid instance.
58 operator bool() const;
59
60 GnomeVFSXferProgressInfo* gobj() { return gobject_; }
61 const GnomeVFSXferProgressInfo* gobj() const { return gobject_; }
62
63#ifndef DOXYGEN_SHOULD_SKIP_THIS
64 void assign_gobj(GnomeVFSXferProgressInfo* src);
65#endif
66
67 //_GET_MEMBER() should really be able to do this automatically,
68 // but it's not a problem because it has already been done.
69
73 Glib::ustring get_source_name() const;
74 Glib::ustring get_target_name() const;
75 long int get_file_index() const;
76 long int get_total_files() const;
81 Glib::ustring get_duplicate_name() const;
83 bool get_top_level_item() const;
84
85protected:
86 GnomeVFSXferProgressInfo* gobject_;
87
88private:
90 ProgressInfo& operator=(const ProgressInfo&);
91
92
93};
94
95} // namespace Transfer
96} // namespace Vfs
97} // namespace Gnome
98
99
100#endif /* _LIBGNOMEVFSMM_TRANSFER_PROGRESS_H */
101
Definition transfer-progress.h:42
GnomeVFSXferProgressInfo * gobj()
Definition transfer-progress.h:60
Glib::ustring get_duplicate_name() const
ProgressStatus get_status() const
Glib::ustring get_source_name() const
ProgressInfo(GnomeVFSXferProgressInfo *src)
FileSize get_total_bytes_copied() const
Glib::ustring get_target_name() const
GnomeVFSXferProgressInfo * gobject_
Definition transfer-progress.h:86
const GnomeVFSXferProgressInfo * gobj() const
Definition transfer-progress.h:61
Phase
Definition enums.h:706
Result
Definition enums.h:97
ProgressStatus
Definition enums.h:648
GnomeVFSFileSize FileSize
Definition types.h:29
Definition address.h:37