fileinfo.h
来自「本程序使您在文件改变时得到通知」· C头文件 代码 · 共 30 行
H
30 行
// 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 + =
减小字号Ctrl + -
显示快捷键?