#ifndef FACTORY_H #define FACTORY_H #include class Text; class Factory { public: Text * create(); void fill( vector & ); private: Text * createBook(); Text * createVolume(); }; #endif