Changeset 75458 in vbox for trunk/src/VBox/Main/src-all
- Timestamp:
- Nov 14, 2018 6:20:05 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-all/SharedFolderImpl.cpp
r75380 r75458 335 335 /* mName is constant during life time, no need to lock */ 336 336 aName = m->strName; 337 338 337 return S_OK; 339 338 } … … 343 342 /* mHostPath is constant during life time, no need to lock */ 344 343 aHostPath = m->strHostPath; 345 346 344 return S_OK; 347 345 } … … 380 378 { 381 379 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 382 383 *aWritable = !!m->fWritable; 384 385 return S_OK; 380 *aWritable = m->fWritable; 381 return S_OK; 382 } 383 384 HRESULT SharedFolder::setWritable(BOOL aWritable) 385 { 386 RT_NOREF(aWritable); 387 return E_NOTIMPL; 386 388 } 387 389 … … 389 391 { 390 392 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 391 392 *aAutoMount = !!m->fAutoMount; 393 394 return S_OK; 393 *aAutoMount = m->fAutoMount; 394 return S_OK; 395 } 396 397 HRESULT SharedFolder::setAutoMount(BOOL aAutoMount) 398 { 399 RT_NOREF(aAutoMount); 400 return E_NOTIMPL; 395 401 } 396 402 397 403 HRESULT SharedFolder::getAutoMountPoint(com::Utf8Str &aAutoMountPoint) 398 404 { 399 /* strAutoMountPoint is constant during life time, no need to lock. */405 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 400 406 aAutoMountPoint = m->strAutoMountPoint; 401 407 return S_OK; 402 408 } 403 409 410 HRESULT SharedFolder::setAutoMountPoint(com::Utf8Str const &aAutoMountPoint) 411 { 412 RT_NOREF(aAutoMountPoint); 413 return E_NOTIMPL; 414 } 404 415 405 416 HRESULT SharedFolder::getLastAccessError(com::Utf8Str &aLastAccessError) 406 417 { 407 418 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 408 409 419 aLastAccessError = m->strLastAccessError; 410 411 420 return S_OK; 412 421 }
Note:
See TracChangeset
for help on using the changeset viewer.