home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / som30tk.zip / som30os2.zip / include / idl.efw < prev    next >
Text File  |  1996-12-24  |  2KB  |  112 lines

  1. :copyrightS
  2. /* @(#) somc/idl.efw 2.7 9/1/94 19:27:56 [12/24/96 07:38:54] */
  3.  
  4. /*
  5.  *   COMPONENT_NAME: some
  6.  *
  7.  *   ORIGINS: 27
  8.  *
  9.  *
  10.  *   10H9767, 10H9769  (C) COPYRIGHT International Business Machines Corp. 1992,1994
  11.  *   All Rights Reserved
  12.  *   Licensed Materials - Property of IBM
  13.  *   US Government Users Restricted Rights - Use, duplication or
  14.  *   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  15.  */
  16.  
  17. :copyrightS
  18. :prologS
  19. #ifndef <classSourceFileStem>_idl
  20. #define <classSourceFileStem>_idl
  21.  
  22. :somclsIncludeS
  23. #include \<somcls.idl\>
  24. :baseIncludesS
  25. #include <baseInclude>
  26. :basePrologS
  27. :baseS
  28. :baseEpilogS
  29. :metaIncludeS
  30. #include <metaInclude>
  31. :forwardDeclarationsS
  32.  
  33. ?<forwardDeclarations>
  34. :interfacePrologS
  35. interface <className><baseNames>
  36. ?//# Comment for parent <baseName>:\n<-- parentComment>
  37. ?<-- classComment>\n
  38. {
  39. :newMethodsPrologS
  40. :newMethodsS
  41. ?  <-- groupComment>\n
  42.   <methodReturnType> <methodName>(<methodSOMPrototype, ...>);
  43. ?  <-- methodComment>\n
  44. :newMethodsEpilogS
  45.  
  46. :classPrologS
  47.  
  48. #ifdef __SOMIDL__
  49. :classS
  50.   implementation {
  51.  
  52. ?    releaseorder: <classReleaseOrder, ...>;\n
  53.     //# Class Modifiers
  54. ?    <-- releaseComment>\n
  55.     <classMods; ...>;
  56. ?    metaclass = <metaName>;
  57.     callstyle = oidl;
  58.  
  59. :passthruPrologS
  60. :passthruS
  61.     passthru <passthruLanguage>_<passthruTarget>_<passthruBeforeAfter> = <@23> <passthruBody>;
  62. ?    <-- passthruComment>
  63. :passthruEpilogS
  64.  
  65. :dataPrologS
  66.     //# Internal Instance Variables
  67. ?    <-- dataSectionComment>
  68. :dataS
  69.     <dataSourceText>;<@34><-- dataComment>
  70. :dataEpilogS
  71.  
  72. :attributePrologS
  73.   //# Public/Private instance variables are mapped onto attributes. 
  74. :attributeS
  75.   attribute <dataType> <dataName>;<@34><-- dataComment>
  76. :attributeEpilogS
  77.  
  78. :attributeMPrologS
  79.     //# Attribute Modifiers.
  80. :attributeMS
  81.     <dataName>: indirect;
  82. :attributeMEpilogS
  83.  
  84. :methodModifiersPrologS
  85.     //# Method Modifiers
  86. :methodModifiersS
  87. ?    <-- groupComment>\n
  88. ?    <methodName>: <methodMods, ...>;    
  89. ?    <-- overrideComment>
  90. :methodModifiersEpilogS
  91.  
  92. :dataModifiersPrologS
  93.     //# Data Modifiers
  94. :dataModifiersS
  95. ?    <dataName>: <dataMods, ...>;
  96. :dataModifiersEpilogS
  97.  
  98. :privatePrologS
  99. #ifdef __PRIVATE__
  100.  
  101. :privateEpilogS
  102. #endif
  103.  
  104. :classEpilogS
  105.   };
  106. #endif /* __SOMIDL__ */
  107. :interfaceEpilogS
  108. };
  109.  
  110. :epilogS
  111. #endif  /* <classSourceFileStem>_idl */
  112.