VirtualBox

Changeset 35564 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Jan 14, 2011 1:52:02 PM (14 years ago)
Author:
vboxsync
Message:

FE/Qt: s/VBOX_WITH_PIDFILE/VBOX_GUI_WITH_PIDFILE/ plus Makefile.kmk change

Location:
trunk/src/VBox/Frontends/VirtualBox
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk

    r35414 r35564  
    129129        $(if $(VBOX_WITH_NETFLT)$(eq $(KBUILD_TARGET),freebsd),VBOX_WITH_NETFLT) \
    130130        $(if $(VBOX_WITH_VDE),VBOX_WITH_VDE) \
    131         $(if $(VBOX_WITH_EHCI),VBOX_WITH_EHCI)
     131        $(if $(VBOX_WITH_EHCI),VBOX_WITH_EHCI) \
     132        $(if $(VBOX_GUI_WITH_PIDFILE),VBOX_GUI_WITH_PIDFILE,)
    132133ifdef VBOX_WITH_DEBUGGER_GUI
    133134 VirtualBox_DEFS        += VBOX_WITH_DEBUGGER_GUI
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp

    r35520 r35564  
    6666#include <QLocale>
    6767
    68 #ifdef VBOX_WITH_PIDFILE
     68#ifdef VBOX_GUI_WITH_PIDFILE
    6969# include <QTextStream>
    70 #endif /* VBOX_WITH_PIDFILE */
     70#endif /* VBOX_GUI_WITH_PIDFILE */
    7171
    7272#include <math.h>
     
    449449}
    450450
    451 #ifdef VBOX_WITH_PIDFILE
     451#ifdef VBOX_GUI_WITH_PIDFILE
    452452void VBoxGlobal::createPidfile()
    453453{
     
    50355035            }
    50365036        }
    5037 #ifdef VBOX_WITH_PIDFILE
     5037#ifdef VBOX_GUI_WITH_PIDFILE
    50385038        else if (!::strcmp(arg, "-pidfile") || !::strcmp(arg, "--pidfile"))
    50395039        {
     
    50415041                m_strPidfile = QString(qApp->argv()[i]);
    50425042        }
    5043 #endif /* VBOX_WITH_PIDFILE */
     5043#endif /* VBOX_GUI_WITH_PIDFILE */
    50445044        else if (!::strcmp(arg, "-seamless") || !::strcmp(arg, "--seamless"))
    50455045        {
     
    52105210#endif
    52115211
    5212 #ifdef VBOX_WITH_PIDFILE
     5212#ifdef VBOX_GUI_WITH_PIDFILE
    52135213    deletePidfile();
    52145214#endif
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.h

    r35520 r35564  
    147147    QWidget *mainWindow() const { return mMainWindow; }
    148148
    149 #ifdef VBOX_WITH_PIDFILE
     149#ifdef VBOX_GUI_WITH_PIDFILE
    150150    void createPidfile();
    151151    void deletePidfile();
     
    868868    QFileIconProvider m_globalIconProvider;
    869869
    870 #ifdef VBOX_WITH_PIDFILE
     870#ifdef VBOX_GUI_WITH_PIDFILE
    871871    QString m_strPidfile;
    872872#endif
  • trunk/src/VBox/Frontends/VirtualBox/src/main.cpp

    r35520 r35564  
    260260            "  --rmode %-18s select different render mode (default is %s)\n"
    261261            "  --no-startvm-errormsgbox   do not show a message box for VM start errors\n"
    262 # ifdef VBOX_WITH_PIDFILE
     262# ifdef VBOX_GUI_WITH_PIDFILE
    263263            "  --pid-file file            create a pidfile file when a VM is up and running\n"
    264264# endif
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp

    r35520 r35564  
    282282#endif
    283283
    284 #ifdef VBOX_WITH_PIDFILE
     284#ifdef VBOX_GUI_WITH_PIDFILE
    285285    vboxGlobal().createPidfile();
    286286#endif
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