⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 msdnintegratorconfig.cpp

📁 CppUnit 是著名的用于单元测试的JUnit框架的C++移植。测试输出是XML或文本格式
💻 CPP
字号:
// MSDNIntegratorConfig.cpp: implementation of the CMSDNIntegratorConfig class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "MSDNIntegratorConfig.h"
#include "Utility.h"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CMSDNIntegratorConfig::CMSDNIntegratorConfig()
{
  CString section( "MSDNIntegrator" );
  m_strChi = GetFullPath( AfxGetApp()->GetProfileString( section, "Chi" ) );
  m_strChm = GetFullPath( AfxGetApp()->GetProfileString( section, "Chm" ) );
  m_strTitle = AfxGetApp()->GetProfileString( section, "Title" );
  m_strGUID = AfxGetApp()->GetProfileString( section, "GUID" );
  m_strVersion = AfxGetApp()->GetProfileString( section, "Version", "1" );
}

CMSDNIntegratorConfig::~CMSDNIntegratorConfig()
{

}

BOOL CMSDNIntegratorConfig::IsValid() const
{
  return !m_strChi.IsEmpty()  &&
         !m_strChm.IsEmpty()  &&
         !m_strTitle.IsEmpty()  &&
         !m_strGUID.IsEmpty();
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -