react-native-email-imap-smtp 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/react-native.config.js +1 -2
- package/windows/EmailImapSmtp/EmailImapSmtp.def +3 -0
- package/windows/EmailImapSmtp/EmailImapSmtp.vcxproj +132 -0
- package/windows/EmailImapSmtp/EmailImapSmtp.vcxproj.filters +74 -0
- package/windows/{EmailImapSmtpModule.h → EmailImapSmtp/EmailImapSmtpModule.h} +1 -1
- package/windows/{ImapProtocol.cpp → EmailImapSmtp/ImapProtocol.cpp} +1 -0
- package/windows/EmailImapSmtp/PropertySheet.props +28 -0
- package/windows/EmailImapSmtp/ReactPackageProvider.cpp +20 -0
- package/windows/EmailImapSmtp/ReactPackageProvider.h +22 -0
- package/windows/EmailImapSmtp/ReactPackageProvider.idl +14 -0
- package/windows/{SmtpProtocol.cpp → EmailImapSmtp/SmtpProtocol.cpp} +1 -0
- package/windows/{TlsSocket.cpp → EmailImapSmtp/TlsSocket.cpp} +1 -0
- package/windows/EmailImapSmtp/pch.cpp +5 -0
- package/windows/EmailImapSmtp/pch.h +39 -0
- package/windows/EmailImapSmtp.sln +30 -0
- package/windows/ExperimentalFeatures.props +13 -0
- /package/windows/{EmailImapSmtp.cpp → EmailImapSmtp/EmailImapSmtp.cpp} +0 -0
- /package/windows/{EmailImapSmtp.h → EmailImapSmtp/EmailImapSmtp.h} +0 -0
- /package/windows/{EmailImapSmtpModule.cpp → EmailImapSmtp/EmailImapSmtpModule.cpp} +0 -0
- /package/windows/{EmailImapSmtpPackage.cpp → EmailImapSmtp/EmailImapSmtpPackage.cpp} +0 -0
- /package/windows/{EmailImapSmtpPackage.h → EmailImapSmtp/EmailImapSmtpPackage.h} +0 -0
- /package/windows/{ImapProtocol.h → EmailImapSmtp/ImapProtocol.h} +0 -0
- /package/windows/{ProtocolDefs.h → EmailImapSmtp/ProtocolDefs.h} +0 -0
- /package/windows/{SmtpProtocol.h → EmailImapSmtp/SmtpProtocol.h} +0 -0
- /package/windows/{TlsSocket.h → EmailImapSmtp/TlsSocket.h} +0 -0
package/package.json
CHANGED
package/react-native.config.js
CHANGED
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!-- ============================================================
|
|
3
|
+
EmailImapSmtp.vcxproj — MSBuild 项目文件
|
|
4
|
+
用于 React Native Windows autolinking
|
|
5
|
+
基于 react-native-windows TurboModule 规范
|
|
6
|
+
============================================================ -->
|
|
7
|
+
<Project ToolsVersion="Current" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
8
|
+
<Import Project="$(MSBuildThisFileDirectory)..\ExperimentalFeatures.props" Condition="Exists('$(MSBuildThisFileDirectory)..\ExperimentalFeatures.props')" />
|
|
9
|
+
|
|
10
|
+
<PropertyGroup Label="Globals">
|
|
11
|
+
<CppWinRTOptimized>true</CppWinRTOptimized>
|
|
12
|
+
<CppWinRTRootNamespaceAutoMerge>true</CppWinRTRootNamespaceAutoMerge>
|
|
13
|
+
<MinimalCoreWin>true</MinimalCoreWin>
|
|
14
|
+
<ProjectGuid>{A3B8E7F1-2C4D-5E6F-8A9B-0C1D2E3F4A5B}</ProjectGuid>
|
|
15
|
+
<ProjectName>EmailImapSmtp</ProjectName>
|
|
16
|
+
<RootNamespace>EmailImapSmtp</RootNamespace>
|
|
17
|
+
<DefaultLanguage>en-US</DefaultLanguage>
|
|
18
|
+
<MinimumVisualStudioVersion>17.0</MinimumVisualStudioVersion>
|
|
19
|
+
<AppContainerApplication>true</AppContainerApplication>
|
|
20
|
+
<ApplicationType>Windows Store</ApplicationType>
|
|
21
|
+
<ApplicationTypeRevision>10.0</ApplicationTypeRevision>
|
|
22
|
+
</PropertyGroup>
|
|
23
|
+
|
|
24
|
+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
25
|
+
|
|
26
|
+
<PropertyGroup Label="ReactNativeWindowsProps">
|
|
27
|
+
<ReactNativeWindowsDir Condition="'$(ReactNativeWindowsDir)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), 'node_modules\react-native-windows\package.json'))\node_modules\react-native-windows\</ReactNativeWindowsDir>
|
|
28
|
+
</PropertyGroup>
|
|
29
|
+
|
|
30
|
+
<PropertyGroup Label="Configuration">
|
|
31
|
+
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
32
|
+
<PlatformToolset>v143</PlatformToolset>
|
|
33
|
+
<CharacterSet>Unicode</CharacterSet>
|
|
34
|
+
<GenerateManifest>false</GenerateManifest>
|
|
35
|
+
</PropertyGroup>
|
|
36
|
+
|
|
37
|
+
<PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
|
|
38
|
+
<UseDebugLibraries>true</UseDebugLibraries>
|
|
39
|
+
<LinkIncremental>true</LinkIncremental>
|
|
40
|
+
</PropertyGroup>
|
|
41
|
+
|
|
42
|
+
<PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
|
|
43
|
+
<UseDebugLibraries>false</UseDebugLibraries>
|
|
44
|
+
<LinkIncremental>false</LinkIncremental>
|
|
45
|
+
</PropertyGroup>
|
|
46
|
+
|
|
47
|
+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
48
|
+
|
|
49
|
+
<!-- 全局属性表 -->
|
|
50
|
+
<ImportGroup Label="PropertySheets">
|
|
51
|
+
<Import Project="PropertySheet.props" />
|
|
52
|
+
</ImportGroup>
|
|
53
|
+
|
|
54
|
+
<PropertyGroup Label="UserMacros" />
|
|
55
|
+
|
|
56
|
+
<ItemDefinitionGroup>
|
|
57
|
+
<ClCompile>
|
|
58
|
+
<PrecompiledHeader>Use</PrecompiledHeader>
|
|
59
|
+
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
|
60
|
+
<PrecompiledHeaderOutputFile>$(IntDir)pch.pch</PrecompiledHeaderOutputFile>
|
|
61
|
+
<WarningLevel>Level4</WarningLevel>
|
|
62
|
+
<TreatWarningAsError>false</TreatWarningAsError>
|
|
63
|
+
<SDLCheck>true</SDLCheck>
|
|
64
|
+
<ConformanceMode>true</ConformanceMode>
|
|
65
|
+
<AdditionalUsingDirectories>$(ReactNativeWindowsDir)Microsoft.ReactNative;$(ReactNativeWindowsDir)Microsoft.ReactNative.Cxx;%(AdditionalUsingDirectories)</AdditionalUsingDirectories>
|
|
66
|
+
<AdditionalIncludeDirectories>$(ReactNativeWindowsDir);$(ReactNativeWindowsDir)Microsoft.ReactNative;$(ReactNativeWindowsDir)Microsoft.ReactNative.Cxx;$(ReactNativeWindowsDir)include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
67
|
+
<LanguageStandard>stdcpp20</LanguageStandard>
|
|
68
|
+
<PreprocessorDefinitions>NOMINMAX;WIN32_LEAN_AND_MEAN;SECURITY_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
69
|
+
</ClCompile>
|
|
70
|
+
<Link>
|
|
71
|
+
<SubSystem>Console</SubSystem>
|
|
72
|
+
<GenerateWindowsMetadata>true</GenerateWindowsMetadata>
|
|
73
|
+
<ModuleDefinitionFile>EmailImapSmtp.def</ModuleDefinitionFile>
|
|
74
|
+
<AdditionalDependencies>ws2_32.lib;crypt32.lib;secur32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
75
|
+
</Link>
|
|
76
|
+
<Midl>
|
|
77
|
+
<AdditionalIncludeDirectories>$(ReactNativeWindowsDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
78
|
+
</Midl>
|
|
79
|
+
</ItemDefinitionGroup>
|
|
80
|
+
|
|
81
|
+
<!-- ═══════════════════════════════════════════════════════ -->
|
|
82
|
+
<!-- 源文件 -->
|
|
83
|
+
<!-- ═══════════════════════════════════════════════════════ -->
|
|
84
|
+
|
|
85
|
+
<ItemGroup>
|
|
86
|
+
<ClCompile Include="EmailImapSmtpModule.cpp" />
|
|
87
|
+
<ClCompile Include="ImapProtocol.cpp" />
|
|
88
|
+
<ClCompile Include="SmtpProtocol.cpp" />
|
|
89
|
+
<ClCompile Include="TlsSocket.cpp" />
|
|
90
|
+
<ClCompile Include="ReactPackageProvider.cpp" />
|
|
91
|
+
<ClCompile Include="pch.cpp">
|
|
92
|
+
<PrecompiledHeader>Create</PrecompiledHeader>
|
|
93
|
+
</ClCompile>
|
|
94
|
+
</ItemGroup>
|
|
95
|
+
|
|
96
|
+
<ItemGroup>
|
|
97
|
+
<ClInclude Include="EmailImapSmtp.h" />
|
|
98
|
+
<ClInclude Include="EmailImapSmtpModule.h" />
|
|
99
|
+
<ClInclude Include="EmailImapSmtpPackage.h" />
|
|
100
|
+
<ClInclude Include="ImapProtocol.h" />
|
|
101
|
+
<ClInclude Include="SmtpProtocol.h" />
|
|
102
|
+
<ClInclude Include="TlsSocket.h" />
|
|
103
|
+
<ClInclude Include="ProtocolDefs.h" />
|
|
104
|
+
<ClInclude Include="ReactPackageProvider.h" />
|
|
105
|
+
<ClInclude Include="pch.h" />
|
|
106
|
+
</ItemGroup>
|
|
107
|
+
|
|
108
|
+
<ItemGroup>
|
|
109
|
+
<Midl Include="ReactPackageProvider.idl" />
|
|
110
|
+
</ItemGroup>
|
|
111
|
+
|
|
112
|
+
<!-- ═══════════════════════════════════════════════════════ -->
|
|
113
|
+
<!-- NuGet 引用 -->
|
|
114
|
+
<!-- ═══════════════════════════════════════════════════════ -->
|
|
115
|
+
|
|
116
|
+
<ItemGroup>
|
|
117
|
+
<PackageReference Include="Microsoft.ReactNative.WindowsSdk">
|
|
118
|
+
<Version>10.0.18362.0</Version>
|
|
119
|
+
</PackageReference>
|
|
120
|
+
<PackageReference Include="Microsoft.Windows.CppWinRT">
|
|
121
|
+
<Version>2.0.240111.5</Version>
|
|
122
|
+
</PackageReference>
|
|
123
|
+
</ItemGroup>
|
|
124
|
+
|
|
125
|
+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
126
|
+
|
|
127
|
+
<!-- 导入 Microsoft.ReactNative 的 UWP CppLib targets -->
|
|
128
|
+
<ImportGroup Label="ReactNativeWindowsTargets">
|
|
129
|
+
<Import Project="$(ReactNativeWindowsDir)\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.targets" Condition="Exists('$(ReactNativeWindowsDir)\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.targets')" />
|
|
130
|
+
<Import Project="$(ReactNativeWindowsDir)\Microsoft.ReactNative\Microsoft.ReactNative.targets" Condition="Exists('$(ReactNativeWindowsDir)\Microsoft.ReactNative\Microsoft.ReactNative.targets')" />
|
|
131
|
+
</ImportGroup>
|
|
132
|
+
</Project>
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
3
|
+
<ItemGroup>
|
|
4
|
+
<Filter Include="Source Files">
|
|
5
|
+
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
|
6
|
+
</Filter>
|
|
7
|
+
<Filter Include="Header Files">
|
|
8
|
+
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
|
9
|
+
</Filter>
|
|
10
|
+
<Filter Include="IDL Files">
|
|
11
|
+
<UniqueIdentifier>{E8B8A6B0-3B8C-4B8C-9B8C-1A2B3C4D5E6F}</UniqueIdentifier>
|
|
12
|
+
</Filter>
|
|
13
|
+
</ItemGroup>
|
|
14
|
+
|
|
15
|
+
<!-- Source Files -->
|
|
16
|
+
<ItemGroup>
|
|
17
|
+
<ClCompile Include="EmailImapSmtpModule.cpp">
|
|
18
|
+
<Filter>Source Files</Filter>
|
|
19
|
+
</ClCompile>
|
|
20
|
+
<ClCompile Include="ImapProtocol.cpp">
|
|
21
|
+
<Filter>Source Files</Filter>
|
|
22
|
+
</ClCompile>
|
|
23
|
+
<ClCompile Include="SmtpProtocol.cpp">
|
|
24
|
+
<Filter>Source Files</Filter>
|
|
25
|
+
</ClCompile>
|
|
26
|
+
<ClCompile Include="TlsSocket.cpp">
|
|
27
|
+
<Filter>Source Files</Filter>
|
|
28
|
+
</ClCompile>
|
|
29
|
+
<ClCompile Include="ReactPackageProvider.cpp">
|
|
30
|
+
<Filter>Source Files</Filter>
|
|
31
|
+
</ClCompile>
|
|
32
|
+
<ClCompile Include="pch.cpp">
|
|
33
|
+
<Filter>Source Files</Filter>
|
|
34
|
+
</ClCompile>
|
|
35
|
+
</ItemGroup>
|
|
36
|
+
|
|
37
|
+
<!-- Header Files -->
|
|
38
|
+
<ItemGroup>
|
|
39
|
+
<ClInclude Include="EmailImapSmtp.h">
|
|
40
|
+
<Filter>Header Files</Filter>
|
|
41
|
+
</ClInclude>
|
|
42
|
+
<ClInclude Include="EmailImapSmtpModule.h">
|
|
43
|
+
<Filter>Header Files</Filter>
|
|
44
|
+
</ClInclude>
|
|
45
|
+
<ClInclude Include="EmailImapSmtpPackage.h">
|
|
46
|
+
<Filter>Header Files</Filter>
|
|
47
|
+
</ClInclude>
|
|
48
|
+
<ClInclude Include="ImapProtocol.h">
|
|
49
|
+
<Filter>Header Files</Filter>
|
|
50
|
+
</ClInclude>
|
|
51
|
+
<ClInclude Include="SmtpProtocol.h">
|
|
52
|
+
<Filter>Header Files</Filter>
|
|
53
|
+
</ClInclude>
|
|
54
|
+
<ClInclude Include="TlsSocket.h">
|
|
55
|
+
<Filter>Header Files</Filter>
|
|
56
|
+
</ClInclude>
|
|
57
|
+
<ClInclude Include="ProtocolDefs.h">
|
|
58
|
+
<Filter>Header Files</Filter>
|
|
59
|
+
</ClInclude>
|
|
60
|
+
<ClInclude Include="ReactPackageProvider.h">
|
|
61
|
+
<Filter>Header Files</Filter>
|
|
62
|
+
</ClInclude>
|
|
63
|
+
<ClInclude Include="pch.h">
|
|
64
|
+
<Filter>Header Files</Filter>
|
|
65
|
+
</ClInclude>
|
|
66
|
+
</ItemGroup>
|
|
67
|
+
|
|
68
|
+
<!-- IDL Files -->
|
|
69
|
+
<ItemGroup>
|
|
70
|
+
<Midl Include="ReactPackageProvider.idl">
|
|
71
|
+
<Filter>IDL Files</Filter>
|
|
72
|
+
</Midl>
|
|
73
|
+
</ItemGroup>
|
|
74
|
+
</Project>
|
|
@@ -25,7 +25,7 @@ struct SessionState {
|
|
|
25
25
|
bool smtpConnected = false;
|
|
26
26
|
};
|
|
27
27
|
|
|
28
|
-
REACT_MODULE(EmailImapSmtpModule);
|
|
28
|
+
REACT_MODULE(EmailImapSmtpModule, "EmailImapSmtp");
|
|
29
29
|
struct EmailImapSmtpModule {
|
|
30
30
|
// ─── Session 管理 ─────────────────────────────────────
|
|
31
31
|
std::unordered_map<std::string, std::shared_ptr<SessionState>> m_sessions;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
3
|
+
<ImportGroup Label="PropertySheets">
|
|
4
|
+
<Import Project="$(MSBuildThisFileDirectory)..\ExperimentalFeatures.props" Condition="Exists('$(MSBuildThisFileDirectory)..\ExperimentalFeatures.props')" />
|
|
5
|
+
</ImportGroup>
|
|
6
|
+
|
|
7
|
+
<PropertyGroup Label="Configuration">
|
|
8
|
+
<!-- C++/WinRT -->
|
|
9
|
+
<CppWinRTOptimized>true</CppWinRTOptimized>
|
|
10
|
+
<CppWinRTRootNamespaceAutoMerge>true</CppWinRTRootNamespaceAutoMerge>
|
|
11
|
+
<CppWinRTGenerateWindowsMetadata>true</CppWinRTGenerateWindowsMetadata>
|
|
12
|
+
<CppWinRTUsePrefixes>true</CppWinRTUsePrefixes>
|
|
13
|
+
</PropertyGroup>
|
|
14
|
+
|
|
15
|
+
<PropertyGroup Label="ReactNativeWindowsProps">
|
|
16
|
+
<ReactNativeWindowsDir Condition="'$(ReactNativeWindowsDir)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), 'node_modules\react-native-windows\package.json'))\node_modules\react-native-windows\</ReactNativeWindowsDir>
|
|
17
|
+
</PropertyGroup>
|
|
18
|
+
|
|
19
|
+
<ItemDefinitionGroup>
|
|
20
|
+
<ClCompile>
|
|
21
|
+
<!-- 添加 ReactNativeWindowsDir 到包含路径 -->
|
|
22
|
+
<AdditionalIncludeDirectories>$(ReactNativeWindowsDir);$(ReactNativeWindowsDir)Microsoft.ReactNative;$(ReactNativeWindowsDir)Microsoft.ReactNative.Cxx;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
23
|
+
</ClCompile>
|
|
24
|
+
<Midl>
|
|
25
|
+
<AdditionalIncludeDirectories>$(ReactNativeWindowsDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
26
|
+
</Midl>
|
|
27
|
+
</ItemDefinitionGroup>
|
|
28
|
+
</Project>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// ============================================================
|
|
2
|
+
// ReactPackageProvider.cpp — Package Provider Implementation
|
|
3
|
+
// 注册 TurboModule (EmailImapSmtpModule) 到 React Native
|
|
4
|
+
// ============================================================
|
|
5
|
+
|
|
6
|
+
#include "pch.h"
|
|
7
|
+
#include "ReactPackageProvider.h"
|
|
8
|
+
#include "ReactPackageProvider.g.cpp"
|
|
9
|
+
|
|
10
|
+
#include "EmailImapSmtpModule.h"
|
|
11
|
+
|
|
12
|
+
using namespace winrt::Microsoft::ReactNative;
|
|
13
|
+
|
|
14
|
+
namespace winrt::EmailImapSmtp::implementation
|
|
15
|
+
{
|
|
16
|
+
void ReactPackageProvider::CreatePackage(IReactPackageBuilder const &packageBuilder) noexcept
|
|
17
|
+
{
|
|
18
|
+
AddAttributedModules(packageBuilder);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// ============================================================
|
|
2
|
+
// ReactPackageProvider.h — Package Provider Header
|
|
3
|
+
// ============================================================
|
|
4
|
+
|
|
5
|
+
#pragma once
|
|
6
|
+
#include "ReactPackageProvider.g.h"
|
|
7
|
+
|
|
8
|
+
using namespace winrt::Microsoft::ReactNative;
|
|
9
|
+
|
|
10
|
+
namespace winrt::EmailImapSmtp::implementation
|
|
11
|
+
{
|
|
12
|
+
struct ReactPackageProvider : ReactPackageProviderT<ReactPackageProvider>
|
|
13
|
+
{
|
|
14
|
+
ReactPackageProvider() = default;
|
|
15
|
+
void CreatePackage(IReactPackageBuilder const &packageBuilder) noexcept;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
namespace winrt::EmailImapSmtp::factory_implementation
|
|
20
|
+
{
|
|
21
|
+
struct ReactPackageProvider : ReactPackageProviderT<ReactPackageProvider, implementation::ReactPackageProvider> {};
|
|
22
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// ============================================================
|
|
2
|
+
// ReactPackageProvider.idl — WinRT IDL for Package Provider
|
|
3
|
+
// ============================================================
|
|
4
|
+
|
|
5
|
+
namespace EmailImapSmtp
|
|
6
|
+
{
|
|
7
|
+
[webhosthidden]
|
|
8
|
+
[default_interface]
|
|
9
|
+
runtimeclass ReactPackageProvider : Microsoft.ReactNative.IReactPackageProvider
|
|
10
|
+
{
|
|
11
|
+
ReactPackageProvider();
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
// ============================================================
|
|
2
|
+
// pch.h — Precompiled Header
|
|
3
|
+
// ============================================================
|
|
4
|
+
|
|
5
|
+
#pragma once
|
|
6
|
+
|
|
7
|
+
#define NOMINMAX
|
|
8
|
+
#define WIN32_LEAN_AND_MEAN
|
|
9
|
+
#define SECURITY_WIN32
|
|
10
|
+
|
|
11
|
+
#include <windows.h>
|
|
12
|
+
#include <winsock2.h>
|
|
13
|
+
#include <ws2tcpip.h>
|
|
14
|
+
#include <winrt/Microsoft.ReactNative.h>
|
|
15
|
+
#include <winrt/Windows.Foundation.h>
|
|
16
|
+
#include <winrt/Windows.Foundation.Collections.h>
|
|
17
|
+
|
|
18
|
+
#include <string>
|
|
19
|
+
#include <vector>
|
|
20
|
+
#include <map>
|
|
21
|
+
#include <memory>
|
|
22
|
+
#include <mutex>
|
|
23
|
+
#include <thread>
|
|
24
|
+
#include <atomic>
|
|
25
|
+
#include <condition_variable>
|
|
26
|
+
#include <functional>
|
|
27
|
+
#include <optional>
|
|
28
|
+
#include <variant>
|
|
29
|
+
#include <set>
|
|
30
|
+
#include <regex>
|
|
31
|
+
#include <sstream>
|
|
32
|
+
#include <cctype>
|
|
33
|
+
#include <algorithm>
|
|
34
|
+
#include <chrono>
|
|
35
|
+
#include <cstring>
|
|
36
|
+
#include <cstdint>
|
|
37
|
+
#include <ctime>
|
|
38
|
+
#include <iomanip>
|
|
39
|
+
#include <cstdlib>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
Microsoft Visual Studio Solution File, Format Version 12.00
|
|
2
|
+
# Visual Studio Version 17
|
|
3
|
+
VisualStudioVersion = 17.0.31903.59
|
|
4
|
+
MinimumVisualStudioVersion = 10.0.40219.1
|
|
5
|
+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "EmailImapSmtp", "EmailImapSmtp\EmailImapSmtp.vcxproj", "{A3B8E7F1-2C4D-5E6F-8A9B-0C1D2E3F4A5B}"
|
|
6
|
+
EndProject
|
|
7
|
+
Global
|
|
8
|
+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
|
9
|
+
Debug|x64 = Debug|x64
|
|
10
|
+
Debug|x86 = Debug|x86
|
|
11
|
+
Debug|ARM64 = Debug|ARM64
|
|
12
|
+
Release|x64 = Release|x64
|
|
13
|
+
Release|x86 = Release|x86
|
|
14
|
+
Release|ARM64 = Release|ARM64
|
|
15
|
+
EndGlobalSection
|
|
16
|
+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
|
17
|
+
{A3B8E7F1-2C4D-5E6F-8A9B-0C1D2E3F4A5B}.Debug|x64.ActiveCfg = Debug|x64
|
|
18
|
+
{A3B8E7F1-2C4D-5E6F-8A9B-0C1D2E3F4A5B}.Debug|x64.Build.0 = Debug|x64
|
|
19
|
+
{A3B8E7F1-2C4D-5E6F-8A9B-0C1D2E3F4A5B}.Debug|x86.ActiveCfg = Debug|x86
|
|
20
|
+
{A3B8E7F1-2C4D-5E6F-8A9B-0C1D2E3F4A5B}.Debug|x86.Build.0 = Debug|x86
|
|
21
|
+
{A3B8E7F1-2C4D-5E6F-8A9B-0C1D2E3F4A5B}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
|
22
|
+
{A3B8E7F1-2C4D-5E6F-8A9B-0C1D2E3F4A5B}.Debug|ARM64.Build.0 = Debug|ARM64
|
|
23
|
+
{A3B8E7F1-2C4D-5E6F-8A9B-0C1D2E3F4A5B}.Release|x64.ActiveCfg = Release|x64
|
|
24
|
+
{A3B8E7F1-2C4D-5E6F-8A9B-0C1D2E3F4A5B}.Release|x64.Build.0 = Release|x64
|
|
25
|
+
{A3B8E7F1-2C4D-5E6F-8A9B-0C1D2E3F4A5B}.Release|x86.ActiveCfg = Release|x86
|
|
26
|
+
{A3B8E7F1-2C4D-5E6F-8A9B-0C1D2E3F4A5B}.Release|x86.Build.0 = Release|x86
|
|
27
|
+
{A3B8E7F1-2C4D-5E6F-8A9B-0C1D2E3F4A5B}.Release|ARM64.ActiveCfg = Release|ARM64
|
|
28
|
+
{A3B8E7F1-2C4D-5E6F-8A9B-0C1D2E3F4A5B}.Release|ARM64.Build.0 = Release|ARM64
|
|
29
|
+
EndGlobalSection
|
|
30
|
+
EndGlobal
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
3
|
+
<PropertyGroup Label="ReactNativeWindowsExperimentalFeatures">
|
|
4
|
+
<!-- 不使用 Hermes -->
|
|
5
|
+
<UseHermes>false</UseHermes>
|
|
6
|
+
<!-- 不使用 WinUI 3 -->
|
|
7
|
+
<UseWinUI3>false</UseWinUI3>
|
|
8
|
+
<!-- 不使用实验性 NuGet -->
|
|
9
|
+
<UseExperimentalNuget>false</UseExperimentalNuget>
|
|
10
|
+
<!-- 不使用 Folly (不再需要) -->
|
|
11
|
+
<UseFolly>false</UseFolly>
|
|
12
|
+
</PropertyGroup>
|
|
13
|
+
</Project>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|