2020-12-10 01:36:28 +01:00
|
|
|
// Copyright (c) Microsoft Corporation.
|
|
|
|
// Licensed under the MIT license.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "PaletteItem.h"
|
|
|
|
#include "CommandLinePaletteItem.g.h"
|
|
|
|
#include "inc/cppwinrt_utils.h"
|
|
|
|
|
|
|
|
namespace winrt::TerminalApp::implementation
|
|
|
|
{
|
|
|
|
struct CommandLinePaletteItem : CommandLinePaletteItemT<CommandLinePaletteItem, PaletteItem>
|
|
|
|
{
|
|
|
|
CommandLinePaletteItem() = default;
|
|
|
|
CommandLinePaletteItem(winrt::hstring const& commandLine);
|
|
|
|
|
2021-03-04 20:27:03 +01:00
|
|
|
WINRT_PROPERTY(winrt::hstring, CommandLine);
|
2020-12-10 01:36:28 +01:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace winrt::TerminalApp::factory_implementation
|
|
|
|
{
|
|
|
|
BASIC_FACTORY(CommandLinePaletteItem);
|
|
|
|
}
|