VirtualBox

Changeset 73155 in vbox


Ignore:
Timestamp:
Jul 16, 2018 11:12:46 AM (6 years ago)
Author:
vboxsync
Message:

bugref:9152. The function createCloudUserProfileManager was added.

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

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

    r73003 r73155  
    313313    HRESULT createAppliance(ComPtr<IAppliance> &aAppliance);
    314314    HRESULT createUnattendedInstaller(ComPtr<IUnattended> &aUnattended);
     315    HRESULT createCloudUserProfileManager(ComPtr<ICloudUserProfileManager> &aManager);
    315316    HRESULT createMedium(const com::Utf8Str &aFormat,
    316317                         const com::Utf8Str &aLocation,
  • trunk/src/VBox/Main/src-server/VirtualBoxImpl.cpp

    r73003 r73155  
    7979#include "AutoCaller.h"
    8080#include "Logging.h"
     81
     82# include "CloudUserProfileManagerImpl.h"
    8183
    8284#include <QMTranslator.h>
     
    18181820}
    18191821
     1822HRESULT VirtualBox::createCloudUserProfileManager(ComPtr<ICloudUserProfileManager> &aManager)
     1823{
     1824    ComObjPtr<CloudUserProfileManager> ptrCloudUserProfileManager;
     1825    HRESULT hrc = ptrCloudUserProfileManager.createObject();
     1826    if (SUCCEEDED(hrc))
     1827    {
     1828        AutoReadLock wlock(this COMMA_LOCKVAL_SRC_POS);
     1829        hrc = ptrCloudUserProfileManager->init(this);
     1830        if (SUCCEEDED(hrc))
     1831            hrc = ptrCloudUserProfileManager.queryInterfaceTo(aManager.asOutParam());
     1832    }
     1833    return hrc;
     1834}
     1835
    18201836HRESULT VirtualBox::createMedium(const com::Utf8Str &aFormat,
    18211837                                 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