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:
Greg Hellings
2025-06-25 02:30:42 -05:00
parent fc7b3a7ec5
commit c8dd1ce0f0
12 changed files with 919 additions and 10 deletions
+4
View File
@@ -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;