VirtualBox

Changeset 6200 in vbox


Ignore:
Timestamp:
Dec 28, 2007 1:28:08 PM (17 years ago)
Author:
vboxsync
Message:

Added VBOX_WITH_REGISTRATION_REQUEST which can be used to disable the registration request on startup. The menu entry remains and the user has the choice to register voluntary. This switch is meant for OSE builds.

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

Legend:

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

    r6056 r6200  
    3333IMAGES :=
    3434
     35VBOX_WITH_REGISTRATION := 1
     36VBOX_WITH_REGISTRATION_REQUEST := 1
     37
    3538DEPTH = ../../../..
    3639include $(PATH_KBUILD)/header.kmk
     
    4043# exclude inappropriate UI content
    4144#
    42 #ifndef VBOX_OSE
    43 VBOX_WITH_REGISTRATION := 1
    44 #endif
    45 
    4645ifndef VBOX_WITH_REGISTRATION
    4746VirtualBox_QT_UISRCS := $(filter-out ui/VBoxRegistrationDlg.ui,$(VirtualBox_QT_UISRCS))
     
    238237 VirtualBox_DEFS         += VBOX_WITH_REGISTRATION
    239238endif
     239ifdef VBOX_WITH_REGISTRATION_REQUEST
     240 VirtualBox_DEFS         += VBOX_WITH_REGISTRATION_REQUEST
     241endif
    240242ifdef VBOX_WITH_ALSA
    241243 VirtualBox_DEFS         += VBOX_WITH_ALSA
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp

    r6152 r6200  
    920920    LogFlowFuncLeave();
    921921
     922#ifdef VBOX_WITH_REGISTRATION_REQUEST
    922923    vboxGlobal().showRegistrationDialog (false /* aForce */);
     924#endif
    923925}
    924926
  • trunk/src/VBox/Frontends/VirtualBox/src/main.cpp

    r6110 r6200  
    243243                a.setMainWidget (&vboxGlobal().selectorWnd());
    244244                vboxGlobal().selectorWnd().show();
     245#ifdef VBOX_WITH_REGISTRATION_REQUEST
    245246                vboxGlobal().showRegistrationDialog (false /* aForce */);
     247#endif
    246248                vboxGlobal().startEnumeratingMedia();
    247249                rc = a.exec();
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