mstch/test/data/comments.hpp

12 lines
257 B
C++
Raw Normal View History

2015-04-17 03:05:59 +08: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>();