home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv7.zip / VACPP / IBMCPP / smarts / DTS / DOG / DOG.CPP < prev    next >
Text File  |  1995-06-02  |  540b  |  21 lines

  1. %PROLOG%
  2.  
  3. #include <stdio.h>
  4. #include "dog.hh"
  5.  
  6. Dog::Dog(char *n) : Animal(n) {}
  7.  
  8. /*
  9.  * Supply an exported SOMInitModule entry point for any SOM DLL
  10.  * that may be dynamically loaded using the SOMObjectManager
  11.  * facilities.
  12.  * The entry point should call XXNewClass for all classes
  13.  * defined in the DLL.    Note that "XX" here is the *SOM* name of
  14.  * the class as set by the SOMClassName pragma.
  15.  */
  16.  
  17. void _System _Export SOMInitModule(long, long, char*)
  18. {
  19.    SOMDogNewClass(SOMDog_MajorVersion, SOMDog_MinorVersion);
  20. }
  21.