mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 03:36:44 +02:00
[Installer]Upgrade to Windows App SDK 1.1.0 (#18603)
* Move to WinAppSDK-1.1.0
* expect.txt
* Revert "[Settings]Don't launch if explorer is running elevated"
This reverts commit c485da2816.
* Make copyright header analyze suppression module scope
This commit is contained in:
@@ -69,7 +69,6 @@ public:
|
||||
IFACEMETHOD(GetSelected)(_Out_ bool* selected) = 0;
|
||||
IFACEMETHOD(PutSelected)(_In_ bool selected) = 0;
|
||||
IFACEMETHOD(GetId)(_Out_ int *id) = 0;
|
||||
IFACEMETHOD(GetIconIndex)(_Out_ int* iconIndex) = 0;
|
||||
IFACEMETHOD(GetDepth)(_Out_ UINT* depth) = 0;
|
||||
IFACEMETHOD(PutDepth)(_In_ int depth) = 0;
|
||||
IFACEMETHOD(ShouldRenameItem)(_In_ DWORD flags, _Out_ bool* shouldRename) = 0;
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#include "pch.h"
|
||||
#include "PowerRenameItem.h"
|
||||
#include <common/themes/icon_helpers.h>
|
||||
|
||||
int CPowerRenameItem::s_id = 0;
|
||||
|
||||
@@ -180,16 +179,6 @@ IFACEMETHODIMP CPowerRenameItem::GetId(_Out_ int* id)
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
IFACEMETHODIMP CPowerRenameItem::GetIconIndex(_Out_ int* iconIndex)
|
||||
{
|
||||
if (m_iconIndex == -1)
|
||||
{
|
||||
GetIconIndexFromPath((PCWSTR)m_path, &m_iconIndex);
|
||||
}
|
||||
*iconIndex = m_iconIndex;
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
IFACEMETHODIMP CPowerRenameItem::GetDepth(_Out_ UINT* depth)
|
||||
{
|
||||
*depth = m_depth;
|
||||
|
||||
@@ -27,7 +27,6 @@ public:
|
||||
IFACEMETHODIMP GetSelected(_Out_ bool* selected);
|
||||
IFACEMETHODIMP PutSelected(_In_ bool selected);
|
||||
IFACEMETHODIMP GetId(_Out_ int* id);
|
||||
IFACEMETHODIMP GetIconIndex(_Out_ int* iconIndex);
|
||||
IFACEMETHODIMP GetDepth(_Out_ UINT* depth);
|
||||
IFACEMETHODIMP PutDepth(_In_ int depth);
|
||||
IFACEMETHODIMP Reset();
|
||||
|
||||
Reference in New Issue
Block a user