Changeset 11820 in vbox for trunk/src/VBox/Frontends/VBoxBFE
- Timestamp:
- Aug 29, 2008 2:09:39 PM (16 years ago)
- Location:
- trunk/src/VBox/Frontends/VBoxBFE
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxBFE/Makefile.kmk
r11727 r11820 57 57 #endif 58 58 ifdef VBOX_WITH_VRDP 59 VBoxBFE_DEFS += VBOX_ VRDP59 VBoxBFE_DEFS += VBOX_WITH_VRDP 60 60 endif 61 61 ifneq ($(KBUILD_TARGET).$(VBOX_WITHOUT_COM),win.) … … 85 85 86 86 ifdef VBOX_WITH_HGCM 87 VBoxBFE_DEFS += VBOX_ HGCM87 VBoxBFE_DEFS += VBOX_WITH_HGCM 88 88 VBoxBFE_SOURCES += \ 89 89 HGCM.cpp \ -
trunk/src/VBox/Frontends/VBoxBFE/VBoxBFE.cpp
r11725 r11820 46 46 # include <VBox/vusb.h> 47 47 #endif 48 #ifdef VBOX_ HGCM48 #ifdef VBOX_WITH_HGCM 49 49 # include <VBox/shflsvc.h> 50 50 #endif … … 392 392 " -tapfd<1-N> <fd> Use existing TAP device, don't allocate\n" 393 393 #endif 394 #ifdef VBOX_ VRDP394 #ifdef VBOX_WITH_VRDP 395 395 " -vrdp [port] Listen for VRDP connections on port (default if not specified)\n" 396 396 #endif … … 418 418 { 419 419 bool fFullscreen = false; 420 #ifdef VBOX_ VRDP420 #ifdef VBOX_WITH_VRDP 421 421 int32_t portVRDP = -1; 422 422 #endif … … 713 713 } 714 714 #endif /* RT_OS_LINUX */ 715 #ifdef VBOX_ VRDP715 #ifdef VBOX_WITH_VRDP 716 716 else if (strcmp(pszArg, "-vrdp") == 0) 717 717 { … … 727 727 } 728 728 } 729 #endif /* VBOX_ VRDP */729 #endif /* VBOX_WITH_VRDP */ 730 730 #ifdef VBOX_SECURELABEL 731 731 else if (strcmp(pszArg, "-securelabel") == 0) … … 1185 1185 } 1186 1186 1187 #ifdef VBOX_ HGCM1187 #ifdef VBOX_WITH_HGCM 1188 1188 /* 1189 1189 * Add shared folders to the VM -
trunk/src/VBox/Frontends/VBoxBFE/VMMDevInterface.cpp
r11307 r11820 42 42 #include "DisplayImpl.h" 43 43 #include "ConsoleImpl.h" 44 #ifdef VBOX_ HGCM44 #ifdef VBOX_WITH_HGCM 45 45 #include "HGCM.h" 46 46 #endif … … 69 69 PDMIVMMDEVCONNECTOR Connector; 70 70 71 #ifdef VBOX_ HGCM71 #ifdef VBOX_WITH_HGCM 72 72 /** Pointer to the HGCM port interface of the driver/device above us. */ 73 73 PPDMIHGCMPORT pHGCMPort; … … 80 80 #define PDMIVMMDEVCONNECTOR_2_MAINVMMDEV(pInterface) ( (PDRVMAINVMMDEV) ((uintptr_t)pInterface - RT_OFFSETOF(DRVMAINVMMDEV, Connector)) ) 81 81 82 #ifdef VBOX_ HGCM82 #ifdef VBOX_WITH_HGCM 83 83 /** Converts PDMIHGCMCONNECTOR pointer to a DRVMAINVMMDEV pointer. */ 84 84 #define PDMIHGCMCONNECTOR_2_MAINVMMDEV(pInterface) ( (PDRVMAINVMMDEV) ((uintptr_t)pInterface - RT_OFFSETOF(DRVMAINVMMDEV, HGCMConnector)) ) … … 87 87 VMMDev::VMMDev() : mpDrv(NULL) 88 88 { 89 #ifdef VBOX_ HGCM89 #ifdef VBOX_WITH_HGCM 90 90 int rc = VINF_SUCCESS; 91 91 if (fActivateHGCM()) … … 97 97 VMMDev::~VMMDev() 98 98 { 99 #ifdef VBOX_ HGCM99 #ifdef VBOX_WITH_HGCM 100 100 if (fActivateHGCM()) 101 101 HGCMHostShutdown (); 102 #endif /* VBOX_ HGCM */102 #endif /* VBOX_WITH_HGCM */ 103 103 } 104 104 … … 259 259 } 260 260 261 #ifdef VBOX_ HGCM261 #ifdef VBOX_WITH_HGCM 262 262 263 263 /* HGCM connector interface */ … … 360 360 case PDMINTERFACE_VMMDEV_CONNECTOR: 361 361 return &pDrv->Connector; 362 #ifdef VBOX_ HGCM362 #ifdef VBOX_WITH_HGCM 363 363 case PDMINTERFACE_HGCM_CONNECTOR: 364 364 if (fActivateHGCM()) … … 430 430 pData->Connector.pfnQueryVisibleRegion = iface_QueryVisibleRegion; 431 431 432 #ifdef VBOX_ HGCM432 #ifdef VBOX_WITH_HGCM 433 433 if (fActivateHGCM()) 434 434 { … … 449 449 } 450 450 451 #ifdef VBOX_ HGCM451 #ifdef VBOX_WITH_HGCM 452 452 if (fActivateHGCM()) 453 453 { … … 475 475 pData->pVMMDev->mpDrv = pData; 476 476 477 #ifdef VBOX_ HGCM477 #ifdef VBOX_WITH_HGCM 478 478 if (fActivateHGCM()) 479 479 { … … 487 487 pDrvIns->pDrvHlp->pfnSSMRegister(pDrvIns, "HGCM", 0, HGCM_SSM_VERSION, 4096/* bad guess */, NULL, iface_hgcmSave, NULL, NULL, iface_hgcmLoad, NULL); 488 488 } 489 #endif /* VBOX_ HGCM */489 #endif /* VBOX_WITH_HGCM */ 490 490 491 491 return VINF_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.