#ifndef _class_ #define _class_ /********************************************************************* * Class types */ typedef struct root root; typedef struct plugin_class plugin_class; typedef struct shared_class shared_class; /********************************************************************* * Class structures */ struct root : dicttype { root *ParentDictArray; plugin_class superclass; plugin_class *superclasses; name classname; }; struct plugin_class : root { char *classfile; dicttype shared; shared_class new(char *pdb_script, char *ps_script); }; struct shared_class : root { char *ps_script; char *pdb_script; root new(); }; /********************************************************************* * Class utillities */ extern boolean collapse; extern struct class_mgr : root { char **class_paths; plugin_class find_class(name classnm); } class_mgr; #define persist(x) #postscript /x persist #end #define unpersist(x) #postscript /x unpersist #end operator root newobject(name classnm); #endif