mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 12:18:50 +02:00
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request Clean up unused providers for AdvancedPaste <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] Closes: #43429 - [ ] **Communication:** I've discussed this with core contributors already. If the work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end-user-facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed, or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed
89 lines
5.5 KiB
C++
89 lines
5.5 KiB
C++
#pragma once
|
|
#include "GPOWrapper.g.h"
|
|
#include <common/utils/gpo.h>
|
|
|
|
namespace winrt::PowerToys::GPOWrapper::implementation
|
|
{
|
|
struct GPOWrapper : GPOWrapperT<GPOWrapper>
|
|
{
|
|
GPOWrapper() = default;
|
|
static GpoRuleConfigured GetConfiguredAlwaysOnTopEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredAwakeEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredCmdNotFoundEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredCmdPalEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredColorPickerEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredCropAndLockEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredLightSwitchEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredFancyZonesEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredFileLocksmithEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredSvgPreviewEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredMarkdownPreviewEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredMonacoPreviewEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredMouseWithoutBordersEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredPdfPreviewEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredGcodePreviewEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredBgcodePreviewEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredSvgThumbnailsEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredPdfThumbnailsEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredGcodeThumbnailsEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredBgcodeThumbnailsEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredStlThumbnailsEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredHostsFileEditorEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredImageResizerEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredKeyboardManagerEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredFindMyMouseEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredMouseHighlighterEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredMouseJumpEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredMousePointerCrosshairsEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredCursorWrapEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredPowerRenameEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredPowerLauncherEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredQuickAccentEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredRegistryPreviewEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredScreenRulerEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredShortcutGuideEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredTextExtractorEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredAdvancedPasteEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredZoomItEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredPeekEnabledValue();
|
|
static GpoRuleConfigured GetDisableNewUpdateToastValue();
|
|
static GpoRuleConfigured GetDisableAutomaticUpdateDownloadValue();
|
|
static GpoRuleConfigured GetDisableShowWhatsNewAfterUpdatesValue();
|
|
static GpoRuleConfigured GetAllowExperimentationValue();
|
|
static GpoRuleConfigured GetRunPluginEnabledValue(winrt::hstring const& pluginID);
|
|
static GpoRuleConfigured GetConfiguredEnvironmentVariablesEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredQoiPreviewEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredQoiThumbnailsEnabledValue();
|
|
static GpoRuleConfigured GetAllowedAdvancedPasteOnlineAIModelsValue();
|
|
static GpoRuleConfigured GetAllowedAdvancedPasteOpenAIValue();
|
|
static GpoRuleConfigured GetAllowedAdvancedPasteAzureOpenAIValue();
|
|
static GpoRuleConfigured GetAllowedAdvancedPasteAzureAIInferenceValue();
|
|
static GpoRuleConfigured GetAllowedAdvancedPasteMistralValue();
|
|
static GpoRuleConfigured GetAllowedAdvancedPasteGoogleValue();
|
|
static GpoRuleConfigured GetAllowedAdvancedPasteOllamaValue();
|
|
static GpoRuleConfigured GetAllowedAdvancedPasteFoundryLocalValue();
|
|
static GpoRuleConfigured GetConfiguredNewPlusEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredWorkspacesEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredMwbClipboardSharingEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredMwbFileTransferEnabledValue();
|
|
static GpoRuleConfigured GetConfiguredMwbUseOriginalUserInterfaceValue();
|
|
static GpoRuleConfigured GetConfiguredMwbDisallowBlockingScreensaverValue();
|
|
static GpoRuleConfigured GetConfiguredMwbAllowServiceModeValue();
|
|
static GpoRuleConfigured GetConfiguredMwbSameSubnetOnlyValue();
|
|
static GpoRuleConfigured GetConfiguredMwbValidateRemoteIpValue();
|
|
static GpoRuleConfigured GetConfiguredMwbDisableUserDefinedIpMappingRulesValue();
|
|
static winrt::hstring GPOWrapper::GetConfiguredMwbPolicyDefinedIpMappingRules();
|
|
static GpoRuleConfigured GetConfiguredNewPlusHideTemplateFilenameExtensionValue();
|
|
static GpoRuleConfigured GetAllowDataDiagnosticsValue();
|
|
static GpoRuleConfigured GetConfiguredRunAtStartupValue();
|
|
static GpoRuleConfigured GetConfiguredNewPlusReplaceVariablesValue();
|
|
};
|
|
}
|
|
|
|
namespace winrt::PowerToys::GPOWrapper::factory_implementation
|
|
{
|
|
struct GPOWrapper : GPOWrapperT<GPOWrapper, implementation::GPOWrapper>
|
|
{
|
|
};
|
|
}
|