PCH: remove headers which are actually could be changed (#950)

This commit is contained in:
yuyoyuppe
2019-12-17 11:21:46 +03:00
committed by GitHub
parent 619ed234a9
commit 303d1fef6b
33 changed files with 61 additions and 23 deletions

View File

@@ -11,7 +11,6 @@
#include <atlbase.h>
#include <Shobjidl.h>
#include <Shlobj.h>
#include "common/common.h"
void DllAddRef();
void DllRelease();

View File

@@ -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);

View File

@@ -3,6 +3,9 @@
#include <map>
#include "srwlock.h"
#include <lib/PowerRenameManager.h>
#include <lib/PowerRenameInterfaces.h>
class CPowerRenameManager :
public IPowerRenameManager,
public IPowerRenameRegExEvents

View File

@@ -4,6 +4,8 @@
#include <string>
#include "srwlock.h"
#include "PowerRenameInterfaces.h"
#define DEFAULT_FLAGS MatchAllOccurences
class CPowerRenameRegEx : public IPowerRenameRegEx

View File

@@ -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";

View File

@@ -19,5 +19,3 @@
#include <shlwapi.h>
#include <ProjectTelemetry.h>
#include "PowerRenameInterfaces.h"

View File

@@ -2,6 +2,7 @@
#include <vector>
#include "srwlock.h"
#include "PowerRenameInterfaces.h"
class CMockPowerRenameRegExEvents :
public IPowerRenameRegExEvents
{