home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / som / include / sombacls.idl < prev    next >
Text File  |  1999-02-22  |  1KB  |  62 lines

  1. //
  2. //   COMPONENT_NAME: somu
  3. //
  4. //   ORIGINS: 27
  5. //
  6. //
  7. //   10H9767, 10H9769  (C) COPYRIGHT International Business Machines Corp. 1992,1994
  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. //#  @(#) somu/sombacls.idl 2.14 9/1/94 17:48:10 [7/30/96 14:49:53]
  14.  
  15.  
  16. #ifndef sombacls_idl
  17. #define sombacls_idl
  18.  
  19. #include <somcls.idl>
  20.  
  21. interface SOMMBeforeAfter
  22.               : SOMClass
  23. {
  24.   boolean sommBeforeMethod(in SOMObject object, 
  25.             in somId methodId, 
  26.             in va_list ap);
  27.   // returns one of the following values:
  28.   //      TRUE  --  continue Before/After processing
  29.   //      FALSE --  skip to executing the corresponding After method
  30.   //                (this includes skipping the requested method)
  31.  
  32.   void sommAfterMethod(in SOMObject object, 
  33.             in somId methodId, 
  34.             in somToken returnedvalue, 
  35.             in va_list ap);
  36.  
  37.  
  38. #ifdef __SOMIDL__
  39.  
  40. implementation 
  41. {
  42.   releaseorder: sommBeforeMethod,
  43.         sommAfterMethod;
  44.  
  45.   //# Class Modifiers
  46.   majorversion = 2;
  47.   minorversion = 1;
  48.   filestem = sombacls;
  49.   callstyle = idl;
  50.  
  51.  
  52.   //# Method Modifiers
  53.   somDefaultInit: override, init;
  54.   somInitMIClass: override;
  55.  
  56. };
  57. #endif /* __SOMIDL__ */
  58.  
  59. };
  60.  
  61. #endif  /* sombacls_idl */
  62.