Tools: [skip ci] in thumbnail provider replace CxImage library with Win32 API
This commit is contained in:
@@ -29,8 +29,132 @@
|
||||
#include <iostream>
|
||||
#include <zipios++/zipinputstream.h>
|
||||
#include <zipios++/zipfile.h>
|
||||
#include <CxImage/xmemfile.h>
|
||||
#include <CxImage/ximapng.h>
|
||||
#include <wincodec.h>
|
||||
#include <wincodecsdk.h>
|
||||
#pragma comment(lib, "WindowsCodecs.lib")
|
||||
|
||||
// The functions
|
||||
// * CreateStreamOnResource
|
||||
// * LoadBitmapFromStream
|
||||
// * CreateHBITMAP
|
||||
// are taken from https://faithlife.codes/blog/2008/09/displaying_a_splash_screen_with_c_part_i/
|
||||
// The code is released under an MIT-style license
|
||||
|
||||
// Creates a stream object initialized with the data from an executable resource.
|
||||
IStream* CreateStreamOnResource(void* buffer, size_t length)
|
||||
{
|
||||
// initialize return value
|
||||
IStream* ipStream = NULL;
|
||||
|
||||
// allocate memory to hold the resource data
|
||||
HGLOBAL hgblResourceData = GlobalAlloc(GMEM_MOVEABLE, length);
|
||||
if (hgblResourceData == NULL)
|
||||
goto Return;
|
||||
|
||||
// get a pointer to the allocated memory
|
||||
LPVOID pvResourceData = GlobalLock(hgblResourceData);
|
||||
if (pvResourceData == NULL)
|
||||
goto FreeData;
|
||||
|
||||
// copy the data from the resource to the new memory block
|
||||
CopyMemory(pvResourceData, buffer, length);
|
||||
GlobalUnlock(hgblResourceData);
|
||||
|
||||
// create a stream on the HGLOBAL containing the data
|
||||
|
||||
if (SUCCEEDED(CreateStreamOnHGlobal(hgblResourceData, TRUE, &ipStream)))
|
||||
goto Return;
|
||||
|
||||
FreeData:
|
||||
// couldn't create stream; free the memory
|
||||
|
||||
GlobalFree(hgblResourceData);
|
||||
|
||||
Return:
|
||||
// no need to unlock or free the resource
|
||||
return ipStream;
|
||||
}
|
||||
|
||||
IWICBitmapSource* LoadBitmapFromStream(IStream* ipImageStream)
|
||||
{
|
||||
// initialize return value
|
||||
IWICBitmapSource* ipBitmap = NULL;
|
||||
|
||||
// load WIC's PNG decoder
|
||||
IWICBitmapDecoder* ipDecoder = NULL;
|
||||
if (FAILED(CoCreateInstance(CLSID_WICPngDecoder, NULL, CLSCTX_INPROC_SERVER, __uuidof(ipDecoder), reinterpret_cast<void**>(&ipDecoder))))
|
||||
goto Return;
|
||||
|
||||
// load the PNG
|
||||
if (FAILED(ipDecoder->Initialize(ipImageStream, WICDecodeMetadataCacheOnLoad)))
|
||||
goto ReleaseDecoder;
|
||||
|
||||
// check for the presence of the first frame in the bitmap
|
||||
UINT nFrameCount = 0;
|
||||
if (FAILED(ipDecoder->GetFrameCount(&nFrameCount)) || nFrameCount != 1)
|
||||
goto ReleaseDecoder;
|
||||
|
||||
// load the first frame (i.e., the image)
|
||||
IWICBitmapFrameDecode* ipFrame = NULL;
|
||||
if (FAILED(ipDecoder->GetFrame(0, &ipFrame)))
|
||||
goto ReleaseDecoder;
|
||||
|
||||
// convert the image to 32bpp BGRA format with pre-multiplied alpha
|
||||
// (it may not be stored in that format natively in the PNG resource,
|
||||
// but we need this format to create the DIB to use on-screen)
|
||||
WICConvertBitmapSource(GUID_WICPixelFormat32bppPBGRA, ipFrame, &ipBitmap);
|
||||
ipFrame->Release();
|
||||
|
||||
ReleaseDecoder:
|
||||
ipDecoder->Release();
|
||||
Return:
|
||||
return ipBitmap;
|
||||
}
|
||||
|
||||
HBITMAP CreateHBITMAP(IWICBitmapSource* ipBitmap)
|
||||
{
|
||||
// initialize return value
|
||||
HBITMAP hbmp = NULL;
|
||||
|
||||
// get image attributes and check for valid image
|
||||
UINT width = 0;
|
||||
UINT height = 0;
|
||||
if (FAILED(ipBitmap->GetSize(&width, &height)) || width == 0 || height == 0)
|
||||
goto Return;
|
||||
|
||||
// prepare structure giving bitmap information (negative height indicates a top-down DIB)
|
||||
BITMAPINFO bminfo;
|
||||
ZeroMemory(&bminfo, sizeof(bminfo));
|
||||
bminfo.bmiHeader.biSize = sizeof(BITMAPINFOHEADER);
|
||||
bminfo.bmiHeader.biWidth = width;
|
||||
bminfo.bmiHeader.biHeight = -((LONG)height);
|
||||
bminfo.bmiHeader.biPlanes = 1;
|
||||
bminfo.bmiHeader.biBitCount = 32;
|
||||
bminfo.bmiHeader.biCompression = BI_RGB;
|
||||
|
||||
// create a DIB section that can hold the image
|
||||
void* pvImageBits = NULL;
|
||||
HDC hdcScreen = GetDC(NULL);
|
||||
hbmp = CreateDIBSection(hdcScreen, &bminfo, DIB_RGB_COLORS, &pvImageBits, NULL, 0);
|
||||
ReleaseDC(NULL, hdcScreen);
|
||||
if (hbmp == NULL)
|
||||
goto Return;
|
||||
|
||||
// extract the image into the HBITMAP
|
||||
|
||||
const UINT cbStride = width * 4;
|
||||
const UINT cbImage = cbStride * height;
|
||||
if (FAILED(ipBitmap->CopyPixels(NULL, cbStride, cbImage, static_cast<BYTE*>(pvImageBits))))
|
||||
{
|
||||
// couldn't extract image; delete HBITMAP
|
||||
|
||||
DeleteObject(hbmp);
|
||||
hbmp = NULL;
|
||||
}
|
||||
|
||||
Return:
|
||||
return hbmp;
|
||||
}
|
||||
|
||||
CThumbnailProvider::CThumbnailProvider()
|
||||
{
|
||||
@@ -136,11 +260,16 @@ STDMETHODIMP CThumbnailProvider::GetThumbnail(UINT cx,
|
||||
}
|
||||
|
||||
// pass the memory buffer to CxImage library to create the bitmap handle
|
||||
CxMemFile mem(&(content[0]),content.size());
|
||||
CxImagePNG png;
|
||||
png.Decode(&mem);
|
||||
*phbmp = png.MakeBitmap();
|
||||
*pdwAlpha = WTSAT_UNKNOWN;
|
||||
IStream* stream = CreateStreamOnResource(&(content[0]), content.size());
|
||||
if (stream) {
|
||||
IWICBitmapSource* bmpSrc = LoadBitmapFromStream(stream);
|
||||
stream->Release();
|
||||
if (bmpSrc) {
|
||||
*phbmp = CreateHBITMAP(bmpSrc);
|
||||
*pdwAlpha = WTSAT_UNKNOWN;
|
||||
bmpSrc->Release();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
catch(...) {
|
||||
|
||||
31
src/Tools/thumbs/ThumbnailProvider/ThumbnailProvider.sln
Normal file
31
src/Tools/thumbs/ThumbnailProvider/ThumbnailProvider.sln
Normal file
@@ -0,0 +1,31 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.31410.357
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "FCStdThumbnail", "ThumbnailProvider.vcxproj", "{B4F22D8C-736E-46BF-85FB-259EF73EA0FC}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|x64 = Debug|x64
|
||||
Debug|x86 = Debug|x86
|
||||
Release|x64 = Release|x64
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{B4F22D8C-736E-46BF-85FB-259EF73EA0FC}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{B4F22D8C-736E-46BF-85FB-259EF73EA0FC}.Debug|x64.Build.0 = Debug|x64
|
||||
{B4F22D8C-736E-46BF-85FB-259EF73EA0FC}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{B4F22D8C-736E-46BF-85FB-259EF73EA0FC}.Debug|x86.Build.0 = Debug|Win32
|
||||
{B4F22D8C-736E-46BF-85FB-259EF73EA0FC}.Release|x64.ActiveCfg = Release|x64
|
||||
{B4F22D8C-736E-46BF-85FB-259EF73EA0FC}.Release|x64.Build.0 = Release|x64
|
||||
{B4F22D8C-736E-46BF-85FB-259EF73EA0FC}.Release|x86.ActiveCfg = Release|Win32
|
||||
{B4F22D8C-736E-46BF-85FB-259EF73EA0FC}.Release|x86.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {7336F399-F2B2-4F65-A701-52024EB9A7A0}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
245
src/Tools/thumbs/ThumbnailProvider/ThumbnailProvider.vcxproj
Normal file
245
src/Tools/thumbs/ThumbnailProvider/ThumbnailProvider.vcxproj
Normal file
@@ -0,0 +1,245 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectName>FCStdThumbnail</ProjectName>
|
||||
<ProjectGuid>{B4F22D8C-736E-46BF-85FB-259EF73EA0FC}</ProjectGuid>
|
||||
<RootNamespace>ThumbnailProvider</RootNamespace>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" 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>
|
||||
<_ProjectFileVersion>16.0.31401.40</_ProjectFileVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>$(Platform)\$(Configuration)\</IntDir>
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>$(Platform)\$(Configuration)\</IntDir>
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>$(Platform)\$(Configuration)\</IntDir>
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>$(Platform)\$(Configuration)\</IntDir>
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>..\..\..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;THUMBNAILPROVIDER_EXPORTS;FreeCADBase_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MinimalRebuild>true</MinimalRebuild>
|
||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<PrecompiledHeader />
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>shlwapi.lib;comctl32.lib;propsys.lib;zlibstatic.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<ModuleDefinitionFile>ThumbnailProvider.def</ModuleDefinitionFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Midl>
|
||||
<TargetEnvironment>X64</TargetEnvironment>
|
||||
</Midl>
|
||||
<ClCompile>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>..\..\..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>WIN64;_DEBUG;_WINDOWS;_USRDLL;THUMBNAILPROVIDER_EXPORTS;FreeCADBase_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MinimalRebuild>true</MinimalRebuild>
|
||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<PrecompiledHeader />
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>shlwapi.lib;comctl32.lib;propsys.lib;zlibstatic.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<ModuleDefinitionFile>ThumbnailProvider.def</ModuleDefinitionFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<TargetMachine>MachineX64</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<AdditionalIncludeDirectories>.;..\..\..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;THUMBNAILPROVIDER_EXPORTS;FreeCADBase_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<PrecompiledHeader />
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>shlwapi.lib;comctl32.lib;propsys.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<ModuleDefinitionFile>ThumbnailProvider.def</ModuleDefinitionFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Midl>
|
||||
<TargetEnvironment>X64</TargetEnvironment>
|
||||
</Midl>
|
||||
<ClCompile>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<AdditionalIncludeDirectories>.;..\..\..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>WIN64;NDEBUG;_WINDOWS;THUMBNAILPROVIDER_EXPORTS;FreeCADBase_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<PrecompiledHeader />
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>shlwapi.lib;comctl32.lib;propsys.lib;zlibstatic.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<ModuleDefinitionFile>ThumbnailProvider.def</ModuleDefinitionFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<TargetMachine>MachineX64</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\..\zipios++\basicentry.cpp" />
|
||||
<ClCompile Include="..\..\..\zipios++\collcoll.cpp" />
|
||||
<ClCompile Include="..\..\..\zipios++\deflateoutputstreambuf.cpp" />
|
||||
<ClCompile Include="..\..\..\zipios++\dircoll.cpp" />
|
||||
<ClCompile Include="..\..\..\zipios++\directory.cpp" />
|
||||
<ClCompile Include="..\..\..\zipios++\fcoll.cpp" />
|
||||
<ClCompile Include="..\..\..\zipios++\fcollexceptions.cpp" />
|
||||
<ClCompile Include="..\..\..\zipios++\fileentry.cpp" />
|
||||
<ClCompile Include="..\..\..\zipios++\filepath.cpp" />
|
||||
<ClCompile Include="..\..\..\zipios++\filterinputstreambuf.cpp" />
|
||||
<ClCompile Include="..\..\..\zipios++\filteroutputstreambuf.cpp" />
|
||||
<ClCompile Include="..\..\..\zipios++\gzipoutputstream.cpp" />
|
||||
<ClCompile Include="..\..\..\zipios++\gzipoutputstreambuf.cpp" />
|
||||
<ClCompile Include="..\..\..\zipios++\inflateinputstreambuf.cpp" />
|
||||
<ClCompile Include="..\..\..\zipios++\zipfile.cpp" />
|
||||
<ClCompile Include="..\..\..\zipios++\ziphead.cpp" />
|
||||
<ClCompile Include="..\..\..\zipios++\zipheadio.cpp" />
|
||||
<ClCompile Include="..\..\..\zipios++\zipinputstream.cpp" />
|
||||
<ClCompile Include="..\..\..\zipios++\zipinputstreambuf.cpp" />
|
||||
<ClCompile Include="..\..\..\zipios++\zipoutputstream.cpp" />
|
||||
<ClCompile Include="..\..\..\zipios++\zipoutputstreambuf.cpp" />
|
||||
<ClCompile Include="ClassFactory.cpp" />
|
||||
<ClCompile Include="Main.cpp" />
|
||||
<ClCompile Include="ThumbnailProvider.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="ThumbnailProvider.def" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\..\zipios++\backbuffer.h" />
|
||||
<ClInclude Include="..\..\..\zipios++\basicentry.h" />
|
||||
<ClInclude Include="..\..\..\zipios++\collcoll.h" />
|
||||
<ClInclude Include="..\..\..\zipios++\deflateoutputstreambuf.h" />
|
||||
<ClInclude Include="..\..\..\zipios++\dircoll.h" />
|
||||
<ClInclude Include="..\..\..\zipios++\directory.h" />
|
||||
<ClInclude Include="..\..\..\zipios++\fcoll.h" />
|
||||
<ClInclude Include="..\..\..\zipios++\fcollexceptions.h" />
|
||||
<ClInclude Include="..\..\..\zipios++\fileentry.h" />
|
||||
<ClInclude Include="..\..\..\zipios++\filepath.h" />
|
||||
<ClInclude Include="..\..\..\zipios++\filterinputstreambuf.h" />
|
||||
<ClInclude Include="..\..\..\zipios++\filteroutputstreambuf.h" />
|
||||
<ClInclude Include="..\..\..\zipios++\gzipoutputstream.h" />
|
||||
<ClInclude Include="..\..\..\zipios++\gzipoutputstreambuf.h" />
|
||||
<ClInclude Include="..\..\..\zipios++\inflateinputstreambuf.h" />
|
||||
<ClInclude Include="..\..\..\zipios++\meta-iostreams.h" />
|
||||
<ClInclude Include="..\..\..\zipios++\outputstringstream.h" />
|
||||
<ClInclude Include="..\..\..\zipios++\simplesmartptr.h" />
|
||||
<ClInclude Include="..\..\..\zipios++\virtualseeker.h" />
|
||||
<ClInclude Include="..\..\..\zipios++\zipfile.h" />
|
||||
<ClInclude Include="..\..\..\zipios++\ziphead.h" />
|
||||
<ClInclude Include="..\..\..\zipios++\zipheadio.h" />
|
||||
<ClInclude Include="..\..\..\zipios++\zipinputstream.h" />
|
||||
<ClInclude Include="..\..\..\zipios++\zipinputstreambuf.h" />
|
||||
<ClInclude Include="..\..\..\zipios++\zipios-config.h" />
|
||||
<ClInclude Include="..\..\..\zipios++\zipios_common.h" />
|
||||
<ClInclude Include="..\..\..\zipios++\zipios_defs.h" />
|
||||
<ClInclude Include="..\..\..\zipios++\zipoutputstream.h" />
|
||||
<ClInclude Include="..\..\..\zipios++\zipoutputstreambuf.h" />
|
||||
<ClInclude Include="ClassFactory.h" />
|
||||
<ClInclude Include="Common.h" />
|
||||
<ClInclude Include="ThumbnailProvider.h" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user