VirtualBox

Changeset 20044 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
May 26, 2009 3:38:55 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
47779
Message:

Main-S3: initial code for the export of OVF's to an S3 server

Location:
trunk/src/VBox/Main/include
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/ApplianceImpl.h

    r19239 r20044  
    7575
    7676    /* IAppliance methods */
     77    /* Import methods */
    7778    STDMETHOD(Read)(IN_BSTR path);
    7879    STDMETHOD(Interpret)(void);
    7980    STDMETHOD(ImportMachines)(IProgress **aProgress);
     81    /* Export methods */
     82    STDMETHOD(CreateVFSExplorer)(IN_BSTR aURI, IVFSExplorer **aExplorer);
    8083    STDMETHOD(Write)(IN_BSTR format, IN_BSTR path, IProgress **aProgress);
     84
    8185    STDMETHOD(GetWarnings)(ComSafeArrayOut(BSTR, aWarnings));
    8286
     
    99103    HRESULT searchUniqueDiskImageFilePath(Utf8Str& aName) const;
    100104    HRESULT setUpProgress(ComObjPtr<Progress> &pProgress, const Bstr &bstrDescription);
     105    HRESULT setUpProgressUpload(ComObjPtr<Progress> &pProgress, const Bstr &bstrDescription);
    101106    void waitForAsyncProgress(ComObjPtr<Progress> &pProgressThis, ComPtr<IProgress> &pProgressAsync);
    102107    void addWarning(const char* aWarning, ...);
    103108
     109    void parseURI(Utf8Str strUri, const Utf8Str &strProtocol, Utf8Str &strFilepath, Utf8Str &strHostname, Utf8Str &strUsername, Utf8Str &strPassword);
     110    HRESULT writeImpl(int aFormat, Utf8Str aPath, ComObjPtr<Progress> &aProgress);
     111
    104112    struct TaskImportMachines;  /* Worker thread for import */
    105113    static DECLCALLBACK(int) taskThreadImportMachines(RTTHREAD thread, void *pvUser);
    106114
    107     struct TaskWriteOVF;       /* Worker thread for export */
    108     static DECLCALLBACK(int) taskThreadWriteOVF(RTTHREAD thread, void *pvUser);
     115    struct TaskWriteOVF;        /* Worker threads for export */
     116    static DECLCALLBACK(int) taskThreadWriteOVF(RTTHREAD aThread, void *pvUser);
     117
     118    int writeFS(TaskWriteOVF *pTask);
     119    int writeS3(TaskWriteOVF *pTask);
    109120
    110121    friend class Machine;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette