terminal/src/cascadia/TerminalApp/AdaptiveCardContent.h
Mike Griese e3b99b3ebf fuck you PRI175: 0x80073b0f - Processing Resources failed with error: Duplicate Entry
Seriously, this was going so fricken swimmingly and then this fricken error makes it totally impossible to build the package, that's garbage.

  Can't even build the CardExtensionPackage either, so obv I messed something simple up.
2021-10-14 11:26:56 -05:00

26 lines
839 B
C++

// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
#pragma once
#include "AdaptiveCardContent.g.h"
#include "../../cascadia/inc/cppwinrt_utils.h"
namespace winrt::TerminalApp::implementation
{
struct AdaptiveCardContent : AdaptiveCardContentT<AdaptiveCardContent>
{
AdaptiveCardContent();
bool InitFromString(const winrt::hstring& jsonString);
winrt::Windows::UI::Xaml::FrameworkElement GetRoot();
winrt::Windows::Foundation::Size MinSize();
void Focus();
void Close();
winrt::Microsoft::Terminal::Settings::Model::NewTerminalArgs GetTerminalArgsForPane() const;
private:
winrt::Windows::UI::Xaml::FrameworkElement _root{ nullptr };
winrt::AdaptiveCards::Rendering::Uwp::RenderedAdaptiveCard _renderedCard{ nullptr };
};
}