@@ -29,6 +29,20 @@ either expressed or implied, of the FreeBSD Project.
29
29
30
30
*/
31
31
32
+ #ifdef WINUWP
33
+
34
+ #ifdef __cplusplus_winrt
35
+ #include < windows.ui.core.h>
36
+ #endif // __cplusplus_winrt
37
+
38
+ #ifdef __has_include
39
+ #if __has_include(<winrt/windows.ui.core.h>)
40
+ #include < winrt/windows.ui.core.h>
41
+ #endif // __has_include(<winrt/windows.ui.core.h>)
42
+ #endif // __has_include
43
+
44
+ #endif // WINUWP
45
+
32
46
#include < zsLib/eventing/internal/zsLib_eventing_Helper.h>
33
47
34
48
#include < zsLib/Numeric.h>
@@ -152,13 +166,24 @@ namespace zsLib
152
166
}
153
167
154
168
#ifdef WINUWP
169
+ #ifdef __cplusplus_winrt
155
170
// -------------------------------------------------------------------------
156
171
void IHelper::setup (Windows::UI::Core::CoreDispatcher ^dispatcher) noexcept
157
172
{
158
173
zsLib::IHelper::setup (dispatcher);
159
174
internal::CryptoPPHelper::singleton ();
160
175
internal::installRemoteEventingSettingsDefaults ();
161
176
}
177
+ #endif // __cplusplus_winrt
178
+ #ifdef CPPWINRT_VERSION
179
+ // -------------------------------------------------------------------------
180
+ void IHelper::setup (winrt::Windows::UI::Core::CoreDispatcher dispatcher) noexcept
181
+ {
182
+ zsLib::IHelper::setup (dispatcher);
183
+ internal::CryptoPPHelper::singleton ();
184
+ internal::installRemoteEventingSettingsDefaults ();
185
+ }
186
+ #endif // CPPWINRT_VERSION
162
187
#endif // WINUWP
163
188
164
189
// -------------------------------------------------------------------------
0 commit comments