Changeset 29934 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- Jun 1, 2010 6:39:21 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 62202
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/ProgressProxyImpl.h
r29932 r29934 59 59 CBSTR bstrDescription, 60 60 BOOL fCancelable, 61 ULONG cOtherProgressObjects, 61 62 ULONG uTotalOperationsWeight, 62 63 CBSTR bstrFirstOperationDescription, 63 64 ULONG uFirstOperationWeight, 64 ULONG cOtherProgressObjectOperations);65 OUT_GUID pId = NULL); 65 66 void uninit(); 66 67 67 68 // IProgress properties 68 STDMETHOD(COMGETTER(Cancelable))(BOOL *aCancelable);69 69 STDMETHOD(COMGETTER(Percent))(ULONG *aPercent); 70 STDMETHOD(COMGETTER(TimeRemaining))(LONG *aTimeRemaining);71 70 STDMETHOD(COMGETTER(Completed))(BOOL *aCompleted); 72 71 STDMETHOD(COMGETTER(Canceled))(BOOL *aCanceled); 73 72 STDMETHOD(COMGETTER(ResultCode))(LONG *aResultCode); 74 73 STDMETHOD(COMGETTER(ErrorInfo))(IVirtualBoxErrorInfo **aErrorInfo); 75 //STDMETHOD(COMGETTER(OperationCount))(ULONG *aOperationCount); - not necessary76 STDMETHOD(COMGETTER(Operation))(ULONG *aOperation);77 STDMETHOD(COMGETTER(OperationDescription))(BSTR *aOperationDescription);78 74 STDMETHOD(COMGETTER(OperationPercent))(ULONG *aOperationPercent); 79 75 STDMETHOD(COMSETTER(Timeout))(ULONG aTimeout); … … 96 92 const char *aText, ...); 97 93 bool notifyPointOfNoReturn(void); 98 bool setOtherProgressObject(IProgress *pOtherProgress); 94 bool setOtherProgressObject(IProgress *pOtherProgress, ULONG uOperationWeight); 95 bool clearOtherProgressObject(const char *pszLastOperationDescription, ULONG uLastOperationWeight); 99 96 100 97 /** For com::SupportErrorInfoImpl. */ … … 108 105 /** The other progress object. This can be NULL. */ 109 106 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; 118 111 119 112 };
Note:
See TracChangeset
for help on using the changeset viewer.