- 時間撮記:
- 2015-5-4 下午01:39:18 (10 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Main/src-client/GuestDirectoryImpl.cpp
r55535 r55645 1 2 1 /* $Id$ */ 3 2 /** @file … … 6 5 7 6 /* 8 * Copyright (C) 2012-201 3Oracle Corporation7 * Copyright (C) 2012-2015 Oracle Corporation 9 8 * 10 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 21 20 * Header Files * 22 21 *******************************************************************************/ 22 #ifndef VBOX_WITH_GUEST_CONTROL 23 # error "VBOX_WITH_GUEST_CONTROL must defined in this file" 24 #endif 23 25 #include "GuestDirectoryImpl.h" 24 26 #include "GuestSessionImpl.h" … … 73 75 AssertReturn(autoInitSpan.isOk(), E_FAIL); 74 76 75 #ifndef VBOX_WITH_GUEST_CONTROL76 autoInitSpan.setSucceeded();77 return VINF_SUCCESS;78 #else79 77 int vrc = bindToSession(pConsole, pSession, uDirID /* Object ID */); 80 78 if (RT_SUCCESS(vrc)) … … 124 122 125 123 return vrc; 126 #endif /* VBOX_WITH_GUEST_CONTROL */127 124 } 128 125 … … 265 262 HRESULT GuestDirectory::close() 266 263 { 267 #ifndef VBOX_WITH_GUEST_CONTROL268 ReturnComNotImplemented();269 #else270 264 LogFlowThisFuncEnter(); 271 265 … … 305 299 LogFlowThisFunc(("Returning rc=%Rrc\n", rc)); 306 300 return hr; 307 #endif /* VBOX_WITH_GUEST_CONTROL */308 301 } 309 302 310 303 HRESULT GuestDirectory::read(ComPtr<IFsObjInfo> &aObjInfo) 311 304 { 312 #ifndef VBOX_WITH_GUEST_CONTROL313 ReturnComNotImplemented();314 #else315 305 LogFlowThisFuncEnter(); 316 306 … … 407 397 LogFlowThisFunc(("Returning rc=%Rrc\n", rc)); 408 398 return hr; 409 #endif /* VBOX_WITH_GUEST_CONTROL */ 410 } 411 399 } 400
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器