VirtualBox

Ignore:
Timestamp:
Oct 15, 2019 4:37:37 PM (5 years ago)
Author:
vboxsync
Message:

Shared Clipboard/Transfers: Added IMachine::clipboardFileTransfersEnabled attribute (getter/setter) for enabling/disabling the feature. Disabled by default.

File:
1 edited

Legend:

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

    r81087 r81286  
    311311
    312312        ClipboardMode_T     mClipboardMode;
     313        BOOL                mClipboardFileTransfersEnabled;
     314
    313315        DnDMode_T           mDnDMode;
    314316
     
    528530    virtual HRESULT i_onVMProcessPriorityChange(VMProcPriority_T /* aPriority */) { return S_OK; }
    529531    virtual HRESULT i_onClipboardModeChange(ClipboardMode_T /* aClipboardMode */) { return S_OK; }
     532    virtual HRESULT i_onClipboardFileTransferModeChange(BOOL /* aEnable */) { return S_OK; }
    530533    virtual HRESULT i_onDnDModeChange(DnDMode_T /* aDnDMode */) { return S_OK; }
    531534    virtual HRESULT i_onBandwidthGroupChange(IBandwidthGroup * /* aBandwidthGroup */) { return S_OK; }
     
    929932    HRESULT getClipboardMode(ClipboardMode_T *aClipboardMode);
    930933    HRESULT setClipboardMode(ClipboardMode_T aClipboardMode);
     934    HRESULT getClipboardFileTransfersEnabled(BOOL *aEnabled);
     935    HRESULT setClipboardFileTransfersEnabled(BOOL aEnabled);
    931936    HRESULT getDnDMode(DnDMode_T *aDnDMode);
    932937    HRESULT setDnDMode(DnDMode_T aDnDMode);
     
    13451350    HRESULT i_onSharedFolderChange();
    13461351    HRESULT i_onClipboardModeChange(ClipboardMode_T aClipboardMode);
     1352    HRESULT i_onClipboardFileTransferModeChange(BOOL aEnable);
    13471353    HRESULT i_onDnDModeChange(DnDMode_T aDnDMode);
    13481354    HRESULT i_onBandwidthGroupChange(IBandwidthGroup *aBandwidthGroup);
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