home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / samples / rexx / som / animal / dog.idl < prev    next >
Text File  |  1999-05-11  |  809b  |  34 lines

  1. #include "animal.idl"
  2.  
  3.     interface Dog : Animal
  4.     {
  5.       attribute string breed;
  6.       // The breed of this Dog.
  7.  
  8.       attribute string color;
  9.       // The color of this Dog.
  10.  
  11. #ifdef __SOMIDL__
  12.       implementation {
  13.          releaseorder: _get_breed, _set_breed, _get_color, _set_color;
  14.     
  15.          //# Class Modifiers
  16.          functionprefix = dog_;
  17.          callstyle      = oidl;
  18.          dllname        = "animals.dll";
  19.  
  20.          //# Attribute Modifiers
  21.          breed: noset;
  22.          color: noset;
  23.              
  24.          //# Method Modifiers
  25.          _get_genus: override;
  26.          _get_species: override;
  27.          display: override;
  28.          somInit: override;
  29.          somUninit: override;
  30.          somDumpSelfInt: override;
  31.       };
  32. #endif /* __SOMIDL__ */
  33.     };
  34.