Changeset 73176 in vbox
- Timestamp:
- Jul 17, 2018 11:58:01 AM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 123778
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageBasic3.cpp
r73175 r73176 40 40 # include "UIWizardExportAppDefs.h" 41 41 # include "UIWizardExportAppPageBasic3.h" 42 43 /* COM includes: */ 44 # include "CCloudUserProfileList.h" 42 45 43 46 #endif /* !VBOX_WITH_PRECOMPILED_HEADERS */ … … 65 68 , m_pProfileSettingsTable(0) 66 69 { 70 /* Init Cloud User-profile Manager: */ 71 CVirtualBox comVBox = vboxGlobal().virtualBox(); 72 m_comCloudUserProfileManager = comVBox.CreateCloudUserProfileManager(); 73 AssertMsg(comVBox.isOk() && m_comCloudUserProfileManager.isNotNull(), 74 ("Unable to acquire Cloud User-profile Manager")); 67 75 } 68 76 … … 108 116 109 117 /* Acquire provider ID list: */ 110 // Here goes the experiamental list with 111 // arbitrary contents for testing purposes. 112 QVector<KCloudProviderId> providerIds; 113 providerIds << KCloudProviderId_OCI; 114 providerIds << KCloudProviderId_GCP; 115 providerIds << KCloudProviderId_AWS; 116 providerIds << KCloudProviderId_MicrosoftAzure; 117 providerIds << KCloudProviderId_IBMCloud; 118 providerIds << KCloudProviderId_DigitalOcean; 118 QVector<KCloudProviderId> providerIds = m_comCloudUserProfileManager.GetSupportedProviders(); 119 /* Make sure at least one provider is supported: */ 120 AssertReturnVoid(!providerIds.isEmpty()); 119 121 120 122 /* Add non-translated provider names into combo: */ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageBasic3.h
r73175 r73176 27 27 /* COM includes: */ 28 28 #include "COMEnums.h" 29 #include "CCloudUserProfileManager.h" 29 30 30 31 /* Forward declarations: */ … … 128 129 void setProfile(const QString &strProfile); 129 130 131 /** Holds the Cloud User-profile Manager reference. */ 132 CCloudUserProfileManager m_comCloudUserProfileManager; 133 130 134 /** Holds the default appliance name. */ 131 135 QString m_strDefaultApplianceName;
Note:
See TracChangeset
for help on using the changeset viewer.