mstch/test/data/comments.hpp
2015-04-21 15:04:11 +02:00

12 lines
No EOL
267 B
C++

class comments: public mstch::object {
public:
comments() {
register_methods(this, {{"title", &comments::title}});
}
mstch::node title() {
return std::string{"A Comedy of Errors"};
}
};
const mstch::node comments_data = std::make_shared<comments>();