ui/winui/App.xaml.h

Sat, 10 Jan 2026 19:44:10 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sat, 10 Jan 2026 19:44:10 +0100
changeset 1042
f3e2811ecf3a
parent 205
b1ac0dd1d38b
permissions
-rw-r--r--

add function for buffering mainthread calls

// 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