Skip to content

Commit

Permalink
Public deconstructor
Browse files Browse the repository at this point in the history
  • Loading branch information
FrayxRulez committed May 13, 2017
1 parent 5566360 commit 682730f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion os/windows/CXWrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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;
Expand Down

0 comments on commit 682730f

Please sign in to comment.