aboutsummaryrefslogtreecommitdiff
path: root/include/signer/noscrypt_signer.hpp
diff options
context:
space:
mode:
authorLibravatar buttercat1791 <mjjurkoic@gmail.com>2024-05-27 12:09:41 -0500
committerLibravatar buttercat1791 <mjjurkoic@gmail.com>2024-05-27 12:09:41 -0500
commit32bb72b527966c1b7324afcd7fae466fc84b30d6 (patch)
treeb0139829be0ae63b1333a9b857bee70ab2b3b5d1 /include/signer/noscrypt_signer.hpp
parent1d6b704c15ee289037447fb566e7583962496650 (diff)
refactor so no project header imports nostr.hpp
Diffstat (limited to 'include/signer/noscrypt_signer.hpp')
-rw-r--r--include/signer/noscrypt_signer.hpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/signer/noscrypt_signer.hpp b/include/signer/noscrypt_signer.hpp
index 1476303..cdee3fd 100644
--- a/include/signer/noscrypt_signer.hpp
+++ b/include/signer/noscrypt_signer.hpp
@@ -1,11 +1,15 @@
#pragma once
+#include <plog/Init.h>
+#include <plog/Log.h>
+
extern "C"
{
#include <noscrypt.h>
}
-#include "signer.hpp"
+#include "service/nostr_service_base.hpp"
+#include "signer/signer.hpp"
namespace nostr
{
@@ -14,7 +18,9 @@ namespace signer
class NoscryptSigner : public INostrConnectSigner
{
public:
- NoscryptSigner(std::shared_ptr<plog::IAppender> appender);
+ NoscryptSigner(
+ std::shared_ptr<plog::IAppender> appender,
+ std::shared_ptr<nostr::service::INostrServiceBase> nostrService);
~NoscryptSigner();