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

📄 prjstats.h

📁 一个统计文件大小和程序信息的插件程序(vc或vc.net下使用)
💻 H
字号:
/***************************************************************************/
/* NOTE:                                                                   */
/* This document is copyright (c) by Oz Solomonovich, and is bound by the  */
/* MIT open source license (www.opensource.org/licenses/mit-license.html). */
/* See License.txt for more information.                                   */
/***************************************************************************/

// PrjStats.h: interface for the PrjStats class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_PRJSTATS_H__59D4827C_3A4F_412D_88E4_080AE9618CAB__INCLUDED_)
#define AFX_PRJSTATS_H__59D4827C_3A4F_412D_88E4_080AE9618CAB__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "FileParser.h"

interface IWorkspaceInfo;
interface IWorkspaceProject;

class ProjectList : public CTypedPtrList<CPtrList, IWorkspaceProject *>
{
public:
    ~ProjectList();
};

int CalculateMixedLines(int iLinesTotal, int iLinesCode, int iLinesComments, 
                        int iLinesBlank);

void ResetStats();
bool UpdateStats(IWorkspaceInfo *pWI, ProjectList& projects);
CFileInfo& GetStats(LPCTSTR pszFullFileName);

#endif // !defined(AFX_PRJSTATS_H__59D4827C_3A4F_412D_88E4_080AE9618CAB__INCLUDED_)

⌨️ 快捷键说明

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