home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / clientev.idl < prev    next >
Encoding:
Text File  |  1996-02-21  |  1.5 KB  |  62 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.  
  14. #ifndef clientev_idl
  15. #define clientev_idl
  16.  
  17. #include <event.idl>
  18.  
  19. interface SOMEClientEvent : SOMEEvent
  20.  
  21. // SOMEClientEvent is the class for generic client events within the Event Manager.
  22. // This class should be queried for events of the following type(s):
  23. //      EMClientEvent
  24. //
  25. // An instance of this class is initialized and passed to the
  26. // callback routine for all client events regardless of their clientevent type.
  27.  
  28. {
  29.   void* somevGetEventClientData();
  30.  
  31.   // Returns the client data of the generic client event
  32.  
  33.   string somevGetEventClientType();
  34.  
  35.   // Returns the client type of the generic client event
  36.  
  37.   void somevSetEventClientData(in void *clientData);
  38.  
  39.   // Sets the client type of the generic client event
  40.  
  41.   void somevSetEventClientType(in string clientType);
  42.  
  43. #ifdef __SOMIDL__
  44.   implementation {
  45.  
  46.     releaseorder: somevGetEventClientData,somevGetEventClientType,somevSetEventClientData,
  47.                   somevSetEventClientType;
  48.  
  49.     majorversion = 2;
  50.     minorversion = 1;
  51.     filestem = clientev;
  52.     callstyle = idl;
  53.  
  54.  
  55.     somInit: override;
  56.  
  57.   };
  58. #endif /* __SOMIDL__ */
  59. };
  60.  
  61. #endif  /* clientev_idl */
  62.