Skip to content

Commit 3a1d7e0

Browse files
committed
Refactor FavesDialog and FavesModel to use UTF-16 stream handling
1 parent 8b1c82c commit 3a1d7e0

File tree

9 files changed

+500
-265
lines changed

9 files changed

+500
-265
lines changed

Explorer.vcxproj

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,24 +27,24 @@
2727
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
2828
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
2929
<ConfigurationType>DynamicLibrary</ConfigurationType>
30-
<PlatformToolset>v143</PlatformToolset>
30+
<PlatformToolset>v145</PlatformToolset>
3131
<CharacterSet>Unicode</CharacterSet>
3232
<WholeProgramOptimization>true</WholeProgramOptimization>
3333
</PropertyGroup>
3434
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
3535
<ConfigurationType>DynamicLibrary</ConfigurationType>
3636
<CharacterSet>Unicode</CharacterSet>
3737
<WholeProgramOptimization>true</WholeProgramOptimization>
38-
<PlatformToolset>v143</PlatformToolset>
38+
<PlatformToolset>v145</PlatformToolset>
3939
</PropertyGroup>
4040
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
4141
<ConfigurationType>DynamicLibrary</ConfigurationType>
42-
<PlatformToolset>v143</PlatformToolset>
42+
<PlatformToolset>v145</PlatformToolset>
4343
<CharacterSet>Unicode</CharacterSet>
4444
</PropertyGroup>
4545
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
4646
<ConfigurationType>DynamicLibrary</ConfigurationType>
47-
<PlatformToolset>v143</PlatformToolset>
47+
<PlatformToolset>v145</PlatformToolset>
4848
<CharacterSet>Unicode</CharacterSet>
4949
</PropertyGroup>
5050
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
@@ -271,6 +271,7 @@
271271
<ClCompile Include="src\Explorer\ToolBar.cpp" />
272272
<ClCompile Include="src\Explorer\TreeView.cpp" />
273273
<ClCompile Include="src\Explorer\URLCtrl.cpp" />
274+
<ClCompile Include="src\Explorer\UTF16Stream.cpp" />
274275
<ClCompile Include="src\NppPlugin\DockingFeature\StaticDialog.cpp" />
275276
</ItemGroup>
276277
<ItemGroup>
@@ -307,6 +308,7 @@
307308
<ClInclude Include="src\Explorer\ToolBar.h" />
308309
<ClInclude Include="src\Explorer\TreeView.h" />
309310
<ClInclude Include="src\Explorer\URLCtrl.h" />
311+
<ClInclude Include="src\Explorer\UTF16Stream.h" />
310312
<ClInclude Include="src\Explorer\version.h" />
311313
<ClInclude Include="src\Explorer\Graphics.h" />
312314
<ClInclude Include="src\NppPlugin\DockingFeature\Docking.h" />

Explorer.vcxproj.filters

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@
102102
<ClCompile Include="src\Explorer\DirectoryReader.cpp">
103103
<Filter>src\Explorer</Filter>
104104
</ClCompile>
105+
<ClCompile Include="src\Explorer\UTF16Stream.cpp">
106+
<Filter>src\Explorer</Filter>
107+
</ClCompile>
105108
</ItemGroup>
106109
<ItemGroup>
107110
<ResourceCompile Include="src\Explorer\version.rc">
@@ -238,6 +241,9 @@
238241
<ClInclude Include="src\Explorer\ExplorerContext.h">
239242
<Filter>src\Explorer</Filter>
240243
</ClInclude>
244+
<ClInclude Include="src\Explorer\UTF16Stream.h">
245+
<Filter>src\Explorer</Filter>
246+
</ClInclude>
241247
</ItemGroup>
242248
<ItemGroup>
243249
<Image Include="src\Explorer\res\explore.bmp">

0 commit comments

Comments
 (0)