Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
XEngine
XEngine Authorize
提交
8f707dc5
X
XEngine Authorize
项目概览
XEngine
/
XEngine Authorize
12 个月 前同步成功
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
XEngine Authorize
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
8f707dc5
编写于
11月 03, 2021
作者:
xengine-qyt
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
modify:Now backup and restore configuration files it is have a message tips
上级
feedcf34
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
23 addition
and
8 deletion
+23
-8
XEngine_Source/XEngine_APPService/XEngine_AuthorizeApp/Authorize_Dialog/CDialog_Configure.cpp
...ngine_AuthorizeApp/Authorize_Dialog/CDialog_Configure.cpp
+16
-2
XEngine_Source/XEngine_APPService/XEngine_AuthorizeApp/XEngine_AuthorizeApp.vcxproj
...Service/XEngine_AuthorizeApp/XEngine_AuthorizeApp.vcxproj
+2
-2
XEngine_Source/XEngine_APPService/XEngine_AuthorizeApp/XEngine_AuthorizeApp.vcxproj.filters
...XEngine_AuthorizeApp/XEngine_AuthorizeApp.vcxproj.filters
+4
-4
XEngine_Source/XEngine_APPService/XEngine_AuthorizeApp/pch.h
XEngine_Source/XEngine_APPService/XEngine_AuthorizeApp/pch.h
+1
-0
未找到文件。
XEngine_Source/XEngine_APPService/XEngine_AuthorizeApp/Authorize_Dialog/CDialog_Configure.cpp
浏览文件 @
8f707dc5
...
...
@@ -211,7 +211,14 @@ void CDialog_Configure::OnBnClickedButton2()
{
// TODO: 在此添加控件通知处理程序代码
LPCTSTR
lpszConfigFile
=
_T
(
"./XEngine_Config/XEngine_Config.ini"
);
CopyFile
(
lpszConfigFile
,
_T
(
"./XEngine_Config/XEngine_Config.bak"
),
FALSE
);
if
(
CopyFile
(
lpszConfigFile
,
_T
(
"./XEngine_Config/XEngine_Config.bak"
),
FALSE
))
{
AfxMessageBox
(
_T
(
"备份成功"
));
}
else
{
AfxMessageBox
(
_T
(
"备份失败,可能文件不存在"
));
}
}
...
...
@@ -220,7 +227,14 @@ void CDialog_Configure::OnBnClickedButton3()
// TODO: 在此添加控件通知处理程序代码
LPCTSTR
lpszConfigFile
=
_T
(
"./XEngine_Config/XEngine_Config.ini"
);
DeleteFile
(
lpszConfigFile
);
CopyFile
(
_T
(
"./XEngine_Config/XEngine_Config.bak"
),
lpszConfigFile
,
FALSE
);
if
(
CopyFile
(
_T
(
"./XEngine_Config/XEngine_Config.bak"
),
lpszConfigFile
,
FALSE
))
{
AfxMessageBox
(
_T
(
"恢复成功"
));
}
else
{
AfxMessageBox
(
_T
(
"恢复失败,可能文件不存在"
));
}
}
...
...
XEngine_Source/XEngine_APPService/XEngine_AuthorizeApp/XEngine_AuthorizeApp.vcxproj
浏览文件 @
8f707dc5
...
...
@@ -194,6 +194,7 @@
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude
Include=
"Authorize_Dialog\CDialog_Configure.h"
/>
<ClInclude
Include=
"Authorize_Dialog\CDialog_Info.h"
/>
<ClInclude
Include=
"Authorize_Dialog\CDialog_Local.h"
/>
<ClInclude
Include=
"Authorize_Dialog\CDialog_Serial.h"
/>
<ClInclude
Include=
"Authorize_Dialog\CDialog_User.h"
/>
...
...
@@ -202,7 +203,6 @@
<ClInclude
Include=
"Authorize_Task\Authorize_TaskNetwork.h"
/>
<ClInclude
Include=
"Authorize_Task\Authorize_TCPTask.h"
/>
<ClInclude
Include=
"Authorize_Task\Authorize_WSTask.h"
/>
<ClInclude
Include=
"CDialog_Info.h"
/>
<ClInclude
Include=
"framework.h"
/>
<ClInclude
Include=
"pch.h"
/>
<ClInclude
Include=
"Resource.h"
/>
...
...
@@ -212,6 +212,7 @@
</ItemGroup>
<ItemGroup>
<ClCompile
Include=
"Authorize_Dialog\CDialog_Configure.cpp"
/>
<ClCompile
Include=
"Authorize_Dialog\CDialog_Info.cpp"
/>
<ClCompile
Include=
"Authorize_Dialog\CDialog_Local.cpp"
/>
<ClCompile
Include=
"Authorize_Dialog\CDialog_Serial.cpp"
/>
<ClCompile
Include=
"Authorize_Dialog\CDialog_User.cpp"
/>
...
...
@@ -220,7 +221,6 @@
<ClCompile
Include=
"Authorize_Task\Authorize_TaskNetwork.cpp"
/>
<ClCompile
Include=
"Authorize_Task\Authorize_TCPTask.cpp"
/>
<ClCompile
Include=
"Authorize_Task\Authorize_WSTask.cpp"
/>
<ClCompile
Include=
"CDialog_Info.cpp"
/>
<ClCompile
Include=
"pch.cpp"
>
<PrecompiledHeader
Condition=
"'$(Configuration)|$(Platform)'=='Debug|Win32'"
>
Create
</PrecompiledHeader>
<PrecompiledHeader
Condition=
"'$(Configuration)|$(Platform)'=='Debug|x64'"
>
Create
</PrecompiledHeader>
...
...
XEngine_Source/XEngine_APPService/XEngine_AuthorizeApp/XEngine_AuthorizeApp.vcxproj.filters
浏览文件 @
8f707dc5
...
...
@@ -72,8 +72,8 @@
<ClInclude
Include=
"Authorize_Task\Authorize_WSTask.h"
>
<Filter>
头文件\Authorize_Task
</Filter>
</ClInclude>
<ClInclude
Include=
"CDialog_Info.h"
>
<Filter>
头文件
</Filter>
<ClInclude
Include=
"
Authorize_Dialog\
CDialog_Info.h"
>
<Filter>
头文件
\Authorize_Dialog
</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
...
...
@@ -113,8 +113,8 @@
<ClCompile
Include=
"Authorize_Task\Authorize_WSTask.cpp"
>
<Filter>
源文件\Authorize_Task
</Filter>
</ClCompile>
<ClCompile
Include=
"CDialog_Info.cpp"
>
<Filter>
源文件
</Filter>
<ClCompile
Include=
"
Authorize_Dialog\
CDialog_Info.cpp"
>
<Filter>
源文件
\Authorize_Dialog
</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
...
...
XEngine_Source/XEngine_APPService/XEngine_AuthorizeApp/pch.h
浏览文件 @
8f707dc5
...
...
@@ -50,6 +50,7 @@ using namespace std;
#include "Authorize_Dialog/CDialog_Serial.h"
#include "Authorize_Dialog/CDialog_User.h"
#include "Authorize_Dialog/CDialog_Local.h"
#include "Authorize_Dialog/CDialog_Info.h"
#include "XEngine_AuthorizeAppDlg.h"
#include "Authorize_Task/Authorize_TCPTask.h"
#include "Authorize_Task/Authorize_WSTask.h"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录