ui/winui/App.xaml.h

Wed, 15 Apr 2026 11:19:25 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Wed, 15 Apr 2026 11:19:25 +0200
changeset 1089
a3db51a94b37
parent 205
b1ac0dd1d38b
permissions
-rw-r--r--

add document/context reference counter

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