home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 2 / DATAFILE_PDCD2.iso / utilities2 / desklib / Libraries / Event / h / EMsgDefs next >
Encoding:
Text File  |  1992-03-31  |  1.1 KB  |  41 lines

  1. /*
  2.     ####             #    #     # #
  3.     #   #            #    #       #          The FreeWare C library for 
  4.     #   #  ##   ###  #  # #     # ###             RISC OS machines
  5.     #   # #  # #     # #  #     # #  #   ___________________________________
  6.     #   # ####  ###  ##   #     # #  #                                      
  7.     #   # #        # # #  #     # #  #    Please refer to the accompanying
  8.     ####   ### ####  #  # ##### # ###    documentation for conditions of use
  9.     ________________________________________________________________________
  10.  
  11.     File:    Event.EMsgDefs.h
  12.     Author:  Copyright © 1992 Jason Williams
  13.     Version: 1.00 (16 Mar 1992)
  14.     Purpose: Extension to Event.c to allow routing of specific message types
  15.              to different windows' message handlers.
  16. */
  17.  
  18. #include <stdlib.h>
  19. #include "LinkList.h"
  20. #include "Error.h"
  21. #include "Event.h"
  22.  
  23.  
  24. typedef struct
  25. {
  26.   linklist_header header;
  27.   message_action  messagetype;
  28.   linklist_header windowlist;
  29. } eventmsg_claimrecord;
  30.  
  31.  
  32.  
  33. typedef struct
  34. {
  35.   linklist_header header;
  36.   window_handle   window;
  37.   event_handler   handler;
  38.   void            *reference;
  39. } eventmsg_windowrecord;
  40.  
  41.