Basic html generator.

[SVN r59570]
This commit is contained in:
Daniel James
2010-02-07 14:48:41 +00:00
parent 1f598dd0d4
commit bdcfaab888
6 changed files with 491 additions and 46 deletions

17
encoder_impl.cpp Normal file
View File

@@ -0,0 +1,17 @@
#include "encoder_impl.hpp"
namespace quickbook
{
encoder_ptr create_encoder(std::string const& name)
{
if(name == "html") {
return boost::shared_ptr<encoder>(new html_encoder());
}
else if(name == "boostbook") {
return boost::shared_ptr<encoder>(new boostbook_encoder());
}
else {
BOOST_ASSERT(false);
}
}
}