VirtualBox

Changeset 104786 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
May 27, 2024 8:42:44 AM (6 months ago)
Author:
vboxsync
Message:

Main: Added a new include VBox/graphics.h to avoid dragging in a lot of other includes not needed in Main. bugref:​10693

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/Makefile.kmk

    r104783 r104786  
    211211# Unconditionally enable the new semaphore key generation code
    212212VBOX_MAIN_DEFS += VBOX_WITH_NEW_SYS_V_KEYGEN
    213 
    214 # Main graphics include paths. Used by VBoxC and VBoxSVC.
    215 VBOX_MAIN_GRAPHICS_INCS = \
    216         $(PATH_ROOT)/src/VBox/Devices/Graphics/ \
    217         $(if $(VBOX_WITH_VMSVGA),$(PATH_ROOT)/src/VBox/Devices/Graphics/vmsvga_include,) \
    218         $(VBOX_GRAPHICS_INCS)
    219213
    220214VBOX_IDL_FILE.MSCOM    = $(VBOX_PATH_SDK)/bindings/mscom/idl/VirtualBox.idl
     
    573567        $(dir $(VBOX_XML_SCHEMADEFS_H)) \
    574568        $(VBOX_MAIN_APIWRAPPER_INCS) \
    575         $(VBOX_MAIN_GRAPHICS_INCS) \
    576569        . \
     570        $(VBOX_GRAPHICS_INCS)
    577571        VBoxSVC_INCS.win = \
    578572        $(VBoxCOM_0_OUTDIR)
     
    10821076        $(dir $(VBOX_XML_SCHEMADEFS_H)) \
    10831077        $(VBOX_MAIN_APIWRAPPER_DIR)/dtrace \
    1084         $(VBOX_MAIN_GRAPHICS_INCS)
     1078        $(VBOX_GRAPHICS_INCS)
    10851079 VBoxC_INCS.win     = \
    10861080        $(VBoxCOM_0_OUTDIR) \
  • trunk/src/VBox/Main/src-all/PlatformPropertiesImpl.cpp

    r104781 r104786  
    3232#include "Global.h"
    3333
    34 #include "VBox/vmm/pdmcritsect.h"            /* required by DevVGA.h */
    35 #include "VBox/param.h"                      /* Ditto. */
    36 #include "DevVGA.h"
    37 
    3834#include <iprt/cpp/utils.h>
    3935
     36#include <VBox/graphics.h> /* For VRAM ranges. */
    4037#include <VBox/settings.h>
    4138
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