VirtualBox

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


Ignore:
Timestamp:
Jun 1, 2010 6:39:21 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
62202
Message:

reverted r62200 as it breaks powerup

File:
1 edited

Legend:

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

    r29932 r29934  
    5959                 CBSTR bstrDescription,
    6060                 BOOL fCancelable,
     61                 ULONG cOtherProgressObjects,
    6162                 ULONG uTotalOperationsWeight,
    6263                 CBSTR bstrFirstOperationDescription,
    6364                 ULONG uFirstOperationWeight,
    64                  ULONG cOtherProgressObjectOperations);
     65                 OUT_GUID pId = NULL);
    6566    void    uninit();
    6667
    6768    // IProgress properties
    68     STDMETHOD(COMGETTER(Cancelable))(BOOL *aCancelable);
    6969    STDMETHOD(COMGETTER(Percent))(ULONG *aPercent);
    70     STDMETHOD(COMGETTER(TimeRemaining))(LONG *aTimeRemaining);
    7170    STDMETHOD(COMGETTER(Completed))(BOOL *aCompleted);
    7271    STDMETHOD(COMGETTER(Canceled))(BOOL *aCanceled);
    7372    STDMETHOD(COMGETTER(ResultCode))(LONG *aResultCode);
    7473    STDMETHOD(COMGETTER(ErrorInfo))(IVirtualBoxErrorInfo **aErrorInfo);
    75     //STDMETHOD(COMGETTER(OperationCount))(ULONG *aOperationCount); - not necessary
    76     STDMETHOD(COMGETTER(Operation))(ULONG *aOperation);
    77     STDMETHOD(COMGETTER(OperationDescription))(BSTR *aOperationDescription);
    7874    STDMETHOD(COMGETTER(OperationPercent))(ULONG *aOperationPercent);
    7975    STDMETHOD(COMSETTER(Timeout))(ULONG aTimeout);
     
    9692                           const char *aText, ...);
    9793    bool    notifyPointOfNoReturn(void);
    98     bool    setOtherProgressObject(IProgress *pOtherProgress);
     94    bool    setOtherProgressObject(IProgress *pOtherProgress, ULONG uOperationWeight);
     95    bool    clearOtherProgressObject(const char *pszLastOperationDescription, ULONG uLastOperationWeight);
    9996
    10097    /** For com::SupportErrorInfoImpl. */
     
    108105    /** The other progress object.  This can be NULL. */
    109106    ComPtr<IProgress> mptrOtherProgress;
    110     /** Set if the other progress object has multiple operations. */
    111     bool mfMultiOperation;
    112     /** The weight the other progress object started at. */
    113     ULONG muOtherProgressStartWeight;
    114     /** The weight of other progress object. */
    115     ULONG muOtherProgressWeight;
    116     /** The operation number the other progress object started at. */
    117     ULONG muOtherProgressStartOperation;
     107    /** The number of other progress objects expected. */
     108    ULONG mcOtherProgressObjects;
     109    /** The current other progress object. */
     110    ULONG miCurOtherProgressObject;
    118111
    119112};
Note: See TracChangeset for help on using the changeset viewer.

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