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

  1. //
  2. //   COMPONENT_NAME: somm
  3. //
  4. //   ORIGINS: 27
  5. //
  6. //
  7. //    25H7912  (C)  COPYRIGHT International Business Machines Corp. 1992,1996,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. //#  @(#) /45 1.16 6/13/96 16:08:34 [12/24/96 07:41:14]
  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 After method that is after
  30.   //                the corresponding After method
  31.   //                (this includes skipping the requested method)
  32.  
  33.   void sommAfterMethod(in SOMObject object, 
  34.             in somId methodId, 
  35.             in somToken returnedvalue, 
  36.             in va_list ap);
  37.  
  38.  
  39.      #ifdef __SOMIDL__
  40.      implementation 
  41.      {
  42.        releaseorder: sommBeforeMethod,
  43.              sommAfterMethod;
  44.  
  45.        //# Class Modifiers
  46.        majorversion = 2;
  47.        minorversion = 2;
  48.        filestem = sombacls;
  49.        callstyle = idl;
  50.        dllname = "somu.dll";
  51.  
  52.  
  53.      };
  54.      #endif /* __SOMIDL__ */
  55. };
  56.  
  57. interface SOMMSaferBeforeAfter : SOMMBeforeAfter {
  58.     #ifdef __SOMIDL__
  59.     implementation 
  60.     {
  61.        //# Class Modifiers
  62.        filestem = sombacls;
  63.       functionprefix = SOMMBA2;
  64.        dllname = "somu.dll";
  65.     };
  66.     #endif /* __SOMIDL__ */
  67. };
  68.  
  69. #endif  /* sombacls_idl */
  70.