mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 11:46:30 +02:00
PCH: remove headers which are actually could be changed (#950)
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
#include <atlbase.h>
|
||||
#include <Shobjidl.h>
|
||||
#include <Shlobj.h>
|
||||
#include "common/common.h"
|
||||
|
||||
void DllAddRef();
|
||||
void DllRelease();
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
#pragma once
|
||||
|
||||
#include <common.h>
|
||||
#include <lib/PowerRenameInterfaces.h>
|
||||
|
||||
HRESULT EnumerateDataObject(_In_ IDataObject* pdo, _In_ IPowerRenameManager* psrm);
|
||||
HRESULT GetIconIndexFromPath(_In_ PCWSTR path, _Out_ int* index);
|
||||
HBITMAP CreateBitmapFromIcon(_In_ HICON hIcon, _In_opt_ UINT width = 0, _In_opt_ UINT height = 0);
|
||||
|
||||
@@ -3,6 +3,9 @@
|
||||
#include <map>
|
||||
#include "srwlock.h"
|
||||
|
||||
#include <lib/PowerRenameManager.h>
|
||||
#include <lib/PowerRenameInterfaces.h>
|
||||
|
||||
class CPowerRenameManager :
|
||||
public IPowerRenameManager,
|
||||
public IPowerRenameRegExEvents
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
#include <string>
|
||||
#include "srwlock.h"
|
||||
|
||||
#include "PowerRenameInterfaces.h"
|
||||
|
||||
#define DEFAULT_FLAGS MatchAllOccurences
|
||||
|
||||
class CPowerRenameRegEx : public IPowerRenameRegEx
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#include "stdafx.h"
|
||||
#include <commctrl.h>
|
||||
#include "Settings.h"
|
||||
#include "PowerRenameInterfaces.h"
|
||||
|
||||
const wchar_t c_rootRegPath[] = L"Software\\Microsoft\\PowerRename";
|
||||
const wchar_t c_mruSearchRegPath[] = L"SearchMRU";
|
||||
|
||||
@@ -19,5 +19,3 @@
|
||||
#include <shlwapi.h>
|
||||
|
||||
#include <ProjectTelemetry.h>
|
||||
|
||||
#include "PowerRenameInterfaces.h"
|
||||
@@ -2,6 +2,7 @@
|
||||
#include <vector>
|
||||
#include "srwlock.h"
|
||||
|
||||
#include "PowerRenameInterfaces.h"
|
||||
class CMockPowerRenameRegExEvents :
|
||||
public IPowerRenameRegExEvents
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user