Remove unused files

This commit is contained in:
Greg Hellings
2025-06-29 22:04:56 -05:00
parent 56dbbacb12
commit bcaf170162
3 changed files with 1 additions and 57 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
use system_deps; use system_deps;
fn main() { fn main() {
let sources = vec!["key", "mgr", "module", "versekey", "versification"]; let sources = vec!["mgr", "module", "versekey", "versification"];
let deps = system_deps::Config::new().probe().unwrap(); let deps = system_deps::Config::new().probe().unwrap();
let mut build = cxx_build::bridge("src/cxx/mod.rs"); let mut build = cxx_build::bridge("src/cxx/mod.rs");
-35
View File
@@ -1,35 +0,0 @@
#include "key.h"
namespace sword_rs {
uint8_t Key::get_error() const {
return this->getError();
}
rust::String Key::get_locale() const {
return rust::String(this->getLocale());
}
rust::String Key::get_range_text() const {
return rust::String(this->getRangeText());
}
rust::String Key::get_short_text() const {
return rust::String(this->getShortText());
}
rust::String Key::get_text() const {
return rust::String(this->getText());
}
uint8_t Key::pop_error() {
return this->popError();
}
void Key::set_locale(const rust::String &locale) {
this->setLocale(std::string(locale).c_str());
}
void Key::set_text(const rust::String &text) {
this->setText(std::string(text).c_str());
}
}
-21
View File
@@ -1,21 +0,0 @@
#pragma once
#include <sword/swkey.h>
#include "rust/cxx.h"
namespace sword_rs {
class Key : public sword::SWKey {
public:
uint8_t get_error() const;
rust::String get_locale() const;
rust::String get_range_text() const;
rust::String get_short_text() const;
rust::String get_text() const;
uint8_t pop_error();
void set_locale(const rust::String &locale);
void set_text(const rust::String &text);
};
}