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


 


/*  plusspc.H

	plusspace package

	Routines for reading and writing rasters in 'plus-space' form
	(as used for the first BE2 rasters code)

	The data stream is packed with the same scheme as used for MacPaint
	Then bytes are split to nibbles and written by adding ' ' to each nibble.

 */

#define  plusspace_PROGRAMMERVERSION    1







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

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

#endif /* class_StaticInfoOnly */

#ifndef class_StaticInfoOnly

#ifndef plusspace_PROGRAMMERVERSION
#define plusspace_PROGRAMMERVERSION 1
#endif /* plusspace_PROGRAMMERVERSION */

#ifdef plusspace_VERSION
#undef plusspace_VERSION
#endif /* plusspace_VERSION */
#define plusspace_VERSION ((((plusspace_PROGRAMMERVERSION << 16) ^ (2 << 8)) & 0x7ffff) + (1 << 20))


#endif /* class_StaticInfoOnly */
#define plusspace_StaticLoadOnlyThisClass()  \
{ extern struct classinfo *plusspace__GetClassInfo(); \
 extern struct classheader *plusspc_classheader_StaticExport; \
  (void) class_EnterInfo(NULL, plusspc_classheader_StaticExport->name, plusspace__GetClassInfo, NULL, plusspc_classheader_StaticExport->namekey); } 
 
#define plusspace_StaticLoad()  \
    { \
    plusspace_StaticLoadOnlyThisClass();  \
    } 
 
#define plusspace_StaticEntry  {plusspace_StaticLoad()} 
 
#define plusspc_StaticEntry  {plusspace_StaticLoad()} 
 
#ifndef class_StaticInfoOnly
static struct classheader plusspace_classheader = {
    plusspace_VERSION,
    "plusspace",
    "plusspc",
    (struct basicobject_methods *) &class_RoutineStruct,
};

#define plusspace_CLASSPROCEDURES (plusspace_classheader.classprocedures)
int plusspc_classref_;
#endif /* class_StaticInfoOnly */

#endif /* plusspace_DEFINED */

#if !defined(plusspace_ROUTINESDEFINED) && !defined(dontDefineRoutinesFor_plusspace) && !defined(class_StaticEntriesOnly)
#define plusspace_ROUTINESDEFINED


#define plusspace_WriteRow(file,byteaddr,nbytes) \
    (*((void (*)()) (plusspace_CLASSPROCEDURES->routines[0])))(&plusspace_classheader,file,byteaddr,nbytes)
#define plusspace_ReadRow(file,row,length) \
    (*((long (*)()) (plusspace_CLASSPROCEDURES->routines[1])))(&plusspace_classheader,file,row,length)


#endif /* !defined(plusspace_ROUTINESDEFINED) && !defined(dontDefineRoutinesFor_plusspace ) && !defined(class_StaticEntriesOnly)*/

