VirtualBox

Changeset 11820 in vbox for trunk/src/VBox/Frontends/VBoxBFE


Ignore:
Timestamp:
Aug 29, 2008 2:09:39 PM (16 years ago)
Author:
vboxsync
Message:

made Qt4 the default GUI; VBOX_VRDP => VBOX_WITH_VRDP; VBOX_HGCM => VBOX_WITH_HGCM; Makefile cleanup

Location:
trunk/src/VBox/Frontends/VBoxBFE
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxBFE/Makefile.kmk

    r11727 r11820  
    5757#endif
    5858ifdef VBOX_WITH_VRDP
    59 VBoxBFE_DEFS += VBOX_VRDP
     59VBoxBFE_DEFS += VBOX_WITH_VRDP
    6060endif
    6161ifneq ($(KBUILD_TARGET).$(VBOX_WITHOUT_COM),win.)
     
    8585
    8686ifdef VBOX_WITH_HGCM
    87 VBoxBFE_DEFS += VBOX_HGCM
     87VBoxBFE_DEFS += VBOX_WITH_HGCM
    8888VBoxBFE_SOURCES += \
    8989        HGCM.cpp \
  • trunk/src/VBox/Frontends/VBoxBFE/VBoxBFE.cpp

    r11725 r11820  
    4646# include <VBox/vusb.h>
    4747#endif
    48 #ifdef VBOX_HGCM
     48#ifdef VBOX_WITH_HGCM
    4949# include <VBox/shflsvc.h>
    5050#endif
     
    392392             "  -tapfd<1-N> <fd>   Use existing TAP device, don't allocate\n"
    393393#endif
    394 #ifdef VBOX_VRDP
     394#ifdef VBOX_WITH_VRDP
    395395             "  -vrdp [port]       Listen for VRDP connections on port (default if not specified)\n"
    396396#endif
     
    418418{
    419419    bool fFullscreen = false;
    420 #ifdef VBOX_VRDP
     420#ifdef VBOX_WITH_VRDP
    421421    int32_t portVRDP = -1;
    422422#endif
     
    713713        }
    714714#endif /* RT_OS_LINUX */
    715 #ifdef VBOX_VRDP
     715#ifdef VBOX_WITH_VRDP
    716716        else if (strcmp(pszArg, "-vrdp") == 0)
    717717        {
     
    727727            }
    728728        }
    729 #endif /* VBOX_VRDP */
     729#endif /* VBOX_WITH_VRDP */
    730730#ifdef VBOX_SECURELABEL
    731731        else if (strcmp(pszArg, "-securelabel") == 0)
     
    11851185    }
    11861186
    1187 #ifdef VBOX_HGCM
     1187#ifdef VBOX_WITH_HGCM
    11881188    /*
    11891189     * Add shared folders to the VM
  • trunk/src/VBox/Frontends/VBoxBFE/VMMDevInterface.cpp

    r11307 r11820  
    4242#include "DisplayImpl.h"
    4343#include "ConsoleImpl.h"
    44 #ifdef VBOX_HGCM
     44#ifdef VBOX_WITH_HGCM
    4545#include "HGCM.h"
    4646#endif
     
    6969    PDMIVMMDEVCONNECTOR         Connector;
    7070
    71 #ifdef VBOX_HGCM
     71#ifdef VBOX_WITH_HGCM
    7272    /** Pointer to the HGCM port interface of the driver/device above us. */
    7373    PPDMIHGCMPORT               pHGCMPort;
     
    8080#define PDMIVMMDEVCONNECTOR_2_MAINVMMDEV(pInterface) ( (PDRVMAINVMMDEV) ((uintptr_t)pInterface - RT_OFFSETOF(DRVMAINVMMDEV, Connector)) )
    8181
    82 #ifdef VBOX_HGCM
     82#ifdef VBOX_WITH_HGCM
    8383/** Converts PDMIHGCMCONNECTOR pointer to a DRVMAINVMMDEV pointer. */
    8484#define PDMIHGCMCONNECTOR_2_MAINVMMDEV(pInterface) ( (PDRVMAINVMMDEV) ((uintptr_t)pInterface - RT_OFFSETOF(DRVMAINVMMDEV, HGCMConnector)) )
     
    8787VMMDev::VMMDev() : mpDrv(NULL)
    8888{
    89 #ifdef VBOX_HGCM
     89#ifdef VBOX_WITH_HGCM
    9090    int rc = VINF_SUCCESS;
    9191    if (fActivateHGCM())
     
    9797VMMDev::~VMMDev()
    9898{
    99 #ifdef VBOX_HGCM
     99#ifdef VBOX_WITH_HGCM
    100100    if (fActivateHGCM())
    101101        HGCMHostShutdown ();
    102 #endif /* VBOX_HGCM */
     102#endif /* VBOX_WITH_HGCM */
    103103}
    104104
     
    259259}
    260260
    261 #ifdef VBOX_HGCM
     261#ifdef VBOX_WITH_HGCM
    262262
    263263/* HGCM connector interface */
     
    360360        case PDMINTERFACE_VMMDEV_CONNECTOR:
    361361            return &pDrv->Connector;
    362 #ifdef VBOX_HGCM
     362#ifdef VBOX_WITH_HGCM
    363363        case PDMINTERFACE_HGCM_CONNECTOR:
    364364            if (fActivateHGCM())
     
    430430    pData->Connector.pfnQueryVisibleRegion      = iface_QueryVisibleRegion;
    431431
    432 #ifdef VBOX_HGCM
     432#ifdef VBOX_WITH_HGCM
    433433    if (fActivateHGCM())
    434434    {
     
    449449    }
    450450
    451 #ifdef VBOX_HGCM
     451#ifdef VBOX_WITH_HGCM
    452452    if (fActivateHGCM())
    453453    {
     
    475475    pData->pVMMDev->mpDrv = pData;
    476476
    477 #ifdef VBOX_HGCM
     477#ifdef VBOX_WITH_HGCM
    478478    if (fActivateHGCM())
    479479    {
     
    487487        pDrvIns->pDrvHlp->pfnSSMRegister(pDrvIns, "HGCM", 0, HGCM_SSM_VERSION, 4096/* bad guess */, NULL, iface_hgcmSave, NULL, NULL, iface_hgcmLoad, NULL);
    488488    }
    489 #endif /* VBOX_HGCM */
     489#endif /* VBOX_WITH_HGCM */
    490490
    491491    return VINF_SUCCESS;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette