VirtualBox

Ignore:
Timestamp:
Sep 10, 2021 5:58:08 PM (3 years ago)
Author:
vboxsync
Message:

Main,FE/VBoxManage: Add the necessary Main API bits to control the trusted platform module settings as well as implementing support in VBoxManage, bugref:10075

File:
1 edited

Legend:

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

    r90828 r91213  
    4141#include "BandwidthControlImpl.h"
    4242#include "BandwidthGroupImpl.h"
     43#include "TrustedPlatformModuleImpl.h"
    4344#ifdef VBOX_WITH_RESOURCE_USAGE_API
    4445# include "Performance.h"
     
    472473    enum
    473474    {
    474         IsModified_MachineData          = 0x0001,
    475         IsModified_Storage              = 0x0002,
    476         IsModified_NetworkAdapters      = 0x0008,
    477         IsModified_SerialPorts          = 0x0010,
    478         IsModified_ParallelPorts        = 0x0020,
    479         IsModified_VRDEServer           = 0x0040,
    480         IsModified_AudioAdapter         = 0x0080,
    481         IsModified_USB                  = 0x0100,
    482         IsModified_BIOS                 = 0x0200,
    483         IsModified_SharedFolders        = 0x0400,
    484         IsModified_Snapshots            = 0x0800,
    485         IsModified_BandwidthControl     = 0x1000,
    486         IsModified_Recording            = 0x2000,
    487         IsModified_GraphicsAdapter      = 0x4000,
     475        IsModified_MachineData           = 0x0001,
     476        IsModified_Storage               = 0x0002,
     477        IsModified_NetworkAdapters       = 0x0008,
     478        IsModified_SerialPorts           = 0x0010,
     479        IsModified_ParallelPorts         = 0x0020,
     480        IsModified_VRDEServer            = 0x0040,
     481        IsModified_AudioAdapter          = 0x0080,
     482        IsModified_USB                   = 0x0100,
     483        IsModified_BIOS                  = 0x0200,
     484        IsModified_SharedFolders         = 0x0400,
     485        IsModified_Snapshots             = 0x0800,
     486        IsModified_BandwidthControl      = 0x1000,
     487        IsModified_Recording             = 0x2000,
     488        IsModified_GraphicsAdapter       = 0x4000,
     489        IsModified_TrustedPlatformModule = 0x8000,
    488490    };
    489491
     
    794796    const ComObjPtr<GraphicsAdapter>   mGraphicsAdapter;
    795797    const ComObjPtr<BandwidthControl>  mBandwidthControl;
     798
     799    const ComObjPtr<TrustedPlatformModule> mTrustedPlatformModule;
    796800
    797801    typedef std::vector<ComObjPtr<NetworkAdapter> > NetworkAdapterVector;
     
    886890    HRESULT getGraphicsAdapter(ComPtr<IGraphicsAdapter> &aGraphicsAdapter);
    887891    HRESULT getBIOSSettings(ComPtr<IBIOSSettings> &aBIOSSettings);
     892    HRESULT getTrustedPlatformModule(ComPtr<ITrustedPlatformModule> &aTrustedPlatformModule);
    888893    HRESULT getRecordingSettings(ComPtr<IRecordingSettings> &aRecordingSettings);
    889894    HRESULT getFirmwareType(FirmwareType_T *aFirmwareType);
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