#ifndef FACTORY_H #define FACTORY_H ///////////////////////////////////////////////////////////////////////// // factory.h - implements factory method // // // // Demonstrates use of a factory class to create a product family // // on behalf of the client. This factory is bound to the product // // family so that the client does not have to be. // // // // Jim Fawcett, CSE687 - Object Oriented Design, Spring 2001 // ///////////////////////////////////////////////////////////////////////// #include "facade.h" class factory { public: factory(); ~factory(); productAbstraction* createProduct(); private: productAbstraction *pPA; }; #endif