📄 repository.h
字号:
//PK 2007/01/21 - 03/07
//PK Recite
#pragma once
#include "global.h"
class CBook;
class CRepository
{
public:
~CRepository();
bool load(); //PK load books from certain directory
CBook * add_book(const string & name, const fs::path & dir);
CBook * get_book(int index);
bool delete_book(CBook * book);
int size();
private:
CBook * _load_book(const fs::path & dir, const string & name);
bool _load_books();
typedef vector<CBook *> t_book;
t_book _books;
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -