Changeset 47848 in vbox for trunk/src/VBox/Main/idl
- Timestamp:
- Aug 19, 2013 4:34:02 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 88142
- Location:
- trunk/src/VBox/Main/idl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/idl/VirtualBox.xidl
r47837 r47848 19465 19465 <enum 19466 19466 name="VBoxEventType" 19467 uuid=" 84af836d-0afc-4598-b9f4-37bf34d13cbd"19467 uuid="e40cbdc9-ef63-4407-9b7b-2d1201a39bd1" 19468 19468 > 19469 19469 … … 19834 19834 </desc> 19835 19835 </const> 19836 <const name="OnGuestMultiTouch" value="93"> 19837 <desc> 19838 See <link to="IGuestMouseEvent">IGuestMouseEvent</link>. 19839 </desc> 19840 </const> 19836 19841 <!-- Last event marker --> 19837 <const name="Last" value="9 3">19842 <const name="Last" value="94"> 19838 19843 <desc> 19839 19844 Must be last event, used for iterations and structures relying on numerical event values. … … 20736 20741 </attribute> 20737 20742 20743 </interface> 20744 20745 <interface 20746 name="IGuestMultiTouchEvent" extends="IEvent" 20747 uuid="be8a0eb5-f4f4-4dd0-9d30-c89b873247ec" 20748 wsmap="managed" autogen="VBoxEvent" id="OnGuestMultiTouch" 20749 > 20750 <desc> 20751 Notification when guest touch screen event happens. 20752 </desc> 20753 <attribute name="contactCount" type="long" readonly="yes"> 20754 <desc> 20755 Number of contacts in the event. 20756 </desc> 20757 </attribute> 20758 <attribute name="xPositions" type="short" safearray="yes" readonly="yes"> 20759 <desc> 20760 X positions. 20761 </desc> 20762 </attribute> 20763 <attribute name="yPositions" type="short" safearray="yes" readonly="yes"> 20764 <desc> 20765 Y positions. 20766 </desc> 20767 </attribute> 20768 <attribute name="contactIds" type="unsigned short" safearray="yes" readonly="yes"> 20769 <desc> 20770 Contact identifiers. 20771 </desc> 20772 </attribute> 20773 <attribute name="contactFlags" type="unsigned short" safearray="yes" readonly="yes"> 20774 <desc> 20775 Contact state. 20776 Bit 0: in contact. 20777 Bit 1: in range. 20778 </desc> 20779 </attribute> 20780 <attribute name="scanTime" type="unsigned long" readonly="yes"> 20781 <desc> 20782 Timestamp of the event in milliseconds. Only relative time between events is important. 20783 </desc> 20784 </attribute> 20738 20785 </interface> 20739 20786 -
trunk/src/VBox/Main/idl/comimpl.xsl
r45483 r47848 150 150 <xsl:value-of select="'BYTE'" /> 151 151 </xsl:when> 152 <xsl:when test="$type='unsigned short'"> 153 <xsl:value-of select="'USHORT'" /> 154 </xsl:when> 155 <xsl:when test="$type='short'"> 156 <xsl:value-of select="'SHORT'" /> 157 </xsl:when> 152 158 <xsl:when test="$type='unsigned long'"> 153 159 <xsl:value-of select="'ULONG'" /> … … 294 300 </xsl:variable> 295 301 <xsl:value-of select=" '#ifdef RT_OS_WINDOWS '"/> 296 <xsl:value-of select=" ' SAFEARRAY * aPtr = va_arg(args, SAFEARRAY *); '"/>297 <xsl:value-of select="concat(' com::SafeArray<', $elemtype,'> aArr (aPtr); ')"/>302 <xsl:value-of select="concat(' SAFEARRAY *aPtr_', @name, ' = va_arg(args, SAFEARRAY *); ')"/> 303 <xsl:value-of select="concat(' com::SafeArray<', $elemtype,'> aArr_', @name, '(aPtr_', @name, '); ')"/> 298 304 <xsl:value-of select=" '#else '"/> 299 <xsl:value-of select=" ' PRUint32 aArrSize = va_arg(args, PRUint32); '"/>300 <xsl:value-of select=" ' void* aPtr = va_arg(args, void*); '"/>301 <xsl:value-of select="concat(' com::SafeArray<', $elemtype,'> aArr (aArrSize, (', $elemtype,'*)aPtr); ')"/>305 <xsl:value-of select="concat(' PRUint32 aArrSize_', @name, ' = va_arg(args, PRUint32); ')"/> 306 <xsl:value-of select="concat(' void* aPtr_', @name, ' = va_arg(args, void*); ')"/> 307 <xsl:value-of select="concat(' com::SafeArray<', $elemtype,'> aArr_', @name, '(aArrSize_', @name, ', (', $elemtype,'*)aPtr_', @name, '); ')"/> 302 308 <xsl:value-of select=" '#endif '"/> 303 <xsl:value-of select="concat(' ',$obj, '->set_', @name, '(ComSafeArrayAsInParam(aArr )); ')"/>309 <xsl:value-of select="concat(' ',$obj, '->set_', @name, '(ComSafeArrayAsInParam(aArr_', @name, ')); ')"/> 304 310 </xsl:when> 305 311 <xsl:otherwise>
Note:
See TracChangeset
for help on using the changeset viewer.