#ifndef __SITECING_SITECING_INTERFACE_H #define __SITECING_SITECING_INTERFACE_H #include /** * @file * @brief The sitecing_interface call declaration. */ namespace sitecing { using namespace std; /** * @brief the interface to site-C-ing. * * The basic class used to convey communications between the component and * the sitecing core. */ class sitecing_interface { public: /** * Pointer to the output stream. */ ostream *out; /** * Serial number of request being processed. */ unsigned long serial; /** * The default constructor doesn't do much. */ sitecing_interface() : out(0), serial(0) {} /** * The constructor initializes the output stream pointer. * @param o the value to initialize the output stream pointer with. */ sitecing_interface(ostream* o) : out(o), serial(0) {} }; } #endif /* __SITECING_SITECING_INTERFACE_H */