home *** CD-ROM | disk | FTP | other *** search
/ The Developer Connection…ice Driver Kit for OS/2 3 / DEV3-D1.ISO / devtools / dataflex / brdcster.pkg < prev    next >
Encoding:
Text File  |  1993-08-10  |  2.2 KB  |  99 lines

  1. //************************************************************************
  2. //
  3. // Copyright 1987-1992 Data Access Corporation, Miami FL, USA
  4. // All Rights reserved
  5. // DataFlex is a registered trademark of Data Access Corporation.
  6. //
  7. //
  8. //     $Source: /u3/source.30/product/pkg/RCS/brdcster.pkg,v $
  9. //     $Revision: 1.1 $
  10. //     $State: Exp $
  11. //     $Author: james $
  12. //     $Date: 1992/09/08 14:43:02 $
  13. //     $Locker:  $
  14. //
  15. //     $Log: brdcster.pkg,v $
  16. //Revision 1.1  1992/09/08  14:43:02  james
  17. //Initial revision
  18. //
  19. //Revision 1.3  92/05/14  16:54:09  SWM
  20. //Updated Copyright slug.
  21. //
  22. //Revision 1.2  92/03/09  19:00:31  james
  23. //Added #CHKSUB directive to insure source
  24. //only compiled with correct revision of 
  25. //compiler.
  26. //
  27. //Revision 1.1  91/10/23  10:19:40  elsa
  28. //Initial revision
  29. //
  30. //************************************************************************/
  31.  
  32. //************************************************************************
  33. //     File Name: Brdcster.Pkg
  34. // Creation Date: January 1, 1991
  35. // Modified Date: May 23, 1991
  36. //     Author(s): Steven A. Lowe
  37. //
  38. // This module contains the Broadcaster class definition.
  39. //
  40. // A Broadcaster is a set of object identifiers which receive messages as
  41. // a group; to send a message to all of the objects in a Broadcaster, just
  42. // send the message to the broadcaster with its Broadcast_State set to
  43. // TRUE.
  44. //************************************************************************/
  45.  
  46.  
  47. #CHKSUB 1 1 // Verify the UI subsystem.
  48.  
  49. Use Set
  50.  
  51.  
  52. //
  53. // Description
  54. //
  55. //   This class is defined as a subclass of Set with a C language handler
  56. //   providing additional behavior.
  57. //
  58. // Assumptions/Preconditions
  59. //
  60. //   None.
  61. //
  62. // Exceptions
  63. //
  64. //   None.
  65. //
  66. // Notes
  67. //
  68. //   None.
  69. //
  70. class Broadcaster is a Set 0 0 Broadcast_Handler
  71. end_Class
  72.  
  73.  
  74. //
  75. // Description
  76. //
  77. //   This function returns the id of a newly-created Broadcaster object.
  78. //
  79. // Assumptions/Preconditions
  80. //
  81. //   None.
  82. //
  83. // Exceptions
  84. //
  85. //   None.
  86. //
  87. // Notes
  88. //
  89. //   None.
  90. //
  91. function make_broadcaster FOR DESKTOP returns integer
  92.   local integer obj#
  93.   object broadcasterTemplate is a broadcaster
  94.     move current_object to obj#
  95.   end_object
  96.   function_return obj#
  97. end_function
  98.  
  99.