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