add tox private interface (no impl yet)
This commit is contained in:
parent
9cfd920fca
commit
d05875f489
@ -5,6 +5,7 @@ project(solanaceae)
|
|||||||
add_library(solanaceae_toxcore_interface INTERFACE
|
add_library(solanaceae_toxcore_interface INTERFACE
|
||||||
#./solanaceae/toxcore/toxcore_enums.hpp
|
#./solanaceae/toxcore/toxcore_enums.hpp
|
||||||
#./solanaceae/toxcore/tox_interface.hpp
|
#./solanaceae/toxcore/tox_interface.hpp
|
||||||
|
#./solanaceae/toxcore/tox_private_interface.hpp
|
||||||
)
|
)
|
||||||
target_include_directories(solanaceae_toxcore_interface INTERFACE .)
|
target_include_directories(solanaceae_toxcore_interface INTERFACE .)
|
||||||
target_compile_features(solanaceae_toxcore_interface INTERFACE cxx_std_17)
|
target_compile_features(solanaceae_toxcore_interface INTERFACE cxx_std_17)
|
||||||
@ -20,6 +21,7 @@ add_library(solanaceae_toxcore
|
|||||||
./solanaceae/toxcore/tox_interface.hpp
|
./solanaceae/toxcore/tox_interface.hpp
|
||||||
./solanaceae/toxcore/tox_interface.cpp
|
./solanaceae/toxcore/tox_interface.cpp
|
||||||
./solanaceae/toxcore/tox_event_interface.hpp
|
./solanaceae/toxcore/tox_event_interface.hpp
|
||||||
|
./solanaceae/toxcore/tox_private_interface.hpp
|
||||||
|
|
||||||
./solanaceae/toxcore/tox_default_impl.hpp
|
./solanaceae/toxcore/tox_default_impl.hpp
|
||||||
./solanaceae/toxcore/tox_default_impl.cpp
|
./solanaceae/toxcore/tox_default_impl.cpp
|
||||||
|
12
solanaceae/toxcore/tox_private_interface.hpp
Normal file
12
solanaceae/toxcore/tox_private_interface.hpp
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
|
// defines the private interface for tox
|
||||||
|
struct ToxPrivateI {
|
||||||
|
virtual ~ToxPrivateI(void) {}
|
||||||
|
|
||||||
|
virtual uint16_t toxDHTGetNumCloselist(void) = 0;
|
||||||
|
virtual uint16_t toxDHTGetNumCloselistAnnounceCapable(void) = 0;
|
||||||
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user