mirror of
https://github.com/status-im/status-lib.git
synced 2025-01-27 12:46:12 +00:00
15 lines
385 B
C++
15 lines
385 B
C++
#include "nimstatus.hpp"
|
|
|
|
NimStatus::NimStatus(const QString& fleet){
|
|
_ptr = newStatusInstance(fleet.toLocal8Bit().data());
|
|
}
|
|
|
|
NimStatus::~NimStatus(){
|
|
freeStatusInstance(_ptr);
|
|
_ptr = nullptr;
|
|
}
|
|
|
|
void NimStatus::initializeNode(const QString& statusGoDir, const QString& keystoreDir){
|
|
initNode(_ptr, statusGoDir.toLocal8Bit().data(), keystoreDir.toLocal8Bit().data());
|
|
}
|