 
#ifndef tabs_DEFINED
#define tabs_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 tabs.ch and will be
 * overwritten.  Make changes to tabs.ch instead.
 */ 
 
#ifndef class_StaticInfoOnly
/* 
 * The following information was copied, as-is, from tabs.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.
* $
*/


/* Nick Williams, August 1990 */

/* tabs are a package. 
 * However, we want to be able to define methods and data,
 * so we have it as a basic class.
 */






/* 
 * End of information copied from tabs.ch.
 */ 
 
#endif /* class_StaticInfoOnly *//* 
 * Include the superclass information
 */ 
/* tabs has no super class */ 
 
 
#ifndef class_StaticInfoOnly
/* 
 * Data structure for tabs 
 */ 
struct tabs { 
    struct {
	struct basicobject_methods *tabs_methods;
    } header;
    long *Positions;
    long *Types;
    int number;
    int links;

};

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

#endif /* class_StaticInfoOnly */

#ifndef class_StaticInfoOnly

#ifndef tabs_PROGRAMMERVERSION
#define tabs_PROGRAMMERVERSION 1
#endif /* tabs_PROGRAMMERVERSION */

#ifdef tabs_VERSION
#undef tabs_VERSION
#endif /* tabs_VERSION */
#define tabs_VERSION ((((tabs_PROGRAMMERVERSION << 16) ^ (7 << 8) ^ sizeof(struct tabs)) & 0x7ffff) + 0x80000 + (65 << 20))


#endif /* class_StaticInfoOnly */
#define tabs_StaticLoadOnlyThisClass()  \
{ extern struct classinfo *tabs__GetClassInfo(); \
 extern struct classheader *tabs_classheader_StaticExport; \
  (void) class_EnterInfo(NULL, tabs_classheader_StaticExport->name, tabs__GetClassInfo, NULL, tabs_classheader_StaticExport->namekey); } 
 
#define tabs_StaticLoad()  \
    { \
    tabs_StaticLoadOnlyThisClass();  \
    } 
 
#define tabs_StaticEntry  {tabs_StaticLoad()} 
 
#ifndef class_StaticInfoOnly
static struct classheader tabs_classheader = {
    tabs_VERSION,
    "tabs",
    "tabs",
    (struct basicobject_methods *) &class_RoutineStruct,
};

#define tabs_CLASSPROCEDURES (tabs_classheader.classprocedures)
int tabs_classref_;
#endif /* class_StaticInfoOnly */

#endif /* tabs_DEFINED */

#if !defined(tabs_ROUTINESDEFINED) && !defined(dontDefineRoutinesFor_tabs) && !defined(class_StaticEntriesOnly)
#define tabs_ROUTINESDEFINED

#define tabs_OutputTroff(self,indent,file) \
    ((* ((void (*)())((self)->header.tabs_methods->routines[0]))) (self,indent,file))
#define tabs_Different(self,b) \
    ((* ((int (*)())((self)->header.tabs_methods->routines[1]))) (self,b))
#define tabs_Delete(self,n) \
    ((* ((struct tabs * (*)())((self)->header.tabs_methods->routines[2]))) (self,n))
#define tabs_Add(self,pos,op) \
    ((* ((struct tabs * (*)())((self)->header.tabs_methods->routines[3]))) (self,pos,op))
#define tabs_Clear(self) \
    ((* ((struct tabs * (*)())((self)->header.tabs_methods->routines[4]))) (self))
#define tabs_ApplyChange(self,change) \
    ((* ((struct tabs * (*)())((self)->header.tabs_methods->routines[5]))) (self,change))
#define tabs_Copy(self) \
    ((* ((struct tabs * (*)())((self)->header.tabs_methods->routines[6]))) (self))

#define tabs_NewFromObject(self) \
    ((* ((struct tabs * (*)())((self)->header.tabs_methods->info->procs->routines[0]))) (&tabs_classheader, (self)->header.tabs_methods->info->versionnumber))
#define tabs_New() \
    (*((struct tabs * (*)()) (tabs_CLASSPROCEDURES->routines[0])))(&tabs_classheader,tabs_VERSION)
#define tabs_Initialize(self) \
    (*((void (*)()) (tabs_CLASSPROCEDURES->routines[2])))(&tabs_classheader,self, tabs_VERSION)

#define tabs_Destroy(self) \
    ((* ((void (*)()) ((self)->header.tabs_methods->info->procs->routines[1]))) (&tabs_classheader, self))
#define tabs_Finalize(self) \
    (*((void (*)()) (tabs_CLASSPROCEDURES->routines[3])))(&tabs_classheader,self)

#define tabs_InitializeObject(self) \
    (*((boolean (*)()) (tabs_CLASSPROCEDURES->routines[5])))(&tabs_classheader,self)
#define tabs_FinalizeObject(self) \
    (*((void (*)()) (tabs_CLASSPROCEDURES->routines[6])))(&tabs_classheader,self)
#define tabs_Create() \
    (*((struct tabs * (*)()) (tabs_CLASSPROCEDURES->routines[7])))(&tabs_classheader)
#define tabs_Death(self) \
    (*((void (*)()) (tabs_CLASSPROCEDURES->routines[8])))(&tabs_classheader,self)


#endif /* !defined(tabs_ROUTINESDEFINED) && !defined(dontDefineRoutinesFor_tabs ) && !defined(class_StaticEntriesOnly)*/

