 
#ifndef pcontrol_DEFINED
#define pcontrol_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 pcontrol.ch and will be
 * overwritten.  Make changes to pcontrol.ch instead.
 */ 
 
#ifndef class_StaticInfoOnly
/* 
 * The following information was copied, as-is, from pcontrol.ch.
 */ 
 
/* user code begins here for HeaderInfo */
/* ********************************************************************** *\
 *         Copyright IBM Corporation 1988,1989 - 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.
* $ */

/* user code ends here for HeaderInfo */






/* 
 * End of information copied from pcontrol.ch.
 */ 
 
#endif /* class_StaticInfoOnly *//* 
 * Include the superclass information
 */ 
/* pcontrol has no super class */ 
 
 
#ifndef class_StaticInfoOnly
/* 
 * Data structure for pcontrol 
 */ 
struct pcontrol { 
    struct {
	struct basicobject_methods *pcontrol_methods;
    } header;
	struct value *kb_2;
	struct pianoV *kb_2View;
	struct value *kb_3;
	struct pianoV *kb_3View;
	struct value *replay;
	struct buttonV *replayView;
	struct value *volume;
	struct fourwayV *volumeView;
	struct value *nt_10;
	struct buttonV *nt_10View;
	struct value *clear;
	struct buttonV *clearView;
	struct value *nt_11;
	struct buttonV *nt_11View;
	struct value *nt_0;
	struct buttonV *nt_0View;
	struct value *nt_1;
	struct buttonV *nt_1View;
	struct value *mode;
	struct onoffV *modeView;
	struct value *nt_2;
	struct buttonV *nt_2View;
	struct value *nt_3;
	struct buttonV *nt_3View;
	struct value *nt_4;
	struct buttonV *nt_4View;
	struct value *nt_5;
	struct buttonV *nt_5View;
	struct value *nt_6;
	struct buttonV *nt_6View;
	struct value *nt_7;
	struct buttonV *nt_7View;
	struct value *nt_8;
	struct buttonV *nt_8View;
	struct value *nt_9;
	struct buttonV *nt_9View;
	struct value *speed;
	struct sliderV *speedView;
	struct value *Read;
	struct buttonV *ReadView;
	struct value *noteout;
	struct stringV *noteoutView;
	struct value *undo;
	struct buttonV *undoView;
	struct text *score;
	struct textview *scoreView;
	struct arbiter *ab1;
	struct arbiterview *ab1View;
	struct lset *ab2;
	struct lsetview *ab2View;
	struct value *rest;
	struct buttonV *restView;
	struct value *kb_0;
	struct pianoV *kb_0View;
	struct value *Save;
	struct buttonV *SaveView;
	struct value *kb_1;
	struct pianoV *kb_1View;
/* user code begins here for classdata */
	struct value *duration;
	long lastnoteval,lastlen;
/* user code ends here for classdata */
	struct view *v;
	struct pcontrol *next;

};

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

#endif /* class_StaticInfoOnly */

#ifndef class_StaticInfoOnly

#ifndef pcontrol_PROGRAMMERVERSION
#define pcontrol_PROGRAMMERVERSION 1
#endif /* pcontrol_PROGRAMMERVERSION */

#ifdef pcontrol_VERSION
#undef pcontrol_VERSION
#endif /* pcontrol_VERSION */
#define pcontrol_VERSION ((((pcontrol_PROGRAMMERVERSION << 16) ^ (0 << 8) ^ sizeof(struct pcontrol)) & 0x7ffff) + 0x80000 + (1 << 20))


#endif /* class_StaticInfoOnly */
#define pcontrol_StaticLoadOnlyThisClass()  \
{ extern struct classinfo *pcontrol__GetClassInfo(); \
 extern struct classheader *pcontrol_classheader_StaticExport; \
  (void) class_EnterInfo(NULL, pcontrol_classheader_StaticExport->name, pcontrol__GetClassInfo, NULL, pcontrol_classheader_StaticExport->namekey); } 
 
#define pcontrol_StaticLoad()  \
    { \
    pcontrol_StaticLoadOnlyThisClass();  \
    } 
 
#define pcontrol_StaticEntry  {pcontrol_StaticLoad()} 
 
#ifndef class_StaticInfoOnly
static struct classheader pcontrol_classheader = {
    pcontrol_VERSION,
    "pcontrol",
    "pcontrol",
    (struct basicobject_methods *) &class_RoutineStruct,
};

#define pcontrol_CLASSPROCEDURES (pcontrol_classheader.classprocedures)
int pcontrol_classref_;
#endif /* class_StaticInfoOnly */

#endif /* pcontrol_DEFINED */

#if !defined(pcontrol_ROUTINESDEFINED) && !defined(dontDefineRoutinesFor_pcontrol) && !defined(class_StaticEntriesOnly)
#define pcontrol_ROUTINESDEFINED


#define pcontrol_NewFromObject(self) \
    ((* ((struct pcontrol * (*)())((self)->header.pcontrol_methods->info->procs->routines[0]))) (&pcontrol_classheader, (self)->header.pcontrol_methods->info->versionnumber))
#define pcontrol_New() \
    (*((struct pcontrol * (*)()) (pcontrol_CLASSPROCEDURES->routines[0])))(&pcontrol_classheader,pcontrol_VERSION)
#define pcontrol_Initialize(self) \
    (*((void (*)()) (pcontrol_CLASSPROCEDURES->routines[2])))(&pcontrol_classheader,self, pcontrol_VERSION)

#define pcontrol_Destroy(self) \
    ((* ((void (*)()) ((self)->header.pcontrol_methods->info->procs->routines[1]))) (&pcontrol_classheader, self))
#define pcontrol_Finalize(self) \
    (*((void (*)()) (pcontrol_CLASSPROCEDURES->routines[3])))(&pcontrol_classheader,self)

#define pcontrol_InitializeClass() \
    (*((boolean (*)()) (pcontrol_CLASSPROCEDURES->routines[5])))(&pcontrol_classheader)


#endif /* !defined(pcontrol_ROUTINESDEFINED) && !defined(dontDefineRoutinesFor_pcontrol ) && !defined(class_StaticEntriesOnly)*/

