Changeset 35564 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Jan 14, 2011 1:52:02 PM (14 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk
r35414 r35564 129 129 $(if $(VBOX_WITH_NETFLT)$(eq $(KBUILD_TARGET),freebsd),VBOX_WITH_NETFLT) \ 130 130 $(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,) 132 133 ifdef VBOX_WITH_DEBUGGER_GUI 133 134 VirtualBox_DEFS += VBOX_WITH_DEBUGGER_GUI -
trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp
r35520 r35564 66 66 #include <QLocale> 67 67 68 #ifdef VBOX_ WITH_PIDFILE68 #ifdef VBOX_GUI_WITH_PIDFILE 69 69 # include <QTextStream> 70 #endif /* VBOX_ WITH_PIDFILE */70 #endif /* VBOX_GUI_WITH_PIDFILE */ 71 71 72 72 #include <math.h> … … 449 449 } 450 450 451 #ifdef VBOX_ WITH_PIDFILE451 #ifdef VBOX_GUI_WITH_PIDFILE 452 452 void VBoxGlobal::createPidfile() 453 453 { … … 5035 5035 } 5036 5036 } 5037 #ifdef VBOX_ WITH_PIDFILE5037 #ifdef VBOX_GUI_WITH_PIDFILE 5038 5038 else if (!::strcmp(arg, "-pidfile") || !::strcmp(arg, "--pidfile")) 5039 5039 { … … 5041 5041 m_strPidfile = QString(qApp->argv()[i]); 5042 5042 } 5043 #endif /* VBOX_ WITH_PIDFILE */5043 #endif /* VBOX_GUI_WITH_PIDFILE */ 5044 5044 else if (!::strcmp(arg, "-seamless") || !::strcmp(arg, "--seamless")) 5045 5045 { … … 5210 5210 #endif 5211 5211 5212 #ifdef VBOX_ WITH_PIDFILE5212 #ifdef VBOX_GUI_WITH_PIDFILE 5213 5213 deletePidfile(); 5214 5214 #endif -
trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.h
r35520 r35564 147 147 QWidget *mainWindow() const { return mMainWindow; } 148 148 149 #ifdef VBOX_ WITH_PIDFILE149 #ifdef VBOX_GUI_WITH_PIDFILE 150 150 void createPidfile(); 151 151 void deletePidfile(); … … 868 868 QFileIconProvider m_globalIconProvider; 869 869 870 #ifdef VBOX_ WITH_PIDFILE870 #ifdef VBOX_GUI_WITH_PIDFILE 871 871 QString m_strPidfile; 872 872 #endif -
trunk/src/VBox/Frontends/VirtualBox/src/main.cpp
r35520 r35564 260 260 " --rmode %-18s select different render mode (default is %s)\n" 261 261 " --no-startvm-errormsgbox do not show a message box for VM start errors\n" 262 # ifdef VBOX_ WITH_PIDFILE262 # ifdef VBOX_GUI_WITH_PIDFILE 263 263 " --pid-file file create a pidfile file when a VM is up and running\n" 264 264 # endif -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp
r35520 r35564 282 282 #endif 283 283 284 #ifdef VBOX_ WITH_PIDFILE284 #ifdef VBOX_GUI_WITH_PIDFILE 285 285 vboxGlobal().createPidfile(); 286 286 #endif
Note:
See TracChangeset
for help on using the changeset viewer.