#ifndef FACADE_H #define FACADE_H ///////////////////////////////////////////////////////////////////////// // facade.h - implements interface methods // // // // Demonstrates use of a facade class that implements an interface's // // methods, using services of several product classes. // // // // Jim Fawcett, CSE687 - Object Oriented Design, Spring 2001 // ///////////////////////////////////////////////////////////////////////// #include "abstract.h" #include "requestProduct.h" #include "replyProduct.h" class facade : public productAbstraction { public: facade(); virtual ~facade(); virtual void hello(); virtual std::string reply(); virtual void request(const std::string &req); private: requestProduct _request; replyProduct _reply; }; #endif