ui/winui/App.xaml.h

branch
newapi
changeset 205
b1ac0dd1d38b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ui/winui/App.xaml.h	Tue Oct 10 10:58:14 2023 +0200
@@ -0,0 +1,19 @@
+// Copyright (c) Microsoft Corporation and Contributors.
+// Licensed under the MIT License.
+
+#pragma once
+
+#include "App.xaml.g.h"
+
+namespace winrt::winui::implementation
+{
+    struct App : AppT<App>
+    {
+        App();
+
+        void OnLaunched(Microsoft::UI::Xaml::LaunchActivatedEventArgs const&);
+
+    private:
+        winrt::Microsoft::UI::Xaml::Window window{ nullptr };
+    };
+}

mercurial