home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / smarts / dax / initfunc.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-21  |  803 b   |  26 lines

  1.  
  2. //=======================================================
  3. // initfunc.cpp -
  4. //=======================================================
  5.  
  6. #include "$SOURCE_FILE$i.xh"
  7.  
  8. #ifdef __IBMC__ 
  9.      #pragma linkage (SOMInitModule, system)
  10. #endif
  11.  
  12. SOMEXTERN void SOMLINK SOMInitModule(long majorVersion,
  13.                                      long minorVersion,
  14.                                      string className)
  15. {
  16.    SOM_IgnoreWarning(majorVersion);
  17.    SOM_IgnoreWarning(minorVersion);
  18.    SOM_IgnoreWarning(className); 
  19.  
  20.    $CLASS_NAME$NewClass( $CLASS_NAME$_MajorVersion, $CLASS_NAME$_MinorVersion );
  21.    $CLASS_NAME$FactoryNewClass( $CLASS_NAME$Factory_MajorVersion, $CLASS_NAME$Factory_MinorVersion );
  22.    
  23.    /* You may want to add the NewClass functions for other classes here */
  24.  
  25. }
  26.