summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2010-08-07 13:36:00 +0000
committerrandomdan <randomdan@localhost>2010-08-07 13:36:00 +0000
commite58aa4d8e5784787e78390fd72f6a3543e771693 (patch)
treee13406f5e28914d14340326d27658dd9fdb97623
parentCache the result of default column compose (diff)
downloadproject2-e58aa4d8e5784787e78390fd72f6a3543e771693.tar.bz2
project2-e58aa4d8e5784787e78390fd72f6a3543e771693.tar.xz
project2-e58aa4d8e5784787e78390fd72f6a3543e771693.zip
Move CGI code into its own folder
-rw-r--r--project2/Jamfile.jam1
-rw-r--r--project2/cgi/FCgiIO.cpp (renamed from project2/FCgiIO.cpp)0
-rw-r--r--project2/cgi/FCgiIO.h (renamed from project2/FCgiIO.h)0
-rw-r--r--project2/cgi/cgiAppEngine.cpp (renamed from project2/cgiAppEngine.cpp)6
-rw-r--r--project2/cgi/cgiAppEngine.h (renamed from project2/cgiAppEngine.h)8
-rw-r--r--project2/cgi/cgiEnvironment.cpp (renamed from project2/cgiEnvironment.cpp)2
-rw-r--r--project2/cgi/cgiEnvironment.h (renamed from project2/cgiEnvironment.h)2
-rw-r--r--project2/cgi/p2webMain.cpp (renamed from project2/p2webMain.cpp)0
8 files changed, 10 insertions, 9 deletions
diff --git a/project2/Jamfile.jam b/project2/Jamfile.jam
index 771a473..a57b961 100644
--- a/project2/Jamfile.jam
+++ b/project2/Jamfile.jam
@@ -18,6 +18,7 @@ exe p2web :
libxmlpp
libxslt
[ glob *.cpp ]
+ [ glob cgi/*.cpp ]
../libmisc
../libodbcpp :
<include>../libmisc/
diff --git a/project2/FCgiIO.cpp b/project2/cgi/FCgiIO.cpp
index 7a3dd09..7a3dd09 100644
--- a/project2/FCgiIO.cpp
+++ b/project2/cgi/FCgiIO.cpp
diff --git a/project2/FCgiIO.h b/project2/cgi/FCgiIO.h
index a8b67f3..a8b67f3 100644
--- a/project2/FCgiIO.h
+++ b/project2/cgi/FCgiIO.h
diff --git a/project2/cgiAppEngine.cpp b/project2/cgi/cgiAppEngine.cpp
index 51bc089..5348246 100644
--- a/project2/cgiAppEngine.cpp
+++ b/project2/cgi/cgiAppEngine.cpp
@@ -4,12 +4,12 @@
#include <cgicc/HTTPContentHeader.h>
#include "cgiEnvironment.h"
#include <libxml/xinclude.h>
-#include "xmlObjectLoader.h"
-#include "iterate.h"
+#include "../xmlObjectLoader.h"
+#include "../iterate.h"
#include <boost/bind.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/uuid/uuid_io.hpp>
-#include "sessionShm.h"
+#include "../sessionShm.h"
#include <boost/uuid/uuid_generators.hpp>
const std::string SESSIONID = "sessionID";
diff --git a/project2/cgiAppEngine.h b/project2/cgi/cgiAppEngine.h
index c3bd137..112e672 100644
--- a/project2/cgiAppEngine.h
+++ b/project2/cgi/cgiAppEngine.h
@@ -1,10 +1,10 @@
#ifndef CGIAPPENGINE_H
#define CGIAPPENGINE_H
-#include "appEngine.h"
-#include "task.h"
-#include "paramChecker.h"
-#include "presenter.h"
+#include "../appEngine.h"
+#include "../task.h"
+#include "../paramChecker.h"
+#include "../presenter.h"
#include <boost/shared_ptr.hpp>
#include <boost/uuid/uuid.hpp>
#include <libxml++/document.h>
diff --git a/project2/cgiEnvironment.cpp b/project2/cgi/cgiEnvironment.cpp
index 2faf165..630629a 100644
--- a/project2/cgiEnvironment.cpp
+++ b/project2/cgi/cgiEnvironment.cpp
@@ -1,5 +1,5 @@
#include "cgiEnvironment.h"
-#include "appEngine.h"
+#include "../appEngine.h"
#include <map>
#include <cgicc/Cgicc.h>
#include <boost/tokenizer.hpp>
diff --git a/project2/cgiEnvironment.h b/project2/cgi/cgiEnvironment.h
index c01d50d..5c0455c 100644
--- a/project2/cgiEnvironment.h
+++ b/project2/cgi/cgiEnvironment.h
@@ -3,7 +3,7 @@
#include <string>
#include <vector>
-#include "environment.h"
+#include "../environment.h"
#include <cgicc/CgiEnvironment.h>
namespace cgicc {
diff --git a/project2/p2webMain.cpp b/project2/cgi/p2webMain.cpp
index ef070f0..ef070f0 100644
--- a/project2/p2webMain.cpp
+++ b/project2/cgi/p2webMain.cpp