Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions PowerToys.slnx
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,11 @@
<Folder Name="/modules/FileLocksmith/Tests/">
<Project Path="src/modules/FileLocksmith/FileLocksmithCLI/tests/FileLocksmithCLIUnitTests.vcxproj" Id="a1b2c3d4-e5f6-7890-1234-567890abcdef" />
</Folder>
<Folder Name="/modules/FileConverter/">
<Project Path="src/modules/FileConverter/FileConverterContextMenu/FileConverterContextMenu.vcxproj" Id="f3610647-6f9f-45ee-987f-c9a89c23f7f0" />
<Project Path="src/modules/FileConverter/FileConverterLib/FileConverterLib.vcxproj" Id="2d6e2c29-43ce-4be9-b0fd-2f6240d04ef4" />
<Project Path="src/modules/FileConverter/FileConverterModuleInterface/FileConverterModuleInterface.vcxproj" Id="7f2a1e2c-3b84-4c84-9e8d-29ef6abf1d11" />
</Folder>
<Folder Name="/modules/Hosts/">
<Project Path="src/modules/Hosts/Hosts/Hosts.csproj">
<Platform Solution="*|ARM64" Project="ARM64" />
Expand Down Expand Up @@ -1089,6 +1094,8 @@
<BuildDependency Project="src/modules/awake/AwakeModuleInterface/AwakeModuleInterface.vcxproj" />
<BuildDependency Project="src/modules/colorPicker/ColorPicker/ColorPicker.vcxproj" />
<BuildDependency Project="src/modules/colorPicker/ColorPickerUI/ColorPickerUI.csproj" />
<BuildDependency Project="src/modules/FileConverter/FileConverterContextMenu/FileConverterContextMenu.vcxproj" />
<BuildDependency Project="src/modules/FileConverter/FileConverterModuleInterface/FileConverterModuleInterface.vcxproj" />
<BuildDependency Project="src/modules/fancyzones/editor/FancyZonesEditor/FancyZonesEditor.csproj" />
<BuildDependency Project="src/modules/fancyzones/FancyZonesLib/FancyZonesLib.vcxproj" />
<BuildDependency Project="src/modules/fancyzones/FancyZonesModuleInterface/FancyZonesModuleInterface.vcxproj" />
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/common/ManagedCommon/ModuleType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,6 @@ public enum ModuleType
Workspaces,
ZoomIt,
GeneralSettings,
FileConverter,
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
<?xml version="1.0" encoding="utf-8"?>
<Package
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
xmlns:uap2="http://schemas.microsoft.com/appx/manifest/uap/windows10/2"
xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3"
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10"
xmlns:desktop4="http://schemas.microsoft.com/appx/manifest/desktop/windows10/4"
xmlns:desktop5="http://schemas.microsoft.com/appx/manifest/desktop/windows10/5"
xmlns:uap10="http://schemas.microsoft.com/appx/manifest/uap/windows10/10"
xmlns:com="http://schemas.microsoft.com/appx/manifest/com/windows10"
IgnorableNamespaces="uap uap2 uap3 rescap desktop desktop4 desktop5 uap10 com">
<Identity Name="Microsoft.PowerToys.FileConverterContextMenu" ProcessorArchitecture="neutral" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" Version="1.0.0.0" />
<Properties>
<DisplayName>PowerToys File Converter Context Menu</DisplayName>
<PublisherDisplayName>Microsoft</PublisherDisplayName>
<Logo>Assets\FileConverter\storelogo.png</Logo>
<uap10:AllowExternalContent>true</uap10:AllowExternalContent>
</Properties>
<Resources>
<Resource Language="en-us" />
</Resources>
<Dependencies>
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.18950.0" MaxVersionTested="10.0.19000.0" />
</Dependencies>
<Capabilities>
<rescap:Capability Name="runFullTrust" />
<rescap:Capability Name="unvirtualizedResources"/>
</Capabilities>
<Applications>
<Application Id="Microsoft.PowerToys.FileConverterContextMenu" Executable="PowerToys.Settings.exe" uap10:TrustLevel="mediumIL" uap10:RuntimeBehavior="win32App">
<uap:VisualElements AppListEntry="none" DisplayName="PowerToys File Converter Context Menu" Description="FileConverterContextMenu" BackgroundColor="transparent" Square150x150Logo="Assets\FileConverter\Square150x150Logo.png" Square44x44Logo="Assets\FileConverter\Square44x44Logo.png">
<uap:DefaultTile Wide310x150Logo="Assets\FileConverter\Wide310x150Logo.png" Square310x310Logo="Assets\FileConverter\LargeTile.png" Square71x71Logo="Assets\FileConverter\SmallTile.png"></uap:DefaultTile>
<uap:SplashScreen Image="Assets\FileConverter\SplashScreen.png" />
</uap:VisualElements>
<Extensions>
<desktop4:Extension Category="windows.fileExplorerContextMenus">
<desktop4:FileExplorerContextMenus>
<desktop5:ItemType Type=".bmp">
<desktop5:Verb Id="FileConverterCommand" Clsid="57EC18F5-24D5-4DC6-AE2E-9D0F7A39F8BA" />
</desktop5:ItemType>
<desktop5:ItemType Type=".dib">
<desktop5:Verb Id="FileConverterCommand" Clsid="57EC18F5-24D5-4DC6-AE2E-9D0F7A39F8BA" />
</desktop5:ItemType>
<desktop5:ItemType Type=".gif">
<desktop5:Verb Id="FileConverterCommand" Clsid="57EC18F5-24D5-4DC6-AE2E-9D0F7A39F8BA" />
</desktop5:ItemType>
<desktop5:ItemType Type=".jfif">
<desktop5:Verb Id="FileConverterCommand" Clsid="57EC18F5-24D5-4DC6-AE2E-9D0F7A39F8BA" />
</desktop5:ItemType>
<desktop5:ItemType Type=".jpe">
<desktop5:Verb Id="FileConverterCommand" Clsid="57EC18F5-24D5-4DC6-AE2E-9D0F7A39F8BA" />
</desktop5:ItemType>
<desktop5:ItemType Type=".jpeg">
<desktop5:Verb Id="FileConverterCommand" Clsid="57EC18F5-24D5-4DC6-AE2E-9D0F7A39F8BA" />
</desktop5:ItemType>
<desktop5:ItemType Type=".jpg">
<desktop5:Verb Id="FileConverterCommand" Clsid="57EC18F5-24D5-4DC6-AE2E-9D0F7A39F8BA" />
</desktop5:ItemType>
<desktop5:ItemType Type=".jxr">
<desktop5:Verb Id="FileConverterCommand" Clsid="57EC18F5-24D5-4DC6-AE2E-9D0F7A39F8BA" />
</desktop5:ItemType>
<desktop5:ItemType Type=".png">
<desktop5:Verb Id="FileConverterCommand" Clsid="57EC18F5-24D5-4DC6-AE2E-9D0F7A39F8BA" />
</desktop5:ItemType>
<desktop5:ItemType Type=".tif">
<desktop5:Verb Id="FileConverterCommand" Clsid="57EC18F5-24D5-4DC6-AE2E-9D0F7A39F8BA" />
</desktop5:ItemType>
<desktop5:ItemType Type=".tiff">
<desktop5:Verb Id="FileConverterCommand" Clsid="57EC18F5-24D5-4DC6-AE2E-9D0F7A39F8BA" />
</desktop5:ItemType>
<desktop5:ItemType Type=".wdp">
<desktop5:Verb Id="FileConverterCommand" Clsid="57EC18F5-24D5-4DC6-AE2E-9D0F7A39F8BA" />
</desktop5:ItemType>
<desktop5:ItemType Type=".heic">
<desktop5:Verb Id="FileConverterCommand" Clsid="57EC18F5-24D5-4DC6-AE2E-9D0F7A39F8BA" />
</desktop5:ItemType>
<desktop5:ItemType Type=".heif">
<desktop5:Verb Id="FileConverterCommand" Clsid="57EC18F5-24D5-4DC6-AE2E-9D0F7A39F8BA" />
</desktop5:ItemType>
<desktop5:ItemType Type=".webp">
<desktop5:Verb Id="FileConverterCommand" Clsid="57EC18F5-24D5-4DC6-AE2E-9D0F7A39F8BA" />
</desktop5:ItemType>
</desktop4:FileExplorerContextMenus>
</desktop4:Extension>
<com:Extension Category="windows.comServer" uap10:RuntimeBehavior="packagedClassicApp">
<com:ComServer>
<com:SurrogateServer DisplayName="Context menu verb handler">
<com:Class Id="57EC18F5-24D5-4DC6-AE2E-9D0F7A39F8BA" Path="PowerToys.FileConverterContextMenu.dll" ThreadingModel="STA"/>
</com:SurrogateServer>
</com:ComServer>
</com:Extension>
</Extensions>
</Application>
</Applications>
</Package>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Label="Globals">
<Keyword>Win32Proj</Keyword>
<ProjectGuid>{f3610647-6f9f-45ee-987f-c9a89c23f7f0}</ProjectGuid>
<RootNamespace>FileConverterContextMenu</RootNamespace>
<ProjectName>FileConverterContextMenu</ProjectName>
<TargetName>PowerToys.FileConverterContextMenu</TargetName>
</PropertyGroup>
<PropertyGroup Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings" />
<ImportGroup Label="Shared" />
<ImportGroup Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<OutDir>$(RepoRoot)$(Platform)\$(Configuration)\WinUI3Apps\</OutDir>
<IntDir>$(SolutionDir)$(Platform)\$(Configuration)\TemporaryBuild\obj\$(ProjectName)\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<PreprocessorDefinitions>_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\FileConverterLib;$(RepoRoot)src\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableUAC>false</EnableUAC>
<ModuleDefinitionFile>Source.def</ModuleDefinitionFile>
<AdditionalDependencies>runtimeobject.lib;shell32.lib;shlwapi.lib;windowscodecs.lib;ole32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="framework.h" />
<ClInclude Include="pch.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="dllmain.cpp" />
<ClCompile Include="pch.cpp">
<PrecompiledHeader Condition="'$(UsePrecompiledHeaders)' != 'false'">Create</PrecompiledHeader>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\FileConverterLib\FileConverterLib.vcxproj">
<Project>{2d6e2c29-43ce-4be9-b0fd-2f6240d04ef4}</Project>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="AppxManifest.xml" />
<None Include="..\Strings\en-us\Resources.resw" />
<None Include="Source.def" />
<None Include="Assets\FileConverter\LargeTile.png" />
<None Include="Assets\FileConverter\SmallTile.png" />
<None Include="Assets\FileConverter\SplashScreen.png" />
<None Include="Assets\FileConverter\Square150x150Logo.png" />
<None Include="Assets\FileConverter\Square44x44Logo.png" />
<None Include="Assets\FileConverter\storelogo.png" />
<None Include="Assets\FileConverter\Wide310x150Logo.png" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
</Project>
4 changes: 4 additions & 0 deletions src/modules/FileConverter/FileConverterContextMenu/Source.def
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
EXPORTS
DllGetActivationFactory PRIVATE
DllCanUnloadNow PRIVATE
DllGetClassObject PRIVATE
Loading
Loading