71 |
71 |
72 #define UIEXPORT __declspec(dllexport) |
72 #define UIEXPORT __declspec(dllexport) |
73 |
73 |
74 #ifdef __cplusplus |
74 #ifdef __cplusplus |
75 |
75 |
|
76 #ifndef UI_WINUI_PCH |
76 #include <Windows.h> |
77 #include <Windows.h> |
77 #undef GetCurrentTime |
78 #undef GetCurrentTime |
78 #include <winrt/Windows.Foundation.Collections.h> |
79 #include <winrt/Windows.Foundation.Collections.h> |
79 #include <winrt/Windows.UI.Xaml.Interop.h> |
80 #include <winrt/Windows.UI.Xaml.Interop.h> |
80 #include <winrt/Microsoft.UI.Xaml.Controls.h> |
81 #include <winrt/Microsoft.UI.Xaml.Controls.h> |
|
82 #endif |
81 |
83 |
82 class UiWindow { |
84 class UiWindow { |
83 public: |
85 public: |
84 winrt::Microsoft::UI::Xaml::Window window { nullptr }; |
86 winrt::Microsoft::UI::Xaml::Window window { nullptr }; |
85 |
87 |