With a little help, we now have VerseKey
Went with a basic wrapper that cxx is able to handle for the bridge between the languages, along with simple wrapper methods
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
#include <sword/swmodule.h>
|
||||
#include <string>
|
||||
|
||||
#include "rust/cxx.h"
|
||||
#include "versekey.h"
|
||||
|
||||
namespace sword_rs {
|
||||
class Module {
|
||||
@@ -19,6 +21,8 @@ namespace sword_rs {
|
||||
|
||||
rust::String get_type() const;
|
||||
|
||||
VerseKey* get_verse_key() const;
|
||||
|
||||
void increment();
|
||||
|
||||
bool is_skip_consecutive_links() const;
|
||||
|
||||
Reference in New Issue
Block a user