Changeset 31539 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- Aug 10, 2010 3:40:18 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 64639
- Location:
- trunk/src/VBox/Main/include
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/ConsoleImpl.h
r31332 r31539 229 229 230 230 static HRESULT setErrorStatic(HRESULT aResultCode, const char *pcsz, ...); 231 HRESULT setAuthLibraryError(const char *filename, int rc);232 231 HRESULT setInvalidMachineStateError(); 233 232 -
trunk/src/VBox/Main/include/MachineImpl.h
r31333 r31539 214 214 struct UserData 215 215 { 216 UserData(); 217 ~UserData(); 218 219 Bstr mName; 220 BOOL mNameSync; 221 Bstr mDescription; 222 Bstr mOSTypeId; 223 Bstr mSnapshotFolder; 224 Bstr mSnapshotFolderFull; 225 BOOL mTeleporterEnabled; 226 ULONG mTeleporterPort; 227 Bstr mTeleporterAddress; 228 Bstr mTeleporterPassword; 229 BOOL mRTCUseUTC; 216 settings::MachineUserData s; 217 Utf8Str m_strSnapshotFolderFull; 230 218 }; 231 219 … … 592 580 * for reading. 593 581 */ 594 const Bstr& getName() const { return mUserData->mName; }582 const Utf8Str& getName() const { return mUserData->s.strName; } 595 583 596 584 enum -
trunk/src/VBox/Main/include/SnapshotImpl.h
r31333 r31539 116 116 ComObjPtr<Snapshot> findChildOrSelf(const Utf8Str &aName); 117 117 118 void updateSavedStatePaths(const char *aOldPath,119 const char *aNewPath);120 void updateSavedStatePathsImpl(const char *aOldPath,121 const char *aNewPath);118 void updateSavedStatePaths(const Utf8Str &strOldPath, 119 const Utf8Str &strNewPath); 120 void updateSavedStatePathsImpl(const Utf8Str &strOldPath, 121 const Utf8Str &strNewPath); 122 122 123 123 HRESULT saveSnapshot(settings::Snapshot &data, bool aAttrsOnly); -
trunk/src/VBox/Main/include/VirtualBoxBase.h
r30782 r31539 343 343 if (RT_UNLIKELY(!(expr))) \ 344 344 return setError(E_INVALIDARG, tr ("Argument %s %s"), \ 345 #arg, Utf8StrFmt msg . raw()); \345 #arg, Utf8StrFmt msg .c_str()); \ 346 346 } while (0) 347 347 -
trunk/src/VBox/Main/include/netif.h
r29250 r31539 147 147 /* Get the index from the name */ 148 148 int iInstance; 149 if (sscanf(Utf8Str(bstrIfName). raw(), "vboxnet%d", &iInstance) != 1)149 if (sscanf(Utf8Str(bstrIfName).c_str(), "vboxnet%d", &iInstance) != 1) 150 150 return Bstr("0.0.0.0"); 151 151
Note:
See TracChangeset
for help on using the changeset viewer.