mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-06-11 03:32:46 +08:00
Remove unused headers (#2471)
This commit is contained in:
parent
7903fe52b4
commit
c768b6bd0c
@ -7,7 +7,6 @@
|
|||||||
#include <msi.h>
|
#include <msi.h>
|
||||||
#include <common/common.h>
|
#include <common/common.h>
|
||||||
#include <common/json.h>
|
#include <common/json.h>
|
||||||
#include <common/version.h>
|
|
||||||
#include <common/settings_helpers.h>
|
#include <common/settings_helpers.h>
|
||||||
#include <common/winstore.h>
|
#include <common/winstore.h>
|
||||||
#include <common/notifications.h>
|
#include <common/notifications.h>
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
#include "pch.h"
|
#include "pch.h"
|
||||||
#include "auto_start_helper.h"
|
#include "auto_start_helper.h"
|
||||||
|
|
||||||
#include "general_settings.h"
|
|
||||||
|
|
||||||
#include <Lmcons.h>
|
#include <Lmcons.h>
|
||||||
|
|
||||||
#include <comdef.h>
|
#include <comdef.h>
|
||||||
@ -10,8 +8,6 @@
|
|||||||
#pragma comment(lib, "taskschd.lib")
|
#pragma comment(lib, "taskschd.lib")
|
||||||
#pragma comment(lib, "comsupp.lib")
|
#pragma comment(lib, "comsupp.lib")
|
||||||
|
|
||||||
#include <Shlobj.h>
|
|
||||||
|
|
||||||
// Helper macros from wix.
|
// Helper macros from wix.
|
||||||
// TODO: use "s" and "..." parameters to report errors from these functions.
|
// TODO: use "s" and "..." parameters to report errors from these functions.
|
||||||
#define ExitOnFailure(x, s, ...) \
|
#define ExitOnFailure(x, s, ...) \
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
#include <filesystem>
|
#include <filesystem>
|
||||||
#include "tray_icon.h"
|
#include "tray_icon.h"
|
||||||
#include "powertoy_module.h"
|
#include "powertoy_module.h"
|
||||||
#include "lowlevel_keyboard_event.h"
|
|
||||||
#include "trace.h"
|
#include "trace.h"
|
||||||
#include "general_settings.h"
|
#include "general_settings.h"
|
||||||
#include "restart_elevated.h"
|
#include "restart_elevated.h"
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
#include "pch.h"
|
#include "pch.h"
|
||||||
#include "powertoy_module.h"
|
#include "powertoy_module.h"
|
||||||
#include "lowlevel_keyboard_event.h"
|
|
||||||
#include <algorithm>
|
|
||||||
|
|
||||||
std::map<std::wstring, PowertoyModule>& modules()
|
std::map<std::wstring, PowertoyModule>& modules()
|
||||||
{
|
{
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
#include <WinSafer.h>
|
#include <WinSafer.h>
|
||||||
#include <Sddl.h>
|
#include <Sddl.h>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <accctrl.h>
|
|
||||||
#include <aclapi.h>
|
#include <aclapi.h>
|
||||||
|
|
||||||
#include "powertoy_module.h"
|
#include "powertoy_module.h"
|
||||||
|
@ -8,9 +8,6 @@
|
|||||||
#include <common/updating/updating.h>
|
#include <common/updating/updating.h>
|
||||||
#include <runner/general_settings.h>
|
#include <runner/general_settings.h>
|
||||||
|
|
||||||
#include <winrt/Windows.Web.Http.h>
|
|
||||||
#include <winrt/Windows.Web.Http.Headers.h>
|
|
||||||
|
|
||||||
bool start_msi_uninstallation_sequence()
|
bool start_msi_uninstallation_sequence()
|
||||||
{
|
{
|
||||||
const auto package_path = updating::get_msi_package_path();
|
const auto package_path = updating::get_msi_package_path();
|
||||||
|
Loading…
Reference in New Issue
Block a user