terminal/src/host/IIoProvider.hpp
Dustin Howett d4d59fa339 Initial release of the Windows Terminal source code
This commit introduces all of the Windows Terminal and Console Host source,
under the MIT license.
2019-05-02 15:29:04 -07:00

30 lines
643 B
C++

/*++
Copyright (c) Microsoft Corporation
Licensed under the MIT license.
Module Name:
- IIoProvider.hpp
Abstract:
- Provides an abstraction for aquiring the active input and output objects of
the console.
Author(s):
- Mike Griese (migrie) 11 Oct 2017
--*/
#pragma once
class SCREEN_INFORMATION;
class InputBuffer;
namespace Microsoft::Console
{
class IIoProvider
{
public:
virtual SCREEN_INFORMATION& GetActiveOutputBuffer() = 0;
virtual const SCREEN_INFORMATION& GetActiveOutputBuffer() const = 0;
virtual InputBuffer* const GetActiveInputBuffer() const = 0;
};
}