6 #ifndef ZDK_NET_OSCallRepresentative_h
7 #define ZDK_NET_OSCallRepresentative_h
9 #include "native_shared_ptr.h"
10 #include "PublicInterfaces.h"
11 #include "OSCallCordinatorEventsHandler.h"
14 using namespace System::Collections::Generic;
18 ref class OSCallCordinatorEventsHandler;
26 static bool RegisterEventListeners()
28 std::shared_ptr<GeneralStatusEventListener> OSCallCordinatorEventsHandler_Listener_tmp = std::make_shared<GeneralStatusEventListener>();
29 OSCallCordinatorEventsHandler_Listener = OSCallCordinatorEventsHandler_Listener_tmp.get();
30 listenersMap->try_emplace(
reinterpret_cast<intptr_t
>(OSCallCordinatorEventsHandler_Listener), std::move(OSCallCordinatorEventsHandler_Listener_tmp));
34 static bool RegisteredEventListeners = RegisterEventListeners();
36 ZDK::IOSCallRepresentative* cppRef =
nullptr;
42 void NotifyCallActive();
44 void NotifyCallHeld();
46 void NotifyCallEnded();
52 virtual long long Handle()
override;
54 virtual void Initialize()
override;
56 virtual void ReleaseReference()
override;