forked from blue/squawk
feat(omemo): WIP signal-protocol-c cpp wrapper
This commit is contained in:
parent
04e745fad4
commit
7c1ae4737e
@ -8,7 +8,7 @@ find_package(Qt5Core CONFIG REQUIRED)
|
||||
find_package(Qt5Xml CONFIG REQUIRED)
|
||||
find_package(LMDB REQUIRED)
|
||||
|
||||
set(qomemo_SRC)
|
||||
set(qomemo_SRC signal.h)
|
||||
|
||||
add_library(qomemo STATIC ${qomemo_SRC})
|
||||
|
||||
@ -17,6 +17,8 @@ if(SYSTEM_QXMPP)
|
||||
target_include_directories(qomemo PUBLIC ${QXMPP_INTERFACE_INCLUDE_DIRECTORIES})
|
||||
endif()
|
||||
|
||||
target_include_directories(qomemo PUBLIC ${CMAKE_SOURCE_DIR}/external/signal-protocol-c/src)
|
||||
|
||||
target_link_libraries(qomemo Qt5::Core)
|
||||
target_link_libraries(qomemo Qt5::Xml)
|
||||
target_link_libraries(qomemo qxmpp)
|
||||
|
20
qomemo/signal.h
Normal file
20
qomemo/signal.h
Normal file
@ -0,0 +1,20 @@
|
||||
/*
|
||||
* Created by victoria on 2021-05-11.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <signal_protocol.h>
|
||||
|
||||
namespace Signal
|
||||
{
|
||||
|
||||
class Context {};
|
||||
class RatchetIdentityPair {};
|
||||
class SessionSignedPreKey {};
|
||||
class ProtocolKeyHelper {};
|
||||
class ProtocolStoreContext {};
|
||||
class SessionBuilder {};
|
||||
class SessionCipher {};
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user