mstch/test/data/comments.hpp

12 lines
257 B
C++
Raw Normal View History

2015-04-16 19:05:59 +00:00
class comments: public mstch::object {
public:
comments() {
register_methods(this, {{"title", &title}});
}
mstch::node title() {
return std::string{"A Comedy of Errors"};
}
};
const mstch::node comments_data = std::make_shared<comments>();