
// @(#) 1.5 com/src/odscript/idl/oddsevni.idl, odscript, od96nt, odnt9712d 10/31/96 12:44:25 [3/21/97 17:22:31]
//
//
//     File:           oddsevni.idl
//
//     Contains:       Class definition for Testing Direct Scripting
//                     Part Event Interface. This is a mix in class for
//                     both sinks and sources.
#ifndef _ODDSEVNI_
#define _ODDSEVNI_

#include <somobj.idl>

interface ODDSPartEventInterface : SOMObject
{

              // uuid(84446692-2470-101B-8ec8-04021c007002)
      void Click();
              // [id(-600)]
      void DblClick();
              // [id(-601)]
      void KeyDown(inout short KeyCode,in short Shift);
              // [id(-602)]
      void KeyPress(inout short KeyAscii);
              // [id(-603)]
      void KeyUp(inout short KeyCode, in short Shift);
              // [id(-604)]
      void MouseDown(in short Button,in short Shift,
                     in long X, in long Y);
              // [id(-605)]
      void MouseMove(in short Button, in short Shift,
                     in long X, in long Y);
              // [id(-606)]
      void MouseUp(in short Button, in short Shift,
                   in long X, in long Y);
              // [id(-607)]

#ifdef __SOMIDL__

  implementation
  {
     functionprefix = ODDSPartEventInterface;
     MajorVersion = 1;
     MinorVersion = 0;

     releaseorder:
                Click,
                DblClick,
                KeyDown,
                KeyPress,
                KeyUp,
                MouseDown,
                MouseMove,
                MouseUp;
  };
#endif
};
#endif // _TESTCONN_

