VirtualBox

Changeset 21218 in vbox


Ignore:
Timestamp:
Jul 5, 2009 1:31:56 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
49535
Message:

Additions: Use VBoxGuestLib.h instead of VBoxGuest.h where applicable.

Location:
trunk/src/VBox/Additions
Files:
17 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxControl/VBoxControl.cpp

    r18509 r21218  
    11/** $Id$ */
    22/** @file
    3  * VBoxControl - Guest Additions Command Line Management Interface
     3 * VBoxControl - Guest Additions Command Line Management Interface.
    44 */
    55
     
    2020 */
    2121
    22 
    23 
    2422/*******************************************************************************
    2523*   Header Files                                                               *
    2624*******************************************************************************/
     25#include <iprt/alloca.h>
     26#include <iprt/autores.h>
     27#include <iprt/initterm.h>
    2728#include <iprt/mem.h>
     29#include <iprt/path.h>
    2830#include <iprt/string.h>
    2931#include <iprt/stream.h>
    30 #include <iprt/path.h>
    31 #include <iprt/initterm.h>
    32 #include <iprt/autores.h>
    3332#include <VBox/log.h>
    34 #include <VBox/VBoxGuest.h>
    3533#include <VBox/version.h>
     34#include <VBox/VBoxGuestLib.h>
    3635#ifdef RT_OS_WINDOWS
    37 # include <windows.h>
    38 # include <malloc.h>  /* for alloca */
     36# include <Windows.h>
    3937#endif
    4038#ifdef VBOX_WITH_GUEST_PROPS
     
    14351433    return rc;
    14361434}
     1435
  • trunk/src/VBox/Additions/common/VBoxControl/testcase/tstVBoxControl.cpp

    r14233 r21218  
    2525*   Header Files                                                               *
    2626*******************************************************************************/
     27#include <iprt/autores.h>
     28#include <iprt/initterm.h>
    2729#include <iprt/mem.h>
     30#include <iprt/path.h>
     31#include <iprt/stream.h>
    2832#include <iprt/string.h>
    29 #include <iprt/stream.h>
    30 #include <iprt/path.h>
    31 #include <iprt/initterm.h>
    32 #include <iprt/autores.h>
    3333#include <VBox/log.h>
    34 #include <VBox/VBoxGuest.h>
    3534#include <VBox/version.h>
     35#include <VBox/VBoxGuestLib.h>
    3636#ifdef VBOX_WITH_GUEST_PROPS
    3737# include <VBox/HostServices/GuestPropertySvc.h>
  • trunk/src/VBox/Additions/common/VBoxService/VBoxService.cpp

    r21165 r21218  
    3838#include <iprt/path.h>
    3939#include <VBox/log.h>
    40 #include <VBox/VBoxGuest.h>
     40#include <VBox/VBoxGuestLib.h>
    4141#include "VBoxServiceInternal.h"
    4242
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceClipboard-os2.cpp

    r19374 r21218  
    3737#include <iprt/assert.h>
    3838#include <iprt/asm.h>
    39 #include <VBox/VBoxGuest.h>
     39#include <VBox/VBoxGuestLib.h>
    4040#include <VBox/HostServices/VBoxClipboardSvc.h>
    4141#include "VBoxServiceInternal.h"
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceTimeSync.cpp

    r21163 r21218  
    9999#include <iprt/time.h>
    100100#include <iprt/assert.h>
    101 #include <VBox/VBoxGuest.h>
     101#include <VBox/VBoxGuestLib.h>
    102102#include "VBoxServiceInternal.h"
    103103
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceUtils.cpp

    r19644 r21218  
    1 
    21/* $Id$ */
    32/** @file
     
    2625*******************************************************************************/
    2726#ifdef RT_OS_WINDOWS
    28 #include <windows.h>
     27# include <Windows.h>
    2928#endif
    3029
     
    3332#include <iprt/string.h>
    3433
    35 #include <VBox/VBoxGuest.h>
     34#include <VBox/VBoxGuestLib.h>
    3635#include "VBoxServiceInternal.h"
    3736
     
    5352    {
    5453        rc = RTStrCurrentCPToUtf8(&pszValueTemp, pszValue);
    55         if (!RT_SUCCESS(rc)) 
     54        if (!RT_SUCCESS(rc))
    5655        {
    5756            VBoxServiceError("vboxVMInfoThread: Failed to convert the value name \"%s\" to Utf8! Error: %Rrc\n", pszValue, rc);
     
    9291#ifdef RT_OS_WINDOWS
    9392/** @todo Use TCHAR here instead of LPC*STR crap. */
    94 BOOL VboxServiceGetFileString(LPCWSTR pszFileName, 
    95                               LPWSTR pszBlock, 
    96                               LPWSTR pszString, 
     93BOOL VboxServiceGetFileString(LPCWSTR pszFileName,
     94                              LPWSTR pszBlock,
     95                              LPWSTR pszString,
    9796                              PUINT puiSize)
    9897{
     
    149148
    150149BOOL VboxServiceGetFileVersion(LPCWSTR pszFileName,
    151                                DWORD* pdwMajor, 
    152                                DWORD* pdwMinor, 
    153                                DWORD* pdwBuildNumber, 
     150                               DWORD* pdwMajor,
     151                               DWORD* pdwMinor,
     152                               DWORD* pdwBuildNumber,
    154153                               DWORD* pdwRevisionNumber)
    155154{
     
    233232}
    234233#endif /* !RT_OS_WINDOWS */
     234
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceVMInfo.cpp

    r21166 r21218  
    5252#include <iprt/time.h>
    5353#include <iprt/assert.h>
    54 #include <VBox/VBoxGuest.h>
     54#include <VBox/VBoxGuestLib.h>
    5555#include "VBoxServiceInternal.h"
    5656#include "VBoxServiceUtils.h"
  • trunk/src/VBox/Additions/x11/VBoxClient/autoresize.cpp

    r18994 r21218  
    3030
    3131#include <iprt/assert.h>
     32#include <iprt/err.h>
    3233#include <iprt/thread.h>
    3334#include <VBox/log.h>
    3435#include <VBox/VBoxGuest.h>
     36#include <VBox/VBoxGuestLib.h>
    3537
    3638#include "VBoxClient.h"
     
    3840static int initAutoResize()
    3941{
    40     int rc = VINF_SUCCESS, rcSystem, rcErrno;
     42    int rc = VINF_SUCCESS;
     43    int rcSystem, rcErrno;
    4144
    4245    LogFlowFunc(("\n"));
  • trunk/src/VBox/Additions/x11/VBoxClient/main.cpp

    r18938 r21218  
    3636#include <iprt/stream.h>
    3737#include <iprt/string.h>
    38 #include <VBox/VBoxGuest.h>
     38#include <VBox/VBoxGuestLib.h>
    3939#include <VBox/log.h>
    4040
  • trunk/src/VBox/Additions/x11/VBoxClient/seamless-host.cpp

    r8155 r21218  
    2626
    2727#include <VBox/log.h>
     28#include <VBox/VBoxGuest.h>
    2829#include <iprt/err.h>
    2930
  • trunk/src/VBox/Additions/x11/VBoxClient/seamless-host.h

    r8155 r21218  
    2727
    2828#include <VBox/log.h>
    29 #include <VBox/VBoxGuest.h>         /* for the R3 guest library functions  */
     29#include <VBox/VBoxGuestLib.h>      /* for the R3 guest library functions  */
    3030
    3131#include "seamless-glue.h"          /* for VBoxGuestSeamlessObserver */
  • trunk/src/VBox/Additions/x11/VBoxClient/testcase/tstSeamlessX11.cpp

    r14837 r21218  
    2222#include <stdlib.h> /* exit() */
    2323
     24#include <iprt/initterm.h>
    2425#include <iprt/semaphore.h>
    25 #include <iprt/initterm.h>
    2626#include <VBox/VBoxGuest.h>
     27#include <VBox/VBoxGuestLib.h>
    2728
    2829#include "../seamless.h"
  • trunk/src/VBox/Additions/x11/vboxmouse/VBoxUtils.c

    r17155 r21218  
    2222#include <iprt/assert.h>
    2323#include <VBox/VBoxGuest.h>
     24#include <VBox/VBoxGuestLib.h>
    2425#include "VBoxUtils.h"
    2526
  • trunk/src/VBox/Additions/x11/vboxmouse/VBoxUtils_68.c

    r17155 r21218  
    2222#include <iprt/assert.h>
    2323#include <VBox/VBoxGuest.h>
     24#include <VBox/VBoxGuestLib.h>
    2425#include "VBoxUtils.h"
    2526
  • trunk/src/VBox/Additions/x11/vboxmouse/vboxmouse_15.c

    r19655 r21218  
    4949
    5050#include <VBox/VBoxGuest.h>
     51#include <VBox/VBoxGuestLib.h>
    5152#include <xf86.h>
    5253#include <xf86Xinput.h>
     
    140141        device->public.on = TRUE;
    141142        break;
    142    
     143
    143144    case DEVICE_OFF:
    144145        xf86Msg(X_INFO, "%s: Off.\n", pInfo->name);
     
    190191
    191192    xf86CollectInputOptions(pInfo, NULL, NULL);
    192     xf86ProcessCommonOptions(pInfo, pInfo->options); 
     193    xf86ProcessCommonOptions(pInfo, pInfo->options);
    193194
    194195    device = xf86CheckStrOption(dev->commonOptions, "Device",
  • trunk/src/VBox/Additions/x11/vboxvideo/vboxutils.c

    r18307 r21218  
    2020
    2121#include <VBox/VBoxGuest.h>
     22#include <VBox/VBoxGuestLib.h>
    2223#include <VBox/VBoxDev.h>
    2324
  • trunk/src/VBox/Additions/x11/vboxvideo/vboxutils_68.c

    r16995 r21218  
    2121
    2222#include <VBox/VBoxGuest.h>
     23#include <VBox/VBoxGuestLib.h>
    2324
    2425#include <xf86Pci.h>
Note: See TracChangeset for help on using the changeset viewer.

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