Changeset 42693 in vbox for trunk/src/VBox/Main/include/GuestSessionImpl.h
- Timestamp:
- Aug 8, 2012 10:37:51 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/GuestSessionImpl.h
r42691 r42693 49 49 int setProgress(ULONG uPercent); 50 50 int setProgressSuccess(void); 51 intsetProgressErrorMsg(HRESULT hr, const Utf8Str &strMsg);51 HRESULT setProgressErrorMsg(HRESULT hr, const Utf8Str &strMsg); 52 52 53 53 protected: … … 70 70 const Utf8Str &strSource, const Utf8Str &strDest, uint32_t uFlags); 71 71 72 SessionTaskCopyTo(GuestSession *pSession, 73 PRTFILE pSourceFile, size_t cbSourceOffset, size_t cbSourceSize, 74 const Utf8Str &strDest, uint32_t uFlags); 75 72 76 virtual ~SessionTaskCopyTo(void); 73 77 … … 81 85 82 86 Utf8Str mSource; 87 PRTFILE mSourceFile; 88 size_t mSourceOffset; 89 size_t mSourceSize; 83 90 Utf8Str mDest; 84 91 uint32_t mCopyFileFlags; … … 107 114 Utf8Str mSource; 108 115 Utf8Str mDest; 116 uint32_t mFlags; 117 }; 118 119 /** 120 * Task for automatically updating the Guest Additions on the guest. 121 */ 122 class SessionTaskUpdateAdditions : public GuestSessionTask 123 { 124 public: 125 126 SessionTaskUpdateAdditions(GuestSession *pSession, 127 const Utf8Str &strSource, uint32_t uFlags); 128 129 virtual ~SessionTaskUpdateAdditions(void); 130 131 public: 132 133 int Run(void); 134 int RunAsync(const Utf8Str &strDesc, ComObjPtr<Progress> &pProgress); 135 static int taskThread(RTTHREAD Thread, void *pvUser); 136 137 protected: 138 139 /** The (optionally) specified Guest Additions .ISO on the host 140 * which will be used for the updating process. */ 141 Utf8Str mSource; 142 /** Update flags. */ 109 143 uint32_t mFlags; 110 144 }; … … 216 250 const GuestEnvironment &getEnvironment(void); 217 251 Utf8Str getName(void); 252 Guest *getParent(void) { return mData.mParent; } 218 253 uint32_t getProtocolVersion(void) { return mData.mProtocolVersion; } 219 254 int processClose(ComObjPtr<GuestProcess> pProcess);
Note:
See TracChangeset
for help on using the changeset viewer.