//
//   COMPONENT_NAME: somu
//
//   ORIGINS: 27
//
//
//   10H9767, 10H9769  (C) COPYRIGHT International Business Machines Corp. 1992,1994
//   All Rights Reserved
//   Licensed Materials - Property of IBM
//   US Government Users Restricted Rights - Use, duplication or
//   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
//
#ifndef sombacls_idl
#define sombacls_idl
#include <somcls.idl>
interface SOMMBeforeAfter
			  : SOMClass
{
  boolean sommBeforeMethod(in SOMObject object, 
			in somId methodId, 
			in va_list ap);
  // returns one of the following values:
  //      TRUE  --  continue Before/After processing
  //      FALSE --  skip to executing the corresponding After method
  //                (this includes skipping the requested method)
  void sommAfterMethod(in SOMObject object, 
			in somId methodId, 
			in somToken returnedvalue, 
			in va_list ap);
#ifdef __SOMIDL__
implementation 
{
  releaseorder: sommBeforeMethod,
		sommAfterMethod;
  majorversion = 2;
  minorversion = 1;
  filestem = sombacls;
  callstyle = idl;
  somDefaultInit: override, init;
  somInitMIClass: override;
};
#endif /* __SOMIDL__ */
};
#endif  /* sombacls_idl */
