#ifdef __PRIVATE__
//#
//#	File:		DispMod.idl
//#
//#	Contains:	Class definition for ODDispatchModule
//#
//#	Written by:	Richard Rodseth
//#
//#	Copyright:	c 1994 by Apple Computer, Inc., all rights reserved.
//#
//#	Change History (most recent first):
//#
//#		 <3>	 9/13/94	RR		#1183564 ODEventData should be inout
//#		 <2>	 6/16/94	RR		Added function prefix
//#		 <1>	  6/8/94	RR		first checked in
//#		 <5>	  6/7/94	RR		Privatise change log
//#		 <1>	  5/9/94	VL		first checked in
//#
//#	To Do:
//#
#else
//#	Copyright:	c 1993-1994 by Apple Computer, Inc., all rights reserved.
#endif

#ifndef _DISPMOD_
#define _DISPMOD_

#ifndef _ODOBJECT_
#include "ODObject.idl"      // base class
#endif

//=====================================================================================
// Classes defined in this interface
//=====================================================================================

interface  ODDispatchModule;

//=====================================================================================
// Classes used by this interface
//=====================================================================================

interface  ODSession;

//=====================================================================================
// ODDispatchModule
//=====================================================================================

interface ODDispatchModule : ODObject
{
	void InitDispatchModule(in ODSession session);

   ODBoolean Dispatch(inout ODEventData event);

#ifdef __SOMIDL__
  implementation
  {
  functionprefix = ODDispatchModule;
  override:
    somInit,
    somUninit,
	Purge;
	
    releaseorder:
        InitDispatchModule,
        Dispatch;
		
    #ifdef __PRIVATE__
      ODSession fSession;
      ODBoolean fInitialized;
    #endif

  };
#endif
};

#endif //# _DISPMOD_

