1
0
mirror of https://github.com/danog/libtgvoip.git synced 2025-01-22 13:01:21 +01:00

Public deconstructor

This commit is contained in:
Fela Ameghino 2017-05-13 18:30:40 +02:00
parent 5566360b01
commit 682730f0eb

View File

@ -55,6 +55,8 @@ namespace libtgvoip{
public ref class VoIPControllerWrapper sealed{
public:
VoIPControllerWrapper();
virtual ~VoIPControllerWrapper();
void Start();
void Connect();
void SetPublicEndpoints(Windows::Foundation::Collections::IIterable<Endpoint^>^ endpoints, bool allowP2P);
@ -70,7 +72,6 @@ namespace libtgvoip{
static void UpdateServerConfig(Platform::String^ json);
//static Platform::String^ TestAesIge();
private:
~VoIPControllerWrapper();
static void OnStateChanged(tgvoip::VoIPController* c, int state);
void OnStateChangedInternal(int state);
tgvoip::VoIPController* controller;