mirror of
https://github.com/microsoft/terminal.git
synced 2026-04-15 10:41:02 +00:00
28 lines
768 B
C++
28 lines
768 B
C++
// Copyright (c) Microsoft Corporation.
|
|
// Licensed under the MIT license.
|
|
|
|
#include "pch.h"
|
|
#include "Remoting.h"
|
|
|
|
#include "CommandlineArgs.g.cpp"
|
|
#include "RequestReceiveContentArgs.g.cpp"
|
|
#include "SummonWindowBehavior.g.cpp"
|
|
#include "WindowRequestedArgs.g.cpp"
|
|
|
|
using namespace winrt;
|
|
using namespace winrt::Microsoft::Terminal;
|
|
using namespace winrt::Windows::Foundation;
|
|
|
|
namespace winrt::TerminalApp::implementation
|
|
{
|
|
void CommandlineArgs::Commandline(const winrt::array_view<const winrt::hstring>& value)
|
|
{
|
|
_args = { value.begin(), value.end() };
|
|
}
|
|
|
|
winrt::com_array<winrt::hstring> CommandlineArgs::Commandline()
|
|
{
|
|
return winrt::com_array<winrt::hstring>{ _args.begin(), _args.end() };
|
|
}
|
|
}
|