class CCL::FileTransferOperation
Overview
#include <fileoperations.h> class FileTransferOperation: public CCL::BatchOperation { public: // enums enum TransferMode; // fields destFolder; DestFolder Object* userData = nullptr); // construction FileTransferOperation (int transferMode = kCopy); // methods PROPERTY_VARIABLE (int, transferMode, TransferMode); DestFolder PROPERTY_BOOL (silent, Silent); };
Inherited Members
public: // structs struct RunningState; // classes class Task; // fields IAsyncCompletionHandler; IContainer; // methods virtual tresult CCL_API queryInterface (UIDRef iid, void** ptr) = 0; virtual unsigned int CCL_API retain () = 0; virtual unsigned int CCL_API release () = 0; Unknown& operator = (const Unknown&); unsigned int getRetainCount () const; virtual void CCL_API onCompletion (IAsyncOperation& operation) = 0; virtual void CCL_API onCompletion (IAsyncOperation& operation); virtual IUnknownIterator*CCL_API createIterator () const = 0; void addTask (Task* task); bool isEmpty () const; Iterator* newIterator () const; void removeAll (); int countTasks () const; const ObjectList& getTasks () const; bool run (IProgressNotify* progress); bool run (StringRef progressTitle, IWindow* parentWindow = nullptr); IAsyncOperation* runAsync (IProgressNotify* progress); IAsyncOperation* runAsync ( StringRef progressTitle, IWindow* parentWindow = nullptr ); void cancel (); tresult getResult () const; bool wasCanceled () const; PROPERTY_BOOL (cancelEnabled, CancelEnabled); ModalProgress PROPERTY_STRING (stepCountPattern, StepCountPattern);
Detailed Documentation
Methods
PROPERTY_VARIABLE (int, transferMode, TransferMode)
configuration (must be done before adding files)
DestFolder PROPERTY_BOOL (silent, Silent)
< common destination folder for copy or move