class CCL::FileTransferOperation

#include <fileoperations.h>

class FileTransferOperation: public CCL::BatchOperation
{
public:
    // enums

    enum TransferMode;

    // construction

    FileTransferOperation (int transferMode = kCopy);
};

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);