Changeset 11820 in vbox for trunk/src/VBox/Main/ConsoleImpl.cpp
- Timestamp:
- Aug 29, 2008 2:09:39 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 35651
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl.cpp
r11354 r11820 285 285 AssertComRCReturnRC (rc); 286 286 287 #ifdef VBOX_ VRDP287 #ifdef VBOX_WITH_VRDP 288 288 rc = mMachine->COMGETTER(VRDPServer) (unconst (mVRDPServer).asOutParam()); 289 289 AssertComRCReturnRC (rc); … … 447 447 unconst (mFloppyDrive).setNull(); 448 448 unconst (mDVDDrive).setNull(); 449 #ifdef VBOX_ VRDP449 #ifdef VBOX_WITH_VRDP 450 450 unconst (mVRDPServer).setNull(); 451 451 #endif … … 645 645 AssertComRCReturnVoid (autoCaller.rc()); 646 646 647 #ifdef VBOX_ VRDP647 #ifdef VBOX_WITH_VRDP 648 648 uint32_t u32Clients = ASMAtomicIncU32(&mcVRDPClients); 649 649 … … 657 657 NOREF(u32ClientId); 658 658 mDisplay->VideoAccelVRDP (true); 659 #endif /* VBOX_ VRDP */659 #endif /* VBOX_WITH_VRDP */ 660 660 661 661 LogFlowFuncLeave(); … … 673 673 AssertReturnVoid (mConsoleVRDPServer); 674 674 675 #ifdef VBOX_ VRDP675 #ifdef VBOX_WITH_VRDP 676 676 uint32_t u32Clients = ASMAtomicDecU32(&mcVRDPClients); 677 677 … … 684 684 685 685 mDisplay->VideoAccelVRDP (false); 686 #endif /* VBOX_ VRDP */686 #endif /* VBOX_WITH_VRDP */ 687 687 688 688 if (fu32Intercepted & VRDP_CLIENT_INTERCEPT_USB) … … 691 691 } 692 692 693 #ifdef VBOX_ VRDP693 #ifdef VBOX_WITH_VRDP 694 694 if (fu32Intercepted & VRDP_CLIENT_INTERCEPT_CLIPBOARD) 695 695 { … … 713 713 } 714 714 } 715 #endif /* VBOX_ VRDP */715 #endif /* VBOX_WITH_VRDP */ 716 716 717 717 Guid uuid; … … 741 741 NOREF(u32ClientId); 742 742 743 #ifdef VBOX_ VRDP743 #ifdef VBOX_WITH_VRDP 744 744 mcAudioRefs++; 745 745 … … 785 785 AssertReturnVoid (mConsoleVRDPServer); 786 786 787 #ifdef VBOX_ VRDP787 #ifdef VBOX_WITH_VRDP 788 788 mConsoleVRDPServer->ClipboardCreate (u32ClientId); 789 #endif /* VBOX_ VRDP */789 #endif /* VBOX_WITH_VRDP */ 790 790 791 791 LogFlowFuncLeave(); … … 4340 4340 4341 4341 4342 #ifdef VBOX_ HGCM4342 #ifdef VBOX_WITH_HGCM 4343 4343 /* 4344 4344 * Shutdown HGCM services before stopping the guest, because they might need a cleanup. … … 4405 4405 ComSafeArrayAsInParam (flags)); 4406 4406 # endif /* VBOX_WITH_GUEST_PROPS defined */ 4407 #endif /* VBOX_ HGCM */4407 #endif /* VBOX_WITH_HGCM */ 4408 4408 4409 4409 /* First, wait for all mpVM callers to finish their work if necessary */ … … 6208 6208 do 6209 6209 { 6210 #ifdef VBOX_ VRDP6210 #ifdef VBOX_WITH_VRDP 6211 6211 /* Create the VRDP server. In case of headless operation, this will 6212 6212 * also create the framebuffer, required at VM creation. … … 6247 6247 break; 6248 6248 } 6249 #endif /* VBOX_ VRDP */6249 #endif /* VBOX_WITH_VRDP */ 6250 6250 6251 6251 /* … … 6265 6265 alock.enter(); 6266 6266 6267 #ifdef VBOX_ VRDP6267 #ifdef VBOX_WITH_VRDP 6268 6268 /* Enable client connections to the server. */ 6269 6269 console->consoleVRDPServer()->EnableConnections (); 6270 #endif /* VBOX_ VRDP */6270 #endif /* VBOX_WITH_VRDP */ 6271 6271 6272 6272 if (VBOX_SUCCESS (vrc))
Note:
See TracChangeset
for help on using the changeset viewer.