VirtualBox

Ignore:
Timestamp:
Oct 15, 2019 4:37:37 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
133981
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/idl/VirtualBox.xidl

    r81190 r81286  
    58535853  <interface
    58545854    name="IMachine" extends="$unknown"
    5855     uuid="13a7c7cb-02fd-4962-a578-5660a5035776"
     5855    uuid="0020076B-00D0-494E-0023-C293000086A7"
    58565856    wsmap="managed"
    58575857    wrap-hint-server-addinterfaces="IInternalMachineControl"
     
    64046404        Synchronization mode between the host OS clipboard
    64056405        and the guest OS clipboard.
     6406      </desc>
     6407    </attribute>
     6408
     6409    <attribute name="clipboardFileTransfersEnabled" type="boolean">
     6410      <desc>
     6411        Sets or retrieves whether clipboard file transfers are allowed or not.
     6412
     6413        When set to @a true, clipboard file transfers between supported
     6414        host and guest OSes are allowed.
    64066415      </desc>
    64076416    </attribute>
     
    2177521784      <param name="clipboardMode" type="ClipboardMode" dir="in">
    2177621785        <desc>The new shared clipboard mode.</desc>
     21786      </param>
     21787    </method>
     21788
     21789    <method name="onClipboardFileTransferModeChange">
     21790      <desc>
     21791        Notification when the shared clipboard file transfers mode changes.
     21792      </desc>
     21793      <param name="enabled" type="boolean" dir="in">
     21794        <desc>Flag whether clipboard file transfers are allowed or not.</desc>
    2177721795      </param>
    2177821796    </method>
     
    2408224100      </desc>
    2408324101    </const>
     24102    <const name="OnClipboardFileTransferModeChanged" value="104">
     24103      <desc>
     24104        See <link to="IClipboardFileTransferModeChangedEvent">IClipboardFileTransferModeChangedEvent</link>.
     24105      </desc>
     24106    </const>
    2408424107    <!-- End event marker -->
    2408524108    <!-- @todo rename to 'End' as it is exclusive (we use 'last' to be inclusive). -->
    24086     <const name="Last" value="104">
     24109    <const name="Last" value="105">
    2408724110      <desc>
    2408824111        Must be last event, used for iterations and structures relying on numerical event values.
     
    2490324926      <desc>
    2490424927        The new clipboard mode.
     24928      </desc>
     24929    </attribute>
     24930  </interface>
     24931
     24932  <interface
     24933    name="IClipboardFileTransferModeChangedEvent" extends="IEvent"
     24934    uuid="00391758-00B1-4E9D-0000-11FA00F9D583"
     24935    wsmap="managed" autogen="VBoxEvent" id="OnClipboardFileTransferModeChanged"
     24936    >
     24937    <desc>
     24938      Notification when the shared clipboard file transfer mode changes.
     24939    </desc>
     24940    <attribute name="enabled" type="boolean" readonly="yes">
     24941      <desc>
     24942        Whether file transfers are allowed or not.
    2490524943      </desc>
    2490624944    </attribute>
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette