-
Notifications
You must be signed in to change notification settings - Fork 329
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding Terminal Velocity Check for experimental API (#4906)
- Loading branch information
1 parent
e4227ec
commit d6e1cfd
Showing
7 changed files
with
96 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// Copyright (c) Microsoft Corporation and Contributors. | ||
// Licensed under the MIT License. | ||
|
||
// THIS FILE IS AUTOMATICALLY GENERATED; DO NOT EDIT IT | ||
|
||
// INPUT FILE: dev\common\TerminalVelocityFeatures-CameraCaptureUI.xml | ||
// OPTIONS: -Channel Experimental -Language C++ -Namespace Microsoft.Windows.Media.Capture -Path dev\common\TerminalVelocityFeatures-CameraCaptureUI.xml -Output dev\common\TerminalVelocityFeatures-CameraCaptureUI.h | ||
|
||
#if defined(__midlrt) | ||
namespace features | ||
{ | ||
feature_name Feature_CameraCaptureUI = { DisabledByDefault, FALSE }; | ||
} | ||
#endif // defined(__midlrt) | ||
|
||
// Feature constants | ||
#define WINDOWSAPPRUNTIME_MICROSOFT_WINDOWS_MEDIA_CAPTURE_FEATURE_CAMERACAPTUREUI_ENABLED 1 | ||
|
||
#if defined(__cplusplus) | ||
|
||
namespace Microsoft::Windows::Media::Capture | ||
{ | ||
|
||
__pragma(detect_mismatch("ODR_violation_WINDOWSAPPRUNTIME_MICROSOFT_WINDOWS_MEDIA_CAPTURE_FEATURE_CAMERACAPTUREUI_ENABLED_mismatch", "AlwaysEnabled")) | ||
struct Feature_CameraCaptureUI | ||
{ | ||
static constexpr bool IsEnabled() { return WINDOWSAPPRUNTIME_MICROSOFT_WINDOWS_MEDIA_CAPTURE_FEATURE_CAMERACAPTUREUI_ENABLED == 1; } | ||
}; | ||
|
||
} // namespace Microsoft.Windows.Media.Capture | ||
|
||
#endif // defined(__cplusplus) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0"?> | ||
<features xmlns="http://microsoft.com/windowsappsdk/TerminalVelocity/20210729/TerminalVelocityFeatures.xsd"> | ||
|
||
<!-- Copyright (c) Microsoft Corporation. All rights reserved. | ||
Licensed under the MIT License. See LICENSE in the project root for license information. | ||
--> | ||
|
||
<!-- See docs/Coding-Guidelines/TerminalVelocity.md for more info. --> | ||
|
||
<!-- Enabled variants --> | ||
<feature> | ||
<name>Feature_CameraCaptureUI</name> | ||
<description>CameraCaptureUI for the WindowsAppRuntime</description> | ||
<state>AlwaysEnabled</state> | ||
<alwaysDisabledChannelTokens> | ||
<channelToken>Preview</channelToken> | ||
<channelToken>Stable</channelToken> | ||
</alwaysDisabledChannelTokens> | ||
</feature> | ||
</features> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters