forked from blue/squawk
feat(omemo): add signal protocol wrappers
This commit is contained in:
parent
12ffe8e8e6
commit
2654e38665
28 changed files with 874 additions and 27 deletions
24
qomemo/signal/stores/store_context.h
Normal file
24
qomemo/signal/stores/store_context.h
Normal file
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* Created by victoria on 2021-05-13.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <signal/signal_protocol.h>
|
||||
|
||||
namespace Signal::Store {
|
||||
|
||||
class Context {
|
||||
public:
|
||||
explicit Context(signal_context *global);
|
||||
~Context();
|
||||
|
||||
Context(const Context &) = delete;
|
||||
Context(Context &&) = delete;
|
||||
Context &operator=(const Context &) = delete;
|
||||
|
||||
private:
|
||||
signal_protocol_store_context *ctx{nullptr};
|
||||
};
|
||||
|
||||
} // namespace Signal::Store
|
Loading…
Add table
Add a link
Reference in a new issue