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