VirtualBox

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ConsoleVRDPServer.cpp

    r8155 r11820  
    3535
    3636#include <VBox/err.h>
    37 #ifdef VBOX_VRDP
     37#ifdef VBOX_WITH_VRDP
    3838#include <VBox/VRDPOrders.h>
    39 #endif /* VBOX_VRDP */
     39#endif /* VBOX_WITH_VRDP */
    4040
    4141class VRDPConsoleCallback : public IConsoleCallback
     
    579579////////////////////////////////////////////////////////////////////////////////
    580580
    581 #ifdef VBOX_VRDP
     581#ifdef VBOX_WITH_VRDP
    582582RTLDRMOD ConsoleVRDPServer::mVRDPLibrary;
    583583
     
    10071007    server->mConsole->getDisplay ()->SetVideoModeHint(cWidth, cHeight, cBitsPerPixel, uScreenId);
    10081008}
    1009 #endif /* VBOX_VRDP */
     1009#endif /* VBOX_WITH_VRDP */
    10101010
    10111011ConsoleVRDPServer::ConsoleVRDPServer (Console *console)
     
    10281028#endif
    10291029
    1030 #ifdef VBOX_VRDP
     1030#ifdef VBOX_WITH_VRDP
    10311031    mhServer = 0;
    10321032
     
    10511051    mConsoleCallback->AddRef();
    10521052    console->RegisterCallback(mConsoleCallback);
    1053 #endif /* VBOX_VRDP */
     1053#endif /* VBOX_WITH_VRDP */
    10541054
    10551055    mAuthLibrary = 0;
     
    10601060    Stop ();
    10611061
    1062 #ifdef VBOX_VRDP
     1062#ifdef VBOX_WITH_VRDP
    10631063    if (mConsoleCallback)
    10641064    {
     
    10771077        }
    10781078    }
    1079 #endif /* VBOX_VRDP */
     1079#endif /* VBOX_WITH_VRDP */
    10801080
    10811081    if (RTCritSectIsInitialized (&mCritSect))
     
    10891089{
    10901090    LogFlowMember(("ConsoleVRDPServer::Launch\n"));
    1091 #ifdef VBOX_VRDP
     1091#ifdef VBOX_WITH_VRDP
    10921092    int rc = VINF_SUCCESS;
    10931093    IVRDPServer *vrdpserver = mConsole->getVRDPServer ();
     
    11221122    int rc = VERR_NOT_SUPPORTED;
    11231123    LogRel(("VRDP: this version does not include the VRDP server.\n"));
    1124 #endif /* VBOX_VRDP */
     1124#endif /* VBOX_WITH_VRDP */
    11251125    return rc;
    11261126}
     
    11281128void ConsoleVRDPServer::EnableConnections (void)
    11291129{
    1130 #ifdef VBOX_VRDP
     1130#ifdef VBOX_WITH_VRDP
    11311131    if (mpEntryPoints && mhServer)
    11321132    {
    11331133        mpEntryPoints->VRDPEnableConnections (mhServer, true);
    11341134    }
    1135 #endif /* VBOX_VRDP */
     1135#endif /* VBOX_WITH_VRDP */
    11361136}
    11371137
    11381138void ConsoleVRDPServer::MousePointerUpdate (const VRDPCOLORPOINTER *pPointer)
    11391139{
    1140 #ifdef VBOX_VRDP
     1140#ifdef VBOX_WITH_VRDP
    11411141    if (mpEntryPoints && mhServer)
    11421142    {
    11431143        mpEntryPoints->VRDPColorPointer (mhServer, pPointer);
    11441144    }
    1145 #endif /* VBOX_VRDP */
     1145#endif /* VBOX_WITH_VRDP */
    11461146}
    11471147
    11481148void ConsoleVRDPServer::MousePointerHide (void)
    11491149{
    1150 #ifdef VBOX_VRDP
     1150#ifdef VBOX_WITH_VRDP
    11511151    if (mpEntryPoints && mhServer)
    11521152    {
    11531153        mpEntryPoints->VRDPHidePointer (mhServer);
    11541154    }
    1155 #endif /* VBOX_VRDP */
     1155#endif /* VBOX_WITH_VRDP */
    11561156}
    11571157
     
    11601160    Assert(VALID_PTR(this)); /** @todo r=bird: there are(/was) some odd cases where this buster was invalid on
    11611161                              * linux. Just remove this when it's 100% sure that problem has been fixed. */
    1162 #ifdef VBOX_VRDP
     1162#ifdef VBOX_WITH_VRDP
    11631163    if (mhServer)
    11641164    {
     
    11731173        }
    11741174    }
    1175 #endif /* VBOX_VRDP */
     1175#endif /* VBOX_WITH_VRDP */
    11761176
    11771177#ifdef VBOX_WITH_USB
     
    14991499    int rc = VINF_SUCCESS;
    15001500
    1501 #ifdef VBOX_VRDP
     1501#ifdef VBOX_WITH_VRDP
    15021502    ConsoleVRDPServer *pServer = static_cast <ConsoleVRDPServer *>(pvExtension);
    15031503
     
    15581558            rc = VERR_NOT_SUPPORTED;
    15591559    }
    1560 #endif /* VBOX_VRDP */
     1560#endif /* VBOX_WITH_VRDP */
    15611561
    15621562    return rc;
     
    18581858void ConsoleVRDPServer::SendUpdate (unsigned uScreenId, void *pvUpdate, uint32_t cbUpdate) const
    18591859{
    1860 #ifdef VBOX_VRDP
     1860#ifdef VBOX_WITH_VRDP
    18611861    if (mpEntryPoints && mhServer)
    18621862    {
     
    18681868void ConsoleVRDPServer::SendResize (void) const
    18691869{
    1870 #ifdef VBOX_VRDP
     1870#ifdef VBOX_WITH_VRDP
    18711871    if (mpEntryPoints && mhServer)
    18721872    {
     
    18781878void ConsoleVRDPServer::SendUpdateBitmap (unsigned uScreenId, uint32_t x, uint32_t y, uint32_t w, uint32_t h) const
    18791879{
    1880 #ifdef VBOX_VRDP
     1880#ifdef VBOX_WITH_VRDP
    18811881    VRDPORDERHDR update;
    18821882    update.x = x;
     
    18931893void ConsoleVRDPServer::SendAudioSamples (void *pvSamples, uint32_t cSamples, VRDPAUDIOFORMAT format) const
    18941894{
    1895 #ifdef VBOX_VRDP
     1895#ifdef VBOX_WITH_VRDP
    18961896    if (mpEntryPoints && mhServer)
    18971897    {
     
    19031903void ConsoleVRDPServer::SendAudioVolume (uint16_t left, uint16_t right) const
    19041904{
    1905 #ifdef VBOX_VRDP
     1905#ifdef VBOX_WITH_VRDP
    19061906    if (mpEntryPoints && mhServer)
    19071907    {
     
    19131913void ConsoleVRDPServer::SendUSBRequest (uint32_t u32ClientId, void *pvParms, uint32_t cbParms) const
    19141914{
    1915 #ifdef VBOX_VRDP
     1915#ifdef VBOX_WITH_VRDP
    19161916    if (mpEntryPoints && mhServer)
    19171917    {
     
    19231923void ConsoleVRDPServer::QueryInfo (uint32_t index, void *pvBuffer, uint32_t cbBuffer, uint32_t *pcbOut) const
    19241924{
    1925 #ifdef VBOX_VRDP
     1925#ifdef VBOX_WITH_VRDP
    19261926    if (mpEntryPoints && mhServer)
    19271927    {
     
    19311931}
    19321932
    1933 #ifdef VBOX_VRDP
     1933#ifdef VBOX_WITH_VRDP
    19341934/* note: static function now! */
    19351935bool ConsoleVRDPServer::loadVRDPLibrary (void)
     
    19911991    return (mVRDPLibrary != NULL);
    19921992}
    1993 #endif /* VBOX_VRDP */
     1993#endif /* VBOX_WITH_VRDP */
    19941994
    19951995/*
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