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

📄 fileinfo.h

📁 本程序使您在文件改变时得到通知
💻 H
字号:
// FileInfo.h: interface for the CFileInfo class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_FILEINFO_H__1B890622_FEC8_11D2_B9E0_704B7C000000__INCLUDED_)
#define AFX_FILEINFO_H__1B890622_FEC8_11D2_B9E0_704B7C000000__INCLUDED_

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

#include <string>

class CFileInfo  
{
public:
	CFileInfo(const std::string &sName);
	virtual ~CFileInfo();
	inline std::string getName(void) const { return m_sName; }
	inline std::string getPath(void) const { return m_sPath; }
	inline COleDateTime getDate(void) const { return m_dtFileDate; }
	inline void setDate(const COleDateTime &dtDate) { m_dtFileDate = dtDate; }
protected:
	std::string m_sName;
	std::string m_sPath;
	COleDateTime m_dtFileDate;
};

#endif // !defined(AFX_FILEINFO_H__1B890622_FEC8_11D2_B9E0_704B7C000000__INCLUDED_)

⌨️ 快捷键说明

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