Diffstat (limited to 'include/sitecing/sitecing_interface.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | include/sitecing/sitecing_interface.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/sitecing/sitecing_interface.h b/include/sitecing/sitecing_interface.h index 0cba2bb..f0210d6 100644 --- a/include/sitecing/sitecing_interface.h +++ b/include/sitecing/sitecing_interface.h @@ -10,31 +10,35 @@ 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. + */ + long serial; /** * The default constructor doesn't do much. */ - sitecing_interface() : out(0) {} + 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) {} }; } #endif /* __SITECING_SITECING_INTERFACE_H */ |