 
#ifndef play_DEFINED
#define play_DEFINED 1
 
#ifndef class_DEFINED
#include <class.h>
#endif /* class_DEFINED */
/* 
 * This file was generated by the Andrew class system preprocessor.
 * Don't make changes to this file as it is created from play.ch and will be
 * overwritten.  Make changes to play.ch instead.
 */ 
 
#ifndef class_StaticInfoOnly
/* 
 * The following information was copied, as-is, from play.ch.
 */ 
 
/* ********************************************************************** *\
 *         Copyright IBM Corporation 1988,1991 - All Rights Reserved      *
 *        For full copyright information see:'andrew/config/COPYRITE'     *
\* ********************************************************************** */

/*
	$Disclaimer: 
*Permission to use, copy, modify, and distribute this software and its 
*documentation for any purpose is hereby granted without fee, 
*provided that the above copyright notice appear in all copies and that 
*both that copyright notice, this permission notice, and the following 
*disclaimer appear in supporting documentation, and that the names of 
*IBM, Carnegie Mellon University, and other copyright holders, not be 
*used in advertising or publicity pertaining to distribution of the software 
*without specific, written prior permission.
*
*IBM, CARNEGIE MELLON UNIVERSITY, AND THE OTHER COPYRIGHT HOLDERS 
*DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING 
*ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.  IN NO EVENT 
*SHALL IBM, CARNEGIE MELLON UNIVERSITY, OR ANY OTHER COPYRIGHT HOLDER 
*BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY 
*DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, 
*WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS 
*ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 
*OF THIS SOFTWARE.
* $
*/


 

/* play.H
	play notes

	At present only the RT has a speaker.
*/






/* 
 * End of information copied from play.ch.
 */ 
 
#endif /* class_StaticInfoOnly *//* 
 * Include the superclass information
 */ 
/* play has no super class */ 
 
 
#ifndef class_StaticInfoOnly
/* 
 * Data structure for play 
 */ 
/* play is a package.  Packages don't have any data */ 

 
/* 
 * End of data structure for play.
 */ 
 

#endif /* class_StaticInfoOnly */

#ifndef class_StaticInfoOnly

#ifndef play_PROGRAMMERVERSION
#define play_PROGRAMMERVERSION 1
#endif /* play_PROGRAMMERVERSION */

#ifdef play_VERSION
#undef play_VERSION
#endif /* play_VERSION */
#define play_VERSION ((((play_PROGRAMMERVERSION << 16) ^ (6 << 8)) & 0x7ffff) + (1 << 20))


#endif /* class_StaticInfoOnly */
#define play_StaticLoadOnlyThisClass()  \
{ extern struct classinfo *play__GetClassInfo(); \
 extern struct classheader *play_classheader_StaticExport; \
  (void) class_EnterInfo(NULL, play_classheader_StaticExport->name, play__GetClassInfo, NULL, play_classheader_StaticExport->namekey); } 
 
#define play_StaticLoad()  \
    { \
    play_StaticLoadOnlyThisClass();  \
    } 
 
#define play_StaticEntry  {play_StaticLoad()} 
 
#ifndef class_StaticInfoOnly
static struct classheader play_classheader = {
    play_VERSION,
    "play",
    "play",
    (struct basicobject_methods *) &class_RoutineStruct,
};

#define play_CLASSPROCEDURES (play_classheader.classprocedures)
int play_classref_;
#endif /* class_StaticInfoOnly */

#endif /* play_DEFINED */

#if !defined(play_ROUTINESDEFINED) && !defined(dontDefineRoutinesFor_play) && !defined(class_StaticEntriesOnly)
#define play_ROUTINESDEFINED


#define play_InitializeClass() \
    (*((boolean (*)()) (play_CLASSPROCEDURES->routines[0])))(&play_classheader)
#define play_Volume(v) \
    (*((void (*)()) (play_CLASSPROCEDURES->routines[1])))(&play_classheader,v)
#define play_Retard(v) \
    (*((void (*)()) (play_CLASSPROCEDURES->routines[2])))(&play_classheader,v)
#define play_Tuning(name) \
    (*((void (*)()) (play_CLASSPROCEDURES->routines[3])))(&play_classheader,name)
#define play_Tone(freq,duration,volume) \
    (*((void (*)()) (play_CLASSPROCEDURES->routines[4])))(&play_classheader,freq,duration,volume)
#define play_Notes(s) \
    (*((void (*)()) (play_CLASSPROCEDURES->routines[5])))(&play_classheader,s)


#endif /* !defined(play_ROUTINESDEFINED) && !defined(dontDefineRoutinesFor_play ) && !defined(class_StaticEntriesOnly)*/

