home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / pm6tool.zip / basenc2.ti < prev    next >
Text File  |  1996-08-02  |  2KB  |  83 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.     attribute string text;
  29.  
  30.     #ifdef __SOMIDL__
  31.     implementation
  32.      {
  33.         metaclass      = M_$partname$;
  34.         majorversion   = 1;
  35.         minorversion   = 0;
  36.         dllname        = "$filename$.dll";
  37.  
  38.         releaseorder:
  39.             _set_text,
  40.             _get_text;
  41.  
  42.         override:
  43.             somDefaultInit,
  44.             somDestruct,
  45.             PartKind,
  46.             InitPart,
  47.             InitPartFromStorage,
  48.             InitializePart,
  49.             InternalizeContent,
  50.             ExternalizeContent,
  51.             DrawFrameView,
  52.             MenuCopyValid,
  53.             MenuPasteValid,
  54.             PopulateClipboardStorageUnit,
  55.             ReceiveClipboardStorageUnit,
  56.             DragValid,
  57.             DropValid,
  58.             PopulateDragStorageUnit,
  59.             ReceiveDropStorageUnit;
  60.  
  61.         // method modifiers
  62.         somDefaultInit: init;
  63.      };
  64.     #endif
  65.  };
  66.  
  67.  
  68. interface M_$partname$ : M_$parentname$
  69.  {
  70.     #ifdef __SOMIDL__
  71.     implementation
  72.      {
  73.         override:
  74.             clsGetODPartHandlerName,
  75.             clsGetODPartHandlerDisplayName,
  76.             clsGetODPartKinds,
  77.             clsGetOLE2ClassId,
  78.             clsGetWindowsIconFileName;
  79.      };
  80.     #endif
  81.  };
  82. #endif
  83.