diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-06-06 17:35:52 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-06-06 17:35:52 +0100 |
commit | b29cc0691de6b3a6c069a12b2cbcba6bb66dab34 (patch) | |
tree | 40dfef9620f29b22a2e3a7b53dcfc68a45006fb6 /project2/cgi | |
parent | Correct log message when dropping mock DB (diff) | |
download | project2-b29cc0691de6b3a6c069a12b2cbcba6bb66dab34.tar.bz2 project2-b29cc0691de6b3a6c069a12b2cbcba6bb66dab34.tar.xz project2-b29cc0691de6b3a6c069a12b2cbcba6bb66dab34.zip |
Introduce AppInstance for correctly scoping otherwise global things
Diffstat (limited to 'project2/cgi')
-rw-r--r-- | project2/cgi/cgiAppEngine.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/project2/cgi/cgiAppEngine.h b/project2/cgi/cgiAppEngine.h index 1bc282f..83b34d5 100644 --- a/project2/cgi/cgiAppEngine.h +++ b/project2/cgi/cgiAppEngine.h @@ -16,6 +16,7 @@ #include "cgiHttpHeader.h" #include "cgiRequestContext.h" #include <cgicc/Cgicc.h> +#include <appInstance.h> class Session; namespace cgicc { @@ -23,7 +24,7 @@ namespace cgicc { class CgiEnvironment; } -class CgiApplicationEngine { +class CgiApplicationEngine : AppInstance { public: typedef boost::shared_ptr<Project2HttpHeader> HttpHeaderPtr; typedef std::pair<Glib::ustring, Glib::RefPtr<Glib::Regex>> PlatformHostname; |