home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / sombacls.idl < prev    next >
Encoding:
Text File  |  1996-02-21  |  1.2 KB  |  57 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.  
  14. #ifndef sombacls_idl
  15. #define sombacls_idl
  16.  
  17. #include <somcls.idl>
  18.  
  19. interface SOMMBeforeAfter
  20.               : SOMClass
  21. {
  22.   boolean sommBeforeMethod(in SOMObject object, 
  23.             in somId methodId, 
  24.             in va_list ap);
  25.   // returns one of the following values:
  26.   //      TRUE  --  continue Before/After processing
  27.   //      FALSE --  skip to executing the corresponding After method
  28.   //                (this includes skipping the requested method)
  29.  
  30.   void sommAfterMethod(in SOMObject object, 
  31.             in somId methodId, 
  32.             in somToken returnedvalue, 
  33.             in va_list ap);
  34.  
  35. #ifdef __SOMIDL__
  36.  
  37. implementation 
  38. {
  39.   releaseorder: sommBeforeMethod,
  40.         sommAfterMethod;
  41.  
  42.   majorversion = 2;
  43.   minorversion = 1;
  44.   filestem = sombacls;
  45.   callstyle = idl;
  46.  
  47.  
  48.   somDefaultInit: override, init;
  49.   somInitMIClass: override;
  50.  
  51. };
  52. #endif /* __SOMIDL__ */
  53.  
  54. };
  55.  
  56. #endif  /* sombacls_idl */
  57.