home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / som / include / clientev.idl < prev    next >
Text File  |  1999-02-22  |  2KB  |  69 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. //#  @(#) 2.7 src/somem/clientev.idl, somu, som2.1 9/1/94 17:45:15 [7/30/96 14:46:07]
  14.  
  15.  
  16. #ifndef clientev_idl
  17. #define clientev_idl
  18.  
  19. #include <event.idl>
  20.  
  21. interface SOMEClientEvent : SOMEEvent
  22.  
  23. // SOMEClientEvent is the class for generic client events within the Event Manager.
  24. // This class should be queried for events of the following type(s):
  25. //      EMClientEvent
  26. //
  27. // An instance of this class is initialized and passed to the
  28. // callback routine for all client events regardless of their clientevent type.
  29.  
  30. {
  31.   void* somevGetEventClientData();
  32.  
  33.   // Returns the client data of the generic client event
  34.  
  35.   string somevGetEventClientType();
  36.  
  37.   // Returns the client type of the generic client event
  38.  
  39.   void somevSetEventClientData(in void *clientData);
  40.  
  41.   // Sets the client type of the generic client event
  42.  
  43.   void somevSetEventClientType(in string clientType);
  44.  
  45.  
  46. #ifdef __SOMIDL__
  47.   implementation {
  48.  
  49.     releaseorder: somevGetEventClientData,somevGetEventClientType,somevSetEventClientData,
  50.                   somevSetEventClientType;
  51.  
  52.     //# Class Modifiers
  53.     majorversion = 2;
  54.     minorversion = 1;
  55.     filestem = clientev;
  56.     callstyle = idl;
  57.  
  58.  
  59.     //# Method Modifiers
  60.     somInit: override;
  61.  
  62.     //# Data Modifiers
  63.  
  64.   };
  65. #endif /* __SOMIDL__ */
  66. };
  67.  
  68. #endif  /* clientev_idl */
  69.