VirtualBox

Changeset 23819 in vbox


Ignore:
Timestamp:
Oct 16, 2009 12:24:52 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
53568
Message:

VBoxClient:

Location:
trunk/src/VBox
Files:
1 deleted
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/VBoxClient/Makefile.kmk

    r23452 r23819  
    5858        seamless-x11.cpp \
    5959        thread.cpp \
    60         display.cpp
     60        display.cpp \
     61        hostversion.cpp
    6162 VBoxClient_LIBS += \
    6263        Xext Xmu
  • trunk/src/VBox/Additions/x11/VBoxClient/VBoxClient.h

    r21922 r23819  
    4646extern Service *GetSeamlessService();
    4747extern Service *GetDisplayService();
     48extern Service *GetHostVersionService();
    4849
    4950extern void CleanUp();
  • trunk/src/VBox/Additions/x11/VBoxClient/main.cpp

    r21940 r23819  
    136136    RTPrintf("Start the VirtualBox X Window System guest services.\n\n");
    137137    RTPrintf("Options:\n");
     138    RTPrintf("  --checkhostversion      checks for a new VirtualBox host version\n");
    138139    RTPrintf("  --clipboard      start the shared clipboard service\n");
    139140    RTPrintf("  --display     start the display management service\n");
     
    190191                fSuccess = false;
    191192        }
     193        else if (!strcmp(argv[i], "--checkhostversion"))
     194        {
     195            if (g_pService == NULL)
     196                g_pService = VBoxClient::GetHostVersionService();
     197            else
     198                fSuccess = false;
     199        }
    192200        else if (!strcmp(argv[i], "-h") || !strcmp(argv[i], "--help"))
    193201        {
     
    235243    }
    236244    /* Initialise the guest library. */
    237     if (RT_FAILURE(VbglR3InitUser()))
     245 /*   if (RT_FAILURE(VbglR3InitUser()))
    238246    {
    239247        RTPrintf("Failed to connect to the VirtualBox kernel service\n");
    240248        Log(("Failed to connect to the VirtualBox kernel service\n"));
    241249        return 1;
    242     }
     250    }*/
    243251    if (g_pszPidFile && RT_FAILURE(VbglR3PidFile(g_pszPidFile, &g_hPidFile)))
    244252    {
  • trunk/src/VBox/Main/Makefile.kmk

    r23801 r23819  
    4444 # I'm Evil! Dr. Evil.
    4545 include $(KBUILD_PATH)/tools/VCC70.kmk
    46  include $(KBUILD_PATH)/sdks/WINPSDK.kmk
     46 include $(KBUILD_PATH)/sdks/WINPSDK.kmk/
    4747endif #!VBOX_ONLY_SDK
    4848
     
    336336        linux/HostHardwareLinux.cpp
    337337
    338 ifdef VBOX_WITH_DBUS
    339  VBoxSVC_SOURCES.linux += linux/vbox-dbus.cpp
    340 endif
    341 
    342338VBoxSVC_SOURCES.solaris = \
    343339        linux/vbox-libhal.cpp \
  • trunk/src/VBox/Main/linux/HostHardwareLinux.cpp

    r23563 r23819  
    3131
    3232#include <VBox/log.h>
     33# ifdef VBOX_WITH_DBUS
     34#  include <VBox/dbus.h>
     35# endif
    3336
    3437#include <iprt/dir.h>
     
    5457# include <linux/fd.h>
    5558# include <linux/major.h>
    56 # ifdef VBOX_WITH_DBUS
    57 #  include <vbox-dbus.h>
    58 # endif
    5959# include <errno.h>
    6060# include <scsi/scsi.h>
     
    10251025#ifdef VBOX_WITH_DBUS
    10261026        if (   RT_SUCCESS(rc)
    1027             && RT_SUCCESS(VBoxLoadDBusLib())
     1027            && RT_SUCCESS(RTDBusLoadLib())
    10281028            && (!success || testing()))
    10291029            rc = getUSBDeviceInfoFromHal(&mDeviceList, &halSuccess);
     
    10701070
    10711071    mContext = new Context;
    1072     if (RT_SUCCESS(VBoxLoadDBusLib()))
     1072    if (RT_SUCCESS(RTDBusLoadLib()))
    10731073    {
    10741074        for (unsigned i = 0; RT_SUCCESS(rc) && i < 5 && !mContext->mConnection; ++i)
  • trunk/src/VBox/Main/testcase/Makefile.kmk

    r23522 r23819  
    125125tstHostHardwareLinux_SOURCES   = \
    126126        tstHostHardwareLinux.cpp \
    127         ../linux/HostHardwareLinux.cpp \
    128         ../linux/vbox-dbus.cpp
     127        ../linux/HostHardwareLinux.cpp
    129128tstHostHardwareLinux_INCS      = . ../include
    130129tstHostHardwareLinux_DEFS      = \
  • trunk/src/VBox/Runtime/Makefile.kmk

    r23507 r23819  
    372372        common/err/errmsgxpcom.cpp
    373373endif
     374ifeq ($(KBUILD_TARGET),linux)
     375RuntimeR3_SOURCES += \
     376        $(if $(VBOX_WITH_DBUS),VBox/dbus.cpp,)
     377endif
    374378
    375379RuntimeR3_SOURCES.win = \
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