VirtualBox

Changeset 54648 in vbox


Ignore:
Timestamp:
Mar 5, 2015 1:30:59 PM (10 years ago)
Author:
vboxsync
Message:

FE/Qt and Debugger UI: 6227: Omitting some of the dependencies for COM stuff.

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/dbggui.h

    r44528 r54648  
    2828
    2929#include <VBox/types.h>
    30 #if defined(RT_OS_WINDOWS)
    31 # include <VirtualBox.h>
    32 #else
    33 # include <VirtualBox_XPCOM.h>
    34 #endif
    3530
    3631
  • trunk/src/VBox/Debugger/VBoxDbg.cpp

    r44528 r54648  
    2121#define LOG_GROUP LOG_GROUP_DBGG
    2222#define VBOX_COM_NO_ATL
     23#ifdef RT_OS_WINDOWS
     24# include <VirtualBox.h>
     25#else /* !RT_OS_WINDOWS */
     26# include <VirtualBox_XPCOM.h>
     27#endif /* !RT_OS_WINDOWS */
    2328#include <VBox/dbggui.h>
    2429#include <VBox/vmm/vm.h>
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp

    r54646 r54648  
    2727# include <QTimer>
    2828# include <QDateTime>
     29# include <QImageWriter>
    2930# ifdef Q_WS_MAC
    3031#  include <QMenuBar>
    3132# endif /* Q_WS_MAC */
     33# ifdef Q_WS_X11
     34#  include <QX11Info>
     35# endif /* Q_WS_X11 */
    3236
    3337/* GUI includes: */
     
    6670# endif /* Q_WS_MAC */
    6771
    68 /* VirtualBox interface declarations: */
    69 #ifndef VBOX_WITH_XPCOM
    70 # include "VirtualBox.h"
    71 #else /* !VBOX_WITH_XPCOM */
    72 # include "VirtualBox_XPCOM.h"
    73 #endif /* VBOX_WITH_XPCOM */
    74 
    7572/* COM includes: */
    7673# include "CVirtualBoxErrorInfo.h"
     
    9491# include <iprt/path.h>
    9592# ifdef VBOX_WITH_DEBUGGER_GUI
     93#  include <VBox/dbggui.h>
    9694#  include <iprt/ldr.h>
    9795# endif /* VBOX_WITH_DEBUGGER_GUI */
     
    9997#endif /* !VBOX_WITH_PRECOMPILED_HEADERS */
    10098
    101 #include <QImageWriter>
     99/* VirtualBox interface declarations: */
     100#ifndef VBOX_WITH_XPCOM
     101# include "VirtualBox.h"
     102#else /* !VBOX_WITH_XPCOM */
     103# include "VirtualBox_XPCOM.h"
     104#endif /* VBOX_WITH_XPCOM */
    102105
    103106#ifdef Q_WS_MAC
    104107# include "DarwinKeyboard.h"
    105 #endif
     108#endif /* Q_WS_MAC */
    106109#ifdef Q_WS_WIN
    107110# include "WinKeyboard.h"
    108 #endif
    109 
    110 /* External includes: */
     111#endif /* Q_WS_WIN */
    111112#ifdef Q_WS_X11
    112113# include <XKeyboard.h>
    113 # include <QX11Info>
    114114#endif /* Q_WS_X11 */
    115115
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.h

    r54349 r54648  
    2121#include "UIExtraDataDefs.h"
    2222#include <QIWithRetranslateUI.h>
    23 #ifdef VBOX_WITH_DEBUGGER_GUI
    24 # include <VBox/dbggui.h>
    25 #endif /* VBOX_WITH_DEBUGGER_GUI */
    2623
    2724/* COM includes: */
     
    5047class CVirtualBoxErrorInfo;
    5148
     49#ifdef VBOX_WITH_DEBUGGER_GUI
     50typedef struct DBGGUIVT const *PCDBGGUIVT;
     51typedef struct DBGGUI *PDBGGUI;
     52#endif /* VBOX_WITH_DEBUGGER_GUI */
     53
    5254/* Machine logic interface: */
    5355class UIMachineLogic : public QIWithRetranslateUI3<QObject>
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