transfer-2.h File Reference

#include <glibmm.h>
#include <libgnomevfsmm/enums.h>
#include <libgnomevfsmm/exception.h>
#include <libgnomevfsmm/uri.h>
#include <libgnomevfsmm/transfer-progress-2.h>
#include <libgnomevfs/gnome-vfs-xfer.h>

Go to the source code of this file.

Namespaces

namespace  Gnome
namespace  Gnome::Vfs
namespace  Gnome::Vfs::Transfer2
 

File transfers: conveniently copy/move/delete single or many URIs at once.


Typedefs

typedef Glib::ListHandle
< Glib::ustring > 
Gnome::Vfs::Transfer2::ListHandleStrings
typedef Glib::ListHandle
< Glib::RefPtr< const Uri > > 
Gnome::Vfs::Transfer2::ListHandleUris
typedef sigc::slot< gint,
const ProgressInfo & > 
Gnome::Vfs::Transfer2::SlotProgress
 For instance, gint on_transfer_progress(const Gnome::Vfs::Transfer::ProgressInfo& info);.

Functions

void Gnome::Vfs::Transfer2::transfer_list (const Glib::StringArrayHandle &source_uri_list, const Glib::StringArrayHandle &target_uri_list, TransferOptions options, ErrorMode error_mode, OverwriteMode overwrite_mode, const SlotProgress &slot)
 This function will transfer multiple files to multiple targets, given source URIs and destination URIs.
void Gnome::Vfs::Transfer2::transfer_list_uris (const ListHandleUris &source_uri_list, const ListHandleUris &target_uri_list, TransferOptions options=XFER_DEFAULT, ErrorMode error_mode=XFER_ERROR_MODE_ABORT, OverwriteMode overwrite_mode=XFER_OVERWRITE_MODE_ABORT, const SlotProgress &progress_callback=SlotProgress())
 This function will transfer multiple files to multiple targets, given source URIs and destination URIs.
void Gnome::Vfs::Transfer2::transfer (const Glib::ustring &source_uri, const Glib::ustring &target_uri, TransferOptions options=XFER_DEFAULT, ErrorMode error_mode=XFER_ERROR_MODE_ABORT, OverwriteMode overwrite_mode=XFER_OVERWRITE_MODE_ABORT, const SlotProgress &progress_callback=SlotProgress())
 This function works exactly like transfer_list(), and is a convenience wrapper for only acting on one source/target URI pair.
void Gnome::Vfs::Transfer2::transfer (const Glib::RefPtr< const Uri > &source_uri, const Glib::RefPtr< const Uri > &target_uri, TransferOptions options=XFER_DEFAULT, ErrorMode error_mode=XFER_ERROR_MODE_ABORT, OverwriteMode overwrite_mode=XFER_OVERWRITE_MODE_ABORT, const SlotProgress &progress_callback=SlotProgress())
 This function works exactly like transfer_list_uris(), and is a convenience wrapper for only acting on one source/target URI pair.
void Gnome::Vfs::Transfer2::remove_list (const Glib::StringArrayHandle &source_uri_list, TransferOptions options, ErrorMode error_mode, const SlotProgress &slot)
 Unlinks items in the source_uri_list from their filesystems.
void Gnome::Vfs::Transfer2::remove_list_uris (const ListHandleUris &source_uri_list, TransferOptions options=XFER_DEFAULT, ErrorMode error_mode=XFER_ERROR_MODE_ABORT, const SlotProgress &progress_callback=SlotProgress())
 Unlinks items in the source_uri_list from their filesystems.
void Gnome::Vfs::Transfer2::remove (const Glib::ustring &source_uri, TransferOptions options=XFER_DEFAULT, ErrorMode error_mode=XFER_ERROR_MODE_ABORT, const SlotProgress &progress_callback=SlotProgress())
 This function works exactly like remove_list(), and is a convenience wrapper for only acting on one source URI.
void Gnome::Vfs::Transfer2::remove (const Glib::RefPtr< const Uri > &source_uri, TransferOptions options=XFER_DEFAULT, ErrorMode error_mode=XFER_ERROR_MODE_ABORT, const SlotProgress &progress_callback=SlotProgress())
 This function works exactly like remove_list_uris(), and is a convenience wrapper for only acting on one source URI.
Generated on Tue Mar 16 14:50:09 2010 for libgnomevfsmm by  doxygen 1.6.3