Now with skipping consecutive links
This commit is contained in:
+10
-2
@@ -15,6 +15,10 @@ namespace sword_rs {
|
||||
this->module->increment();
|
||||
}
|
||||
|
||||
bool Module::is_skip_consecutive_links() const {
|
||||
return this->module->isSkipConsecutiveLinks();
|
||||
}
|
||||
|
||||
rust::String Module::render_text() {
|
||||
return std::string(
|
||||
(const char*) this->module->renderText()
|
||||
@@ -22,8 +26,12 @@ namespace sword_rs {
|
||||
}
|
||||
|
||||
void Module::set_key_text(const rust::String& keyText) {
|
||||
this->module->setKeyText(std::string(keyText).c_str());
|
||||
}
|
||||
this->module->setKeyText(std::string(keyText).c_str());
|
||||
}
|
||||
|
||||
void Module::set_skip_consecutive_links(bool skip) {
|
||||
this->module->setSkipConsecutiveLinks(skip);
|
||||
}
|
||||
|
||||
rust::String Module::strip_text() {
|
||||
return std::string(
|
||||
|
||||
Reference in New Issue
Block a user