4 // needed for pid_t typedef
23 virtual ~SpellBase() {}
25 virtual void initialize(BufferParams const & , string const & ) = 0;
27 virtual bool alive() = 0;
29 virtual void cleanUp() = 0;
31 virtual enum spellStatus check(string const &) = 0;
33 virtual void close() = 0;
35 virtual void insert(string const & ) = 0;
37 virtual void accept(string const & ) = 0;
39 virtual void store(string const & , string const & ) = 0;
41 virtual char const * error() = 0;
43 virtual char const * nextMiss() = 0;
45 virtual void sigchldhandler(pid_t pid, int *) = 0;