2025-02-24 22:35:47 -06:00
|
|
|
#pragma once
|
2025-02-25 10:46:07 -06:00
|
|
|
|
2025-02-24 22:35:47 -06:00
|
|
|
#include <sword/swmodule.h>
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
|
|
#include "rust/cxx.h"
|
|
|
|
|
|
2025-02-25 10:46:07 -06:00
|
|
|
namespace sword_rs {
|
|
|
|
|
class Module {
|
|
|
|
|
private:
|
|
|
|
|
sword::SWModule* module;
|
2025-02-24 22:35:47 -06:00
|
|
|
|
2025-02-25 10:46:07 -06:00
|
|
|
public:
|
|
|
|
|
Module(sword::SWModule* module);
|
2025-02-24 22:35:47 -06:00
|
|
|
|
2025-02-25 10:46:07 -06:00
|
|
|
rust::String get_name() const;
|
2025-02-24 22:35:47 -06:00
|
|
|
|
2025-02-25 10:46:07 -06:00
|
|
|
rust::String strip_text();
|
2025-02-25 00:06:12 -06:00
|
|
|
|
2025-02-25 10:46:07 -06:00
|
|
|
void set_key_text(const rust::String& keyText);
|
|
|
|
|
};
|
|
|
|
|
}
|