📄 config.h
字号:
// Config.h: interface for the CConfig class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_CONFIG_H__9BDF239B_EBC7_45F7_BA21_15551EED2175__INCLUDED_)
#define AFX_CONFIG_H__9BDF239B_EBC7_45F7_BA21_15551EED2175__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ***************************************************************
// Config version: 1.0 ? date: 2008-05-06
// -------------------------------------------------------------
// 该类用来从注册表中读取配置信息
// -------------------------------------------------------------
// Copyright (C) 2008 - All Rights Reserved
// ***************************************************************
// Author : willing Company : JiDiGalaxy
// ***************************************************************
#include "RegManager.h"
class CConfig : public CRegManager
{
public:
CConfig();
virtual ~CConfig();
public:
// 判断Des算法是否可用 [5/6/2008 By willing]
DWORD DesIsEnable();
// 判断3DES算法是否可用 [5/6/2008 By willing]
DWORD Des3IsEnable();
// 获取加密类型 [5/6/2008 By willing]
DWORD GetEncryptType();
// 获取密码的最小长度 [5/6/2008 By willing]
DWORD GetPwdLen();
// 判断该该模块的功能是否被禁用 [5/7/2008 By willing]
BOOL IsUse();
// 以下是保存用户输入的数据 [5/7/2008 By willing]
private:
CString m_strPwd;// 用户输入的加密或还原密码 [5/7/2008 By willing]
int m_nFunc;// 当前处于加密(1),还是还原(0)状态[5/7/2008 By willing]
};
#endif // !defined(AFX_CONFIG_H__9BDF239B_EBC7_45F7_BA21_15551EED2175__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -