VirtualBox

Changeset 100606 in vbox for trunk/src/VBox/Main/idl


Ignore:
Timestamp:
Jul 17, 2023 4:32:44 PM (22 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
158436
Message:

Shared Clipboard/Main + FE/Qt: Added clipboard error propagation from the host service via a newly added ClipboardErrorEvent. For that we now have a generic (private) Shared Clipboard handling class within Main, which does the HGCM service callback dispatching. The VRDP console object, which was in charge for this before, now is daisy-chained to this new class as a service extension. FE/QT in turn then shows the error(s) via the notification center. bugref:9437

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r100038 r100606  
    2639626396  <enum
    2639726397    name="VBoxEventType"
    26398     uuid="03b0e6ea-28fe-4f0a-a3ec-1a21703da6f7"
     26398    uuid="f698ab32-91e4-4379-b99c-174cebecfa5e"
    2639926399    >
    2640026400
     
    2691226912      </desc>
    2691326913    </const>
     26914    <const name="OnClipboardError" value="122">
     26915      <desc>
     26916        See <link to="IClipboardErrorEvent">IClipboardErrorEvent</link>.
     26917      </desc>
     26918    </const>
    2691426919    <!-- End event marker -->
    26915     <const name="End" value="122">
     26920    <const name="End" value="123">
    2691626921      <desc>
    2691726922        Must be last event, used for iterations and structures relying on numerical event values.
     
    2776327768      </desc>
    2776427769    </attribute>
     27770  </interface>
     27771
     27772  <interface
     27773    name="IClipboardEvent" extends="IEvent"
     27774    uuid="f22dd3b4-e4d0-437a-bfdf-0372896ba162"
     27775    wsmap="managed">
     27776    <desc>
     27777      Abstract base interface for clipboard events.
     27778    </desc>
     27779    <attribute name="id" type="wstring" readonly="yes">
     27780      <desc>Name of the clipboard this event belongs to.
     27781
     27782      For Windows or macOS hosts / guests, this string is empty.
     27783      For X11-based hosts / guests, this can hold either "PRIMARY" or "SECONDARY".
     27784      </desc>
     27785    </attribute>
     27786  </interface>
     27787
     27788  <interface
     27789    name="IClipboardErrorEvent" extends="IClipboardEvent"
     27790    uuid="9e5f6f25-beda-46ad-8ddb-23c0268ac345"
     27791    wsmap="managed" autogen="VBoxEvent" id="OnClipboardError"
     27792    >
     27793    <desc>
     27794      Notification when a clipboard error occurred.
     27795    </desc>
     27796
     27797    <attribute name="msg" type="wstring" readonly="yes">
     27798      <desc>
     27799        Error message in human readable format.
     27800      </desc>
     27801    </attribute>
     27802
     27803    <attribute name="rcError" type="long" readonly="yes">
     27804      <desc>
     27805        IPRT-style error code.
     27806      </desc>
     27807    </attribute>
     27808
    2776527809  </interface>
    2776627810
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