ChipMaster's trial hacks on C++CMS starting with v1.2.1. Not sure I'll follow on with the v2 since it looks to be breaking and mostly frivolous.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #define CPPCMS_SOURCE
- #include "base_view.h"
- #include "util.h"
- #include "cppcms_error.h"
-
- #include <vector>
- #include "config.h"
- #ifdef CPPCMS_USE_EXTERNAL_BOOST
- # include <boost/format.hpp>
- #else // Internal Boost
- # include <cppcms_boost/format.hpp>
- namespace boost = cppcms_boost;
- #endif
-
- namespace cppcms {
-
- struct base_view::data {
- std::ostream *out;
- };
-
- base_view::base_view(std::ostream &out) :
- d(new data)
- {
- d->out=&out;
- }
-
- std::ostream &base_view::out()
- {
- return *d->out;
- }
-
- base_view::~base_view()
- {
- }
-
- void base_view::render()
- {
- }
-
-
- }// cppcms
|