VirtualBox

Changeset 74926 in vbox


Ignore:
Timestamp:
Oct 18, 2018 3:32:37 PM (6 years ago)
Author:
vboxsync
Message:

OCI: Get rid of the VBOX_WITH_CLOUD_PROVIDERS_IN_EXTPACK switch which
is always true now. G/c VirtualBox references that were always NULL
in extpack.

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r74858 r74926  
    779779# Enables the extension pack feature.
    780780VBOX_WITH_EXTPACK = 1
    781 # Enables implementing cloud providers as part of an extension pack.
    782 VBOX_WITH_CLOUD_PROVIDERS_IN_EXTPACK = 1
    783781# Enables separating code into the Oracle VM VirtualBox Extension Pack, dubbed PUEL.
    784782VBOX_WITH_EXTPACK_PUEL = 1
  • trunk/src/VBox/Main/Makefile.kmk

    r74776 r74926  
    7979        $(if $(VBOX_WITH_MIDL_PROXY_STUB),VBOX_WITH_MIDL_PROXY_STUB,) \
    8080        $(if $(VBOX_WITH_SDS),VBOX_WITH_SDS,) \
    81         $(if $(VBOX_WITH_CLOUD_PROVIDERS_IN_EXTPACK),VBOX_WITH_CLOUD_PROVIDERS_IN_EXTPACK,) \
    8281        $(if $(VBOX_WITH_CLOUD_PROVIDERS_NO_COMMANDS),VBOX_WITH_CLOUD_PROVIDERS_NO_COMMANDS,)
    8382
  • trunk/src/VBox/Main/include/CloudProviderManagerImpl.h

    r74214 r74926  
    2121
    2222#include "CloudProviderManagerWrap.h"
    23 #ifdef VBOX_WITH_CLOUD_PROVIDERS_IN_EXTPACK
     23#ifdef VBOX_WITH_EXTPACK
    2424class ExtPackManager;
    2525#endif
     
    3838    void uninit();
    3939
    40 #if defined(VBOX_WITH_CLOUD_PROVIDERS_IN_EXTPACK) && defined(VBOX_WITH_EXTPACK)
     40#ifdef VBOX_WITH_EXTPACK
    4141    // Safe helpers, take care of caller and lock themselves.
    4242    void i_refreshProviders();
     
    5454
    5555private:
    56 #ifdef VBOX_WITH_CLOUD_PROVIDERS_IN_EXTPACK
     56#ifdef VBOX_WITH_EXTPACK
    5757    ComObjPtr<ExtPackManager> mpExtPackMgr;
    5858    uint64_t mcExtPackMgrUpdate;
  • trunk/src/VBox/Main/src-server/CloudProviderManagerImpl.cpp

    r74212 r74926  
    6161    m_apCloudProviders.clear();
    6262
    63 #if defined(VBOX_WITH_CLOUD_PROVIDERS_IN_EXTPACK) && defined(VBOX_WITH_EXTPACK)
     63#ifdef VBOX_WITH_EXTPACK
    6464    // Engage the extension pack manager and get all the implementations of
    6565    // this class and all implemented cloud providers.
     
    8989}
    9090
    91 #if defined(VBOX_WITH_CLOUD_PROVIDERS_IN_EXTPACK) && defined(VBOX_WITH_EXTPACK)
     91#ifdef VBOX_WITH_EXTPACK
    9292void CloudProviderManager::i_refreshProviders()
    9393{
     
    137137    }
    138138}
    139 #endif
     139#endif  /* VBOX_WITH_EXTPACK */
    140140
    141141HRESULT CloudProviderManager::getProviders(std::vector<ComPtr<ICloudProvider> > &aProviders)
  • trunk/src/VBox/Makefile.kmk

    r74210 r74926  
    3838 include $(PATH_SUB_CURRENT)/Devices/Makefile.kmk
    3939 include $(PATH_SUB_CURRENT)/HostDrivers/Makefile.kmk
    40  ifdef VBOX_WITH_CLOUD_PROVIDERS_IN_EXTPACK
    41   include $(PATH_SUB_CURRENT)/Main/Makefile.kmk
    42  endif
     40 include $(PATH_SUB_CURRENT)/Main/Makefile.kmk
    4341 include $(PATH_SUB_CURRENT)/Storage/Makefile.kmk
    4442 include $(PATH_SUB_CURRENT)/ExtPacks/Makefile.kmk
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