33 lines
885 B
C++
33 lines
885 B
C++
// Copyright (c) Microsoft Corporation.
|
|
// Licensed under the MIT license.
|
|
|
|
#pragma once
|
|
|
|
#include "ContentProcess.g.h"
|
|
#include "ControlInteractivity.h"
|
|
|
|
namespace winrt::Microsoft::Terminal::Control::implementation
|
|
{
|
|
struct ContentProcess : ContentProcessT<ContentProcess>
|
|
|
|
{
|
|
ContentProcess();
|
|
~ContentProcess();
|
|
bool Initialize(Control::IControlSettings settings,
|
|
TerminalConnection::ConnectionInformation connectionInfo);
|
|
Control::ControlInteractivity GetInteractivity();
|
|
|
|
uint64_t GetPID();
|
|
uint64_t RequestSwapChainHandle(const uint64_t pid);
|
|
|
|
private:
|
|
Control::ControlInteractivity _interactivity{ nullptr };
|
|
uint64_t _ourPID;
|
|
};
|
|
}
|
|
|
|
namespace winrt::Microsoft::Terminal::Control::factory_implementation
|
|
{
|
|
BASIC_FACTORY(ContentProcess);
|
|
}
|