Module brdcster.pkg

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