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

  1. //
  2. //   COMPONENT_NAME: some
  3. //
  4. //   ORIGINS: 27
  5. //
  6. //
  7. //    25H7912  (C)  COPYRIGHT International Business Machines Corp. 1992,1994,1996 
  8. //   All Rights Reserved
  9. //   Licensed Materials - Property of IBM
  10. //   US Government Users Restricted Rights - Use, duplication or
  11. //   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  12. //
  13. //#  @(#) somc/scattrib.idl 2.8 5/9/96 15:30:55 [12/24/96 07:39:43]
  14.  
  15.  
  16. #ifndef scattrib_idl
  17. #define scattrib_idl
  18.  
  19. interface SOMTDataEntryC;
  20. interface SOMTMethodEntryC;
  21.  
  22. #include <scentry.idl>
  23. interface SOMTAttributeEntryC : SOMTEntryC
  24. {
  25. readonly attribute boolean somtIsReadonly;
  26. // Whether the attribute is readonly.
  27.  
  28. readonly attribute SOMTEntryC somtAttribType;
  29. // The type of the attribute.  This does not include pointer stars
  30. // or array declarators.  To get the "full" type, get each attribute
  31. // declarator and get the somtType attribute.
  32.  
  33. SOMTDataEntryC somtGetFirstAttributeDeclarator();
  34. // The first attribute declarator for this attribute declaration.
  35. SOMTDataEntryC somtGetNextAttributeDeclarator();
  36. // The next attribute declarator for this attribute declaration,
  37. // relative to the previous call to this method or 
  38. // somtGetFirstAttributeDeclarator.
  39.  
  40. SOMTMethodEntryC somtGetFirstGetMethod();
  41. // The first get method for this attribute declaration.
  42. SOMTMethodEntryC somtGetNextGetMethod();
  43. // The next get method for this attribute declaration,
  44. // relative to the previous call to this method or 
  45. // somtGetFirstGetMethod.
  46.  
  47. SOMTMethodEntryC somtGetFirstSetMethod();
  48. // The first set method for this attribute declaration.
  49. SOMTMethodEntryC somtGetNextSetMethod();
  50. // The next set method for this attribute declaration,
  51. // relative to the previous call to this method or 
  52. // somtGetFirstSetMethod.
  53.  
  54. #ifdef __SOMIDL__
  55.   implementation {
  56.     releaseorder: _get_somtIsReadonly, _get_somtAttribType, 
  57.                   somtGetFirstAttributeDeclarator, 
  58.           somtGetNextAttributeDeclarator, 
  59.                   somtGetFirstGetMethod, somtGetNextGetMethod, 
  60.                   somtGetFirstSetMethod, somtGetNextSetMethod;
  61.  
  62.  
  63.     //# Class Modifiers
  64.     filestem = scattrib;
  65. #ifdef _WIN32
  66.     dllname = "some.dll";
  67. #endif
  68.     callstyle = oidl;
  69.     majorversion = 2;
  70.     minorversion = 1;
  71.   
  72.     //# Method Modifiers
  73.     somtSetSymbolsOnEntry: override;
  74.     somDumpSelfInt: override;
  75.   
  76.     //# Attribute Modifiers
  77.     somtIsReadonly: nodata;
  78.     somtAttribType: nodata;
  79.  
  80.   };
  81. #endif /* __SOMIDL__ */
  82. };
  83.  
  84.  
  85. #endif  /* scattrib_idl */
  86.