#ifndef __SITECING_CGI_COMPONENT_H #define __SITECING_CGI_COMPONENT_H #include #include "kingate/cgi_gateway.h" #include "sitecing/acomponent.h" #include "sitecing/sitecing_interface_cgi.h" /** * @file * @brief The cgi_component class declaration. */ namespace sitecing { using namespace std; /** * The CGI-oriented component class. */ class cgi_component : virtual public acomponent { public: /** * The interface to site-C-ing core. */ sitecing_interface_cgi* __SCIF; /** * The interface to the CGI gateway. */ kingate::cgi_gateway* __CGI; cgi_component(); virtual ~cgi_component(); void __set_interface(sitecing_interface* scif); void __on_change_interface(sitecing_interface *oscif); /** * Invoked on the change of the interface to the CGI. */ virtual void __on_change_CGI(kingate::cgi_gateway *o); virtual void __on_imports(); }; } #endif /* __SITECING_CGI_COMPONENT_H */