ui/winui/App.xaml.h

Mon, 12 Jan 2026 20:54:27 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Mon, 12 Jan 2026 20:54:27 +0100
changeset 1046
94df16a7fff2
parent 205
b1ac0dd1d38b
permissions
-rw-r--r--

fix ui_close could make UiObjects unusable (GTK)

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