ui/winui/MainWindow.xaml.h

Sun, 18 Feb 2024 19:55:56 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sun, 18 Feb 2024 19:55:56 +0100
branch
newapi
changeset 268
1b321a0c624f
parent 205
b1ac0dd1d38b
permissions
-rw-r--r--

port table to new API, replace custom tree model with GtkListStore

// Copyright (c) Microsoft Corporation and Contributors.
// Licensed under the MIT License.

#pragma once

#include "MainWindow.g.h"

namespace winrt::winui::implementation
{
    struct MainWindow : MainWindowT<MainWindow>
    {
        MainWindow();

        int32_t MyProperty();
        void MyProperty(int32_t value);

        void myButton_Click(Windows::Foundation::IInspectable const& sender, Microsoft::UI::Xaml::RoutedEventArgs const& args);
    };
}

namespace winrt::winui::factory_implementation
{
    struct MainWindow : MainWindowT<MainWindow, implementation::MainWindow>
    {
    };
}

mercurial