]> OCCT Git - occt-wok.git/commitdiff
OCC13051 for Gallery part
authorcascade <cascade@opencascade.com>
Wed, 20 Sep 2006 14:51:15 +0000 (14:51 +0000)
committercascade <cascade@opencascade.com>
Wed, 20 Sep 2006 14:51:15 +0000 (14:51 +0000)
src/CPPIntExt/Interface_Template.edl

index 8583db2fcebb7043ca741752743b0947faa78e7d..cd57ce5a1c7aaf418e450275b896fecaf9f03b2d 100755 (executable)
@@ -38,7 +38,8 @@ $#include <Standard_ShortReal.hxx>
 $#include <Standard_ErrorHandler.hxx>               
 $#include <Standard_NullObject.hxx>                 
 $                                                   
-$#include <Engine.hxx>                              
+$#include <Engine.hxx>
+$#include <Engine_TypeTool.hxx>                              
 $#include <Engine_Handle.hxx>                    
 $#include <Engine_Signature.hxx>                    
 $#include <Engine_Argument.hxx>                     
@@ -345,7 +346,7 @@ $Handle_Standard_Type&  %CLName_Type_(){
 $
 $static Handle_Standard_Type _aType;
 $if (_aType.IsNull()) {
-$   _aType = Standard_Type::Find("%CLName");
+$   _aType = Engine_TypeTool::Find("%CLName");
 $   if (_aType.IsNull()) {
 $%InhDeclar 
 $static Handle_Standard_Transient _Ancestors[]= {
@@ -394,7 +395,7 @@ $Handle_Standard_Type& %CLName_Type_();
 @end;
 
 @template InterfInitTypeCall(%CLName) is
-$   %CLName_Type_();
+$   Engine_TypeTool::Register(%CLName_Type_());
 @end;