iteminfo.h
来自「Recite(一个辅助英语学习软件源码) 该程序的UI部分使用了WTL7.5。」· C头文件 代码 · 共 32 行
H
32 行
//PK 2007/02/09 - 22
//PK Recite
#pragma once
#include "global.h"
class CItem;
class CItemInfo
{
friend CItem;
public:
CItemInfo() : _times(0) {}
int times() const { return _times; }
void update();
date next_day();
bool no_study() { return _last_access.is_not_a_date(); }
private:
friend sr::access;
template<class Archive>
void serialize(Archive & ar, const unsigned int version)
{
ar & _last_access & _times;
}
//PK these properties should be serialized
date _last_access;
int _times;
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?