fb22eae072
If a class has a constructor which can be called with a single argument, then this constructor becomes conversion constructor because such a constructor allows conversion of the single argument to the class being constructed. To ensure these constructors are passed the argument of its type, I labeled them explicit. In some header files, there were constructors that took a value that could involve implicit conversions, so I added explicit to ensure that does not happen.
30 lines
595 B
C++
30 lines
595 B
C++
/*++
|
|
Copyright (c) Microsoft Corporation
|
|
Licensed under the MIT license.
|
|
|
|
Module Name:
|
|
- CopyFromCharPopup.hpp
|
|
|
|
Abstract:
|
|
- Popup used for use copying from char input
|
|
- contains code pulled from popup.cpp and cmdline.cpp
|
|
|
|
Author:
|
|
- Austin Diviness (AustDi) 18-Aug-2018
|
|
--*/
|
|
|
|
#pragma once
|
|
|
|
#include "popup.h"
|
|
|
|
class CopyFromCharPopup final : public Popup
|
|
{
|
|
public:
|
|
explicit CopyFromCharPopup(SCREEN_INFORMATION& screenInfo);
|
|
|
|
[[nodiscard]] NTSTATUS Process(COOKED_READ_DATA& cookedReadData) noexcept override;
|
|
|
|
protected:
|
|
void _DrawContent() override;
|
|
};
|