VirtualBox

Changeset 73571 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Aug 8, 2018 4:10:30 PM (6 years ago)
Author:
vboxsync
Message:

bugref:9152. Renamed ICloudUserProfiles to ICloudProvider, ICloudUserProfileManager to ICloudProviderManager. Commented out some code in the frontend. Sergey will rewrite it according to actual realization.

Location:
trunk/src/VBox/Main/include
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/CloudUserProfileManagerImpl.h

    r73551 r73571  
    2121
    2222/* VBox includes */
    23 #include "CloudUserProfileManagerWrap.h"
     23#include "CloudProviderManagerWrap.h"
    2424#include "CloudUserProfilesImpl.h"
    2525
    2626/* VBox forward declarations */
    2727
    28 class ATL_NO_VTABLE CloudUserProfileManager
    29     : public CloudUserProfileManagerWrap
     28class ATL_NO_VTABLE CloudProviderManager
     29    : public CloudProviderManagerWrap
    3030{
    3131public:
    3232
    33     DECLARE_EMPTY_CTOR_DTOR(CloudUserProfileManager)
     33    DECLARE_EMPTY_CTOR_DTOR(CloudProviderManager)
    3434
    3535    HRESULT FinalConstruct();
     
    4242    ComPtr<VirtualBox> const mParent;       /**< Strong reference to the parent object (VirtualBox/IMachine). */
    4343#ifdef VBOX_WITH_CLOUD_PROVIDERS_IN_EXTPACK
    44     std::vector<ComPtr<ICloudUserProfileManager>> mUserProfileManagers;
     44    std::vector<ComPtr<ICloudProviderManager>> mUserProfileManagers;
    4545#else
    46     std::vector<CloudProviderId_T> mSupportedProviders;
     46    std::vector<Utf8Str> mSupportedProviders;
    4747#endif
    4848
    49     HRESULT getSupportedProviders(std::vector<CloudProviderId_T> &aProviderTypes);
    50     HRESULT getAllProfiles(std::vector< ComPtr<ICloudUserProfiles> > &aProfilesList);
    51     HRESULT getProfilesByProvider(CloudProviderId_T aProviderType, ComPtr<ICloudUserProfiles> &aProfiles);
     49    HRESULT getSupportedProviders(std::vector<Utf8Str> &aProviderTypes);
     50    HRESULT getAllProfiles(std::vector< ComPtr<ICloudProvider> > &aProfilesList);
     51    HRESULT getProfilesByProvider(const com::Utf8Str &aProviderName, ComPtr<ICloudProvider> &aProfiles);
    5252};
    5353
  • trunk/src/VBox/Main/include/CloudUserProfilesImpl.h

    r73337 r73571  
    2525/* VBox includes */
    2626#include "CloudClientImpl.h"
    27 #include "CloudUserProfilesWrap.h"
     27#include "CloudProviderWrap.h"
    2828#include "UnattendedScript.h"
    2929
     
    3131class SimpleConfigFile;
    3232
    33 class CloudUserProfiles : public CloudUserProfilesWrap
     33class CloudProvider : public CloudProviderWrap
    3434{
    3535public:
    36     CloudUserProfiles();
    37     virtual ~CloudUserProfiles();
     36    CloudProvider();
     37    virtual ~CloudProvider();
    3838    HRESULT FinalConstruct();
    3939    void FinalRelease();
     
    6868
    6969class OCIUserProfiles :
    70     public CloudUserProfiles
     70    public CloudProvider
    7171{
    7272public:
  • trunk/src/VBox/Main/include/VirtualBoxImpl.h

    r73155 r73571  
    313313    HRESULT createAppliance(ComPtr<IAppliance> &aAppliance);
    314314    HRESULT createUnattendedInstaller(ComPtr<IUnattended> &aUnattended);
    315     HRESULT createCloudUserProfileManager(ComPtr<ICloudUserProfileManager> &aManager);
     315    HRESULT createCloudProviderManager(ComPtr<ICloudProviderManager> &aManager);
    316316    HRESULT createMedium(const com::Utf8Str &aFormat,
    317317                         const com::Utf8Str &aLocation,
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