VirtualBox

Changeset 19644 in vbox for trunk/src


Ignore:
Timestamp:
May 12, 2009 3:29:22 PM (16 years ago)
Author:
vboxsync
Message:

VBoxService/common: Proper building with VBOX_WITH_GUEST_PROPS.

Location:
trunk/src/VBox/Additions/common/VBoxService
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/Makefile.kmk

    r19635 r19644  
    4040        VBoxService.cpp \
    4141        VBoxServiceTimeSync.cpp \
    42         VBoxServiceVMInfo.cpp \
    4342        VBoxServiceUtils.cpp
    44 VBoxService_SOURCES.win   = \
     43ifdef VBOX_WITH_GUEST_PROPS
     44 VBoxService_SOURCES.win  = \
     45        VBoxServiceVMInfo-win.cpp
     46 VBoxService_SOURCES     += \
     47        VBoxServiceVMInfo.cpp
     48endif
     49VBoxService_SOURCES.win  += \
    4550        VBoxService-win.rc \
    46         VBoxService-win.cpp \
    47         VBoxServiceVMInfo-win.cpp
     51        VBoxService-win.cpp
    4852VBoxService_SOURCES.os2   = \
    4953        VBoxService-os2.def \
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceInternal.h

    r19374 r19644  
    144144/** Uninstalls the service from the registry. */
    145145extern int VBoxServiceWinUninstall(void);
     146#ifdef VBOX_WITH_GUEST_PROPS
    146147/** Detects wheter a user is logged on based on the enumerated processes. */
    147148extern BOOL VboxServiceVMInfoWinIsLoggedIn(VBOXSERVICEVMINFOUSER* a_pUserInfo,
     
    151152/** Gets logon user IDs from enumerated processes. */
    152153extern DWORD VboxServiceVMInfoWinGetLUIDsFromProcesses(PLUID *ppLuid);
    153 #endif
     154#endif /* VBOX_WITH_GUEST_PROPS */
     155#endif /* RT_OS_WINDOWS */
    154156
    155157__END_DECLS
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceUtils.cpp

    r19618 r19644  
    3737
    3838
     39#ifdef VBOX_WITH_GUEST_PROPS
    3940int VboxServiceWriteProp(uint32_t uiClientID, const char *pszKey, const char *pszValue)
    4041{
     
    8687    return VboxServiceWriteProp(uiClientID, pszKey, szBuffer);
    8788}
     89#endif /* VBOX_WITH_GUEST_PROPS */
    8890
    8991
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceUtils.h

    r19620 r19644  
    2525#include "VBoxServiceInternal.h"
    2626
     27#ifdef VBOX_WITH_GUEST_PROPS
    2728int VboxServiceWritePropInt(uint32_t uiClientID, const char *pszKey, int iValue);
    2829int VboxServiceWriteProp(uint32_t uiClientID, const char *pszKey, const char *pszValue);
     30#endif
    2931#ifdef RT_OS_WINDOWS
    3032/** Gets a pre-formatted version string from the VS_FIXEDFILEINFO table. */
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