Changeset 76091 in vbox for trunk/src/VBox/Main/idl
- Timestamp:
- Dec 9, 2018 11:02:49 PM (6 years ago)
- Location:
- trunk/src/VBox/Main/idl
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/idl/VirtualBox.dtd
r76085 r76091 75 75 <!ATTLIST interface wrap-hint-server-addinterfaces CDATA #IMPLIED> 76 76 <!ATTLIST interface wrap-hint-server CDATA #IMPLIED> 77 <!ATTLIST interface wrap-gen-hook (yes|no) "no"> 77 78 <!-- DTrace has a probe name length limit, so dtracename helps dealing with excessivly long names. --> 78 79 <!ATTLIST interface dtracename CDATA #IMPLIED> -
trunk/src/VBox/Main/idl/VirtualBox.xidl
r76085 r76091 2010 2010 wsmap="managed" 2011 2011 reservedMethods="8" reservedAttributes="12" 2012 wrap-gen-hook="yes" 2012 2013 > 2013 2014 <desc> -
trunk/src/VBox/Main/idl/apiwrap-server.xsl
r76085 r76091 179 179 <xsl:template match="interface" mode="classfooter"> 180 180 <xsl:param name="addinterfaces"/> 181 <xsl:if test="@wrap-gen-hook = 'yes'"> 182 <xsl:text> 183 public: 184 virtual void i_callHook(const char *a_pszFunction) { RT_NOREF_PV(a_pszFunction); } 185 </xsl:text> 186 </xsl:if> 181 187 <xsl:text> 182 188 private: … … 1220 1226 </xsl:apply-templates> 1221 1227 <xsl:text>)); 1222 1228 </xsl:text> 1229 <xsl:if test="ancestor::interface[@wrap-gen-hook = 'yes']"> 1230 <xsl:text> 1231 i_callHook(__FUNCTION__);</xsl:text> 1232 </xsl:if> 1233 <xsl:text> 1223 1234 VirtualBoxBase::clearError(); 1224 1235 … … 1362 1373 </xsl:apply-templates> 1363 1374 <xsl:text>)); 1364 1375 </xsl:text> 1376 <xsl:if test="ancestor::interface[@wrap-gen-hook = 'yes']"> 1377 <xsl:text> 1378 i_callHook(__FUNCTION__);</xsl:text> 1379 </xsl:if> 1380 <xsl:text> 1365 1381 VirtualBoxBase::clearError(); 1366 1382 … … 1800 1816 </xsl:for-each> 1801 1817 <xsl:text>)); 1802 1818 </xsl:text> 1819 <xsl:if test="ancestor::interface[@wrap-gen-hook = 'yes']"> 1820 <xsl:text> 1821 i_callHook(__FUNCTION__);</xsl:text> 1822 </xsl:if> 1823 <xsl:text> 1803 1824 VirtualBoxBase::clearError(); 1804 1825
Note:
See TracChangeset
for help on using the changeset viewer.