VirtualBox

Ignore:
Timestamp:
Jun 2, 2014 5:16:45 PM (11 years ago)
Author:
vboxsync
Message:

DnD: SDK documentation: API changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/manual/en_US/SDKRef.xml

    r50267 r51495  
    17621762          can be built using the provided <computeroutput>Makefile</computeroutput>
    17631763          and can be run without arguments.</para>
    1764          
     1764
    17651765          <para>It uses the VBoxCAPIGlue library (source code is in directory
    17661766          <computeroutput>sdk/bindings/c/glue</computeroutput>, to be used in
     
    18201820    return EXIT_FAILURE;
    18211821}
    1822    
     1822
    18231823g_pVBoxFuncs-&gt;pfnClientInitialize(NULL, &amp;vboxclient);
    18241824if (!vboxclient)
     
    18761876          <computeroutput>set_</computeroutput> method exists. Let's apply
    18771877          these rules to get the <computeroutput>IVirtualBox</computeroutput>
    1878           reference, an <computeroutput>ISession</computeroutput> instance 
     1878          reference, an <computeroutput>ISession</computeroutput> instance
    18791879          reference and read the <xref linkend="IVirtualBox__revision"
    18801880          xreflabel="IVirtualBox::revision" /> attribute:<screen>rc = IVirtualBoxClient_get_VirtualBox(vboxclient, &amp;vbox);
     
    37613761
    37623762    <sect1>
     3763      <title>Incompatible API changes with version 4.4</title>
     3764
     3765      <itemizedlist>
     3766        <listitem><para>Drag'n drop APIs were changed as follows:<itemizedlist>
     3767
     3768          <listitem>
     3769            <para>Methods for providing host to guest drag'n drop functionality,
     3770              such as <computeroutput>IGuest::dragHGEnter</computeroutput>,
     3771              <computeroutput>IGuest::dragHGMove()</computeroutput>,
     3772              <computeroutput>IGuest::dragHGLeave()</computeroutput>,
     3773              <computeroutput>IGuest::dragHGDrop()</computeroutput> and
     3774              <computeroutput>IGuest::dragHGPutData()</computeroutput>,
     3775              have been moved to an abstract base class called
     3776              <xref linkend="IDnDTarget" xreflabel="IDnDTarget" />. VirtualBox implements
     3777              this base class in the <xref linkend="IGuestDnDTarget" xreflabel="IGuestDnDTarget" />
     3778              interface. The implementation can be used by using the
     3779              <xref linkend="IGuest__dnDTarget" xreflabel="IGuest::dnDTarget()" /> method.</para>
     3780            <para>Methods for providing guest to host drag'n drop functionality,
     3781              such as <computeroutput>IGuest::dragGHPending()</computeroutput>,
     3782              <computeroutput>IGuest::dragGHDropped()</computeroutput> and
     3783              <computeroutput>IGuest::dragGHGetData()</computeroutput>,
     3784              have been moved to an abstract base class called
     3785              <xref linkend="IDnDSource" xreflabel="IDnDSource" />. VirtualBox implements
     3786              this base class in the <xref linkend="IGuestDnDSource" xreflabel="IGuestDnDSource" />
     3787              interface. The implementation can be used by using the
     3788              <xref linkend="IGuest__dnDSource" xreflabel="IGuest::dnDSource()" /> method.</para>
     3789          </listitem>
     3790
     3791          <listitem>
     3792            <para>The <computeroutput>DragAndDropAction</computeroutput> enumeration has been
     3793              renamed to <xref linkend="DnDAction" xreflabel="DnDAction" />.</para>
     3794          </listitem>
     3795
     3796          <listitem>
     3797            <para>The <computeroutput>DragAndDropMode</computeroutput> enumeration has been
     3798              renamed to <xref linkend="DnDMode" xreflabel="DnDMode" />.</para>
     3799          </listitem>
     3800
     3801          <listitem>
     3802            <para>The attribute <computeroutput>IMachine::dragAndDropMode</computeroutput>
     3803              has been renamed to <xref linkend="IMachine__dnDMode" xreflabel="IMachine::dnDMode()" />.</para>
     3804          </listitem>
     3805
     3806          <listitem>
     3807            <para>The event <computeroutput>IDragAndDropModeChangedEvent</computeroutput>
     3808              has been renamed to <xref linkend="IDnDModeChangedEvent" xreflabel="IDnDModeChangedEvent" />.</para>
     3809          </listitem>
     3810
     3811          <listitem>
     3812            <para>The callback method <computeroutput>IInternalSessionControl::onDragAndDropModeChange</computeroutput>
     3813              has been renamed to <xref linkend="IInternalSessionControl__onDnDModeChange" xreflabel="IInternalSessionControl::onDnDModeChange()" />.</para>
     3814          </listitem>
     3815
     3816          </itemizedlist></para>
     3817        </listitem>
     3818      </itemizedlist>
     3819    </sect1>
     3820
     3821    <sect1>
    37633822      <title>Incompatible API changes with version 4.3</title>
    37643823
    37653824      <itemizedlist>
    37663825        <listitem>
    3767           <para>The explicit medium locking methods 
     3826          <para>The explicit medium locking methods
    37683827            <xref linkend="IMedium__lockRead" xreflabel="IMedium::lockRead()" />
    37693828            and <xref linkend="IMedium__lockWrite" xreflabel="IMedium::lockWrite()" />
     
    39163975          the guest. At the moment only the states "Idle" and "InUse" of the
    39173976          <xref linkend="GuestUserState"
    3918           xreflabel="GuestUserState" /> enum are supported on
     3977          xreflabel="GuestUserState" /> enumeration are supported on
    39193978          Windows guests, starting at Windows 2000 SP2.</para>
    39203979        </listitem>
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