next up previous contents
Next: Source (.c) code Up: Objects In C Previous: Private (P.h) include

Public (.h) include files

The public .h file for a device class is included by other device classes or programs which create devices belonging to this class. It contains :

Here is an example public include file AGPowerSupply.h -

/*static char RcsId[] = " $Header: AGPowerSupply.h.tex,v 1.1 93/04/05 18:15:57 goetz Exp $ ";*/

/*********************************************************************

 File:         AGPowerSupply.h

 Project:      Device Servers

 Description:  public include file for implementing the class
               of AG simulated powersupplies. 

 Author(s);    Andy Goetz 

 Original:     March 1991

 $Log:	AGPowerSupply.h.tex,v $
Revision 1.1  93/04/05  18:15:57  18:15:57  goetz (Andy Goetz)
Initial revision


 Copyright (c) 1991 by European Synchrotron Radiation Facility, 
                      Grenoble, France

 *********************************************************************/

#ifndef _AGPowerSupply_h
#define _AGPowerSupply_h

typedef struct _AGPowerSupplyClassRec *AGPowerSupplyClass;
typedef struct _AGPowerSupplyRec *AGPowerSupply;

extern AGPowerSupplyClass aGPowerSupplyClass;
extern AGPowerSupply aGPowerSupply;

/*
 * public symbols
 */


#endif



Andy Goetz
Tue Jan 28 13:58:13 MET 1997