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

📄 slnprocess.h

📁 用VC编写的可以将VC.NET的文档转换成VC6.0的文档的程序
💻 H
字号:

#pragma once

/////////////////////////////////////////////////////////////////////////////////
//
// slnprocess class
//
// S.Rodriguez - Sept 2002
//
//
// purpose : convert a .sln file format to a .dsw file format
//           (a .sln file is the main file of a VisualStudio solution)
//
//

#include "CString.h"
#include "CFile.h"
#include "Templates.h"



class slnprocess
{

	// Members
protected:
	CString m_szSolutionName; // .sln fully qualified filename
	CStdioFile m_inputFile;
	CFile m_outputFile;
	ProjectArray m_projects;

	// Constructor
public:
	slnprocess();
	~slnprocess();

	// Methods
public:
	void process(CString &szSolutionName); // *.sln passed as parameter in the cmdline
	void processProjectOnly(CString &szProjectFullPath); // *.vcproj passed as parameter in the cmdline


	// Helpers
protected:
	void processProject(CString &sFirstLine);
	void processProjectDependencies(CString &sFirstLine);
	
	void writeDswHeader();
	void writeDswProject(PROJECTPARAM *p);
	void writeDswFooter();

	BOOL isFullPath(CString &szFilepath);
};

⌨️ 快捷键说明

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