Changeset 13959 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Nov 7, 2008 12:59:48 PM (16 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/include/COMDefs.h
r13956 r13959 291 291 292 292 template <typename QE, typename CE> 293 static void ToSafeArray (const QV ector <QE> &aVec,293 static void ToSafeArray (const QValueVector <QE> &aVec, 294 294 com::SafeIfaceArray <CE> &aArr) 295 295 { … … 301 301 template <typename CE, typename QE> 302 302 static void FromSafeArray (const com::SafeIfaceArray <CE> &aArr, 303 QV ector <QE> &aVec)303 QValueVector <QE> &aVec) 304 304 { 305 305 aVec.resize (static_cast <int> (aArr.size())); -
trunk/src/VBox/Frontends/VirtualBox/include/COMWrappers.xsl
r13580 r13959 1779 1779 )"/> 1780 1780 1781 <xsl:variable name="is_enum" select="( 1782 (ancestor::library/enum[@name=current()/@type]) or 1783 (ancestor::library/if[@target=$self_target]/enum[@name=current()/@type]) 1784 )"/> 1785 1781 1786 <xsl:choose> 1782 1787 <xsl:when test="$when='pre-call'"> … … 1793 1798 <xsl:value-of select="@type"/> 1794 1799 <xsl:text>> </xsl:text> 1800 </xsl:when> 1801 <!-- enums need the _T prefix --> 1802 <xsl:when test="$is_enum"> 1803 <xsl:text> com::SafeArray <</xsl:text> 1804 <xsl:value-of select="@type"/> 1805 <xsl:text>_T> </xsl:text> 1795 1806 </xsl:when> 1796 1807 <!-- GUID is special too -->
Note:
See TracChangeset
for help on using the changeset viewer.