#ifndef CANONICAL_H #define CANONICAL_H #ifndef MISC_H #include #endif class CAN: public ARRAY_OBJ{ public: SSTRING name; SSTRING address; SSTRING comment; /*~PROTOBEG~ CAN*/ public: CAN (char *line); CAN (void); const char *getname (void); int is_valid(); int edit (PRIVILEGE *privi); void write (FILE_CFG *fout); }; class CANONICAL: public ARRAY{ CONFIG_FILE f; PRIVILEGE *privi; bool dodb; int btype; /*~PROTOBEG~ CANONICAL */ public: CANONICAL (const char *config, PRIVILEGE *_privi, bool _dodb, int btype); private: char *type (int nametable); public: int edit (); int locate (const char *title); void addnew (void); int write (void); CAN *getitem (int no); /*~PROTOEND~ CANONICAL */ }; #endif