home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / pm6tool.zip / CNTNR.TI < prev    next >
Text File  |  1996-08-02  |  1KB  |  74 lines

  1. #ifdef __PRIVATE__
  2. //#
  3. //#    File:          $filename:toupper$.IDL
  4. //#
  5. //#    Description:   IDL for $partname$
  6. //#
  7. //#    Written by:    $author$
  8. //#
  9. //#    Generated by:  $toolname$ $toolversion$
  10. //#
  11. #endif
  12. //#    Copyright:     (c) $years$ by $company$
  13. //#                   - all rights reserved
  14.  
  15. #ifndef _$filename:toupper$_
  16. #define _$filename:toupper$_
  17.  
  18. #ifndef _$parentfilename:toupper$_
  19. #include <$parentfilename:tolower$.idl>
  20. #endif
  21.  
  22. // metaclass
  23. interface M_$partname$;
  24.  
  25.  
  26. interface $partname$ : $parentname$
  27.  {
  28.     struct componentdata
  29.      {
  30.         unsigned long ulVar1;
  31.         unsigned long ulVar2;
  32.      };
  33.  
  34.     #ifdef __SOMIDL__
  35.     implementation
  36.      {
  37.         metaclass    = M_$partname$;
  38.         majorversion = 1;
  39.         minorversion = 0;
  40.  
  41.         dllname = "$filename$.dll";
  42.  
  43.         override:
  44.             somInit,
  45.             somUninit,
  46.             InitPart,
  47.             InitPartFromStorage,
  48.             Draw,
  49.             Externalize,
  50.             CloneInto;
  51.  
  52.         // private data members
  53.         componentdata cdata;
  54.      };
  55.     #endif
  56.  };
  57.  
  58.  
  59. interface M_$partname$ : M_$parentname$
  60.  {
  61.     #ifdef __SOMIDL__
  62.     implementation
  63.      {
  64.         override:
  65.             clsGetODPartHandlerName,
  66.             clsGetODPartHandlerDisplayName,
  67.             clsGetODPartKinds,
  68.             clsGetOLE2ClassId,
  69.             clsGetWindowsIconFileName;
  70.      };
  71.     #endif
  72.  };
  73. #endif
  74.