summaryrefslogtreecommitdiff
path: root/project2/cgi/p2webCgi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'project2/cgi/p2webCgi.cpp')
-rw-r--r--project2/cgi/p2webCgi.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/project2/cgi/p2webCgi.cpp b/project2/cgi/p2webCgi.cpp
new file mode 100644
index 0000000..f10573f
--- /dev/null
+++ b/project2/cgi/p2webCgi.cpp
@@ -0,0 +1,12 @@
+#include "cgiCommon.h"
+#include "../xmlObjectLoader.h"
+
+int
+main(void)
+{
+ cgiServe(NULL, std::cout);
+ LoaderBase::onIteration();
+ LoaderBase::onPeriodic();
+ LoaderBase::onIdle();
+}
+