summaryrefslogtreecommitdiff
path: root/project2/cgi/cgiOutputOptions.cpp
blob: 6e22641d3e7b22da4a73536d4a7b187e06ef05cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "cgiOutputOptions.h"

OutputOptions::OutputOptions(const xmlpp::Element * p) :
	Core(p, "core", false, true),
	Session(p, "session", false, true),
	Timing(p, "timing", false, true),
	Environment(p, "environment", false, true),
	URL(p, "url", false, true),
	Parameters(p, "parameters", false, true)
{
}

OutputOptionsPtr
OutputOptionsLoader::createFrom(const xmlpp::Element * e) const {
	return new OutputOptions(e);
}

DECLARE_CUSTOM_COMPONENT_LOADER("outputoptions", OutputOptions, OutputOptionsLoader, OutputOptionsLoader)