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.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/project2/cgi/p2webCgi.cpp b/project2/cgi/p2webCgi.cpp
index a4e2328..33e1b8b 100644
--- a/project2/cgi/p2webCgi.cpp
+++ b/project2/cgi/p2webCgi.cpp
@@ -14,12 +14,12 @@ class GetEnv : public CgiEnvInput {
int
main(void)
{
- Plugable::onAllComponents(boost::bind(&ComponentLoader::onBegin, _1));
+ LifeCycle::onAllComponents(boost::bind(&LifeCycle::onBegin, _1));
CgiApplicationEngine app;
GetEnv ge;
app.process(std::cout, NULL, ge);
- Plugable::onAllComponents(boost::bind(&ComponentLoader::onIteration, _1));
- Plugable::onAllComponents(boost::bind(&ComponentLoader::onPeriodic, _1));
- Plugable::onAllComponents(boost::bind(&ComponentLoader::onIdle, _1));
+ LifeCycle::onAllComponents(boost::bind(&LifeCycle::onIteration, _1));
+ LifeCycle::onAllComponents(boost::bind(&LifeCycle::onPeriodic, _1));
+ LifeCycle::onAllComponents(boost::bind(&LifeCycle::onIdle, _1));
}