ui/winui/App.xaml.h

Tue, 19 May 2026 18:10:13 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Tue, 19 May 2026 18:10:13 +0200
changeset 1129
a4affe75198c
parent 205
b1ac0dd1d38b
permissions
-rw-r--r--

rework window closing behavior and reference counting (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