From: abv Date: Thu, 10 Apr 2014 04:52:48 +0000 (+0400) Subject: Template corrected for #24023 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=c6373f8d1a9ac2a036ce9a4da8e9d5b4fd37d739;p=occt-wok.git Template corrected for #24023 --- diff --git a/src/CPPExt/CPPExt_Template.edl b/src/CPPExt/CPPExt_Template.edl index fc3a3a2..1866dde 100755 --- a/src/CPPExt/CPPExt_Template.edl +++ b/src/CPPExt/CPPExt_Template.edl @@ -9,26 +9,7 @@ -- ==================================== @template HandleTransient (%HTName,%HTInherits) is -$// This file is generated by WOK (CPPExt). -$// Please do not edit this file; modify original file instead. -$// The copyright and license terms as defined for the original file apply to -$// this header file considered to be the "object code" form of the original source. -$ -$#ifndef _Handle_%HTName_HeaderFile -$#define _Handle_%HTName_HeaderFile -$ -$#include -$#include -$#include -$ -$class Standard_Transient; -$class Handle(Standard_Type); -$class Handle(%HTInherits); -$class %HTName; -$ -$DEFINE_STANDARD_HANDLE(%HTName, %HTInherits) -$ -$#endif // _Handle_%HTName_HeaderFile +$// useless stuff @end; -- =============================== @@ -59,7 +40,7 @@ $#ifndef _%Class_HeaderFile $#define _%Class_HeaderFile $ $#include -$#include +$#include $ $%TICIncludes $ @@ -119,7 +100,7 @@ $#ifndef _%Class_HeaderFile $#define _%Class_HeaderFile $ $#include -$#include +$#include $ $%TICIncludes $ @@ -156,9 +137,20 @@ $#endif // _%Class_HeaderFile @end; @template TransientIxx (%Class,%Suffix,%Supplement,%TypeMgt,%Methods) is -$// Useless stuff +$// This file is generated by WOK (CPPExt). +$// Please do not edit this file; modify original file instead. +$// The copyright and license terms as defined for the original file apply to +$// this header file considered to be the "object code" form of the original source. +$ +$#include <%Class.%Suffix> $ $#include +$ +$%Supplement +$ +$%TypeMgt +$ +$%Methods @end; -- ================================ @@ -399,7 +391,6 @@ $#ifndef _%Class_HeaderFile $#define _%Class_HeaderFile $ $#include -$#include $#include $#include $#include <%Inherits.hxx>