Changeset 29937 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- Jun 1, 2010 8:41:32 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 62206
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/ProgressProxyImpl.h
r29934 r29937 59 59 CBSTR bstrDescription, 60 60 BOOL fCancelable, 61 ULONG cOtherProgressObjects,62 61 ULONG uTotalOperationsWeight, 63 62 CBSTR bstrFirstOperationDescription, 64 63 ULONG uFirstOperationWeight, 65 OUT_GUID pId = NULL);64 ULONG cOtherProgressObjectOperations); 66 65 void uninit(); 67 66 68 67 // IProgress properties 68 STDMETHOD(COMGETTER(Cancelable))(BOOL *aCancelable); 69 69 STDMETHOD(COMGETTER(Percent))(ULONG *aPercent); 70 STDMETHOD(COMGETTER(TimeRemaining))(LONG *aTimeRemaining); 70 71 STDMETHOD(COMGETTER(Completed))(BOOL *aCompleted); 71 72 STDMETHOD(COMGETTER(Canceled))(BOOL *aCanceled); 72 73 STDMETHOD(COMGETTER(ResultCode))(LONG *aResultCode); 73 74 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); 74 78 STDMETHOD(COMGETTER(OperationPercent))(ULONG *aOperationPercent); 75 79 STDMETHOD(COMSETTER(Timeout))(ULONG aTimeout); … … 85 89 // public methods only for internal purposes 86 90 87 HRESULT setResultCode(HRESULT aResultCode);88 91 HRESULT notifyComplete(HRESULT aResultCode); 89 92 HRESULT notifyComplete(HRESULT aResultCode, … … 91 94 const Bstr &aComponent, 92 95 const char *aText, ...); 93 bool notifyPointOfNoReturn(void); 94 bool setOtherProgressObject(IProgress *pOtherProgress, ULONG uOperationWeight); 95 bool clearOtherProgressObject(const char *pszLastOperationDescription, ULONG uLastOperationWeight); 96 bool setOtherProgressObject(IProgress *pOtherProgress); 96 97 97 98 /** For com::SupportErrorInfoImpl. */ … … 105 106 /** The other progress object. This can be NULL. */ 106 107 ComPtr<IProgress> mptrOtherProgress; 107 /** The number of other progress objects expected. */ 108 ULONG mcOtherProgressObjects; 109 /** The current other progress object. */ 110 ULONG miCurOtherProgressObject; 108 /** Set if the other progress object has multiple operations. */ 109 bool mfMultiOperation; 110 /** The weight the other progress object started at. */ 111 ULONG muOtherProgressStartWeight; 112 /** The weight of other progress object. */ 113 ULONG muOtherProgressWeight; 114 /** The operation number the other progress object started at. */ 115 ULONG muOtherProgressStartOperation; 111 116 112 117 };
Note:
See TracChangeset
for help on using the changeset viewer.