Lhaz
lhazexthist.h
[詳解]
1 /*==========================================================================*/
2 /* Lhaz History of folder extracted to chitora48@gmail.com */
3 /*==========================================================================*/
4 #pragma once
5 
6 #include "altstr.hpp"
7 #include <vector>
8 
9 using namespace std;
10 
11 class LHAZEXTHIST {
12 public:
13  static int GetMax(void) { return LHAZEXTHISTMAX; };
14  static int GetHistMax(void) { return HistMax; };
15  //
16  LHAZEXTHIST(void);
17  //
18  size_t Size(void) { return History.size(); };
19  void Add(const WSTR& s);
20  WSTR Get(int idx) { return History[idx]; };
21  void Clear(void) { History.clear(); };
22  void Save(void);
23  void SetHistMax(int max);
24 
25 private:
26  static const int LHAZEXTHISTMAX;
27  static const LPTSTR VALUENAME;
28  static int HistMax;
29  //
30  vector<WSTR> History;
31 
32 };
size_t Size(void)
Definition: lhazexthist.h:18
void Clear(void)
Definition: lhazexthist.h:21
static int GetHistMax(void)
Definition: lhazexthist.h:14
WSTR Get(int idx)
Definition: lhazexthist.h:20
static const LPTSTR VALUENAME
Definition: lhazexthist.h:27
vector< WSTR > History
Definition: lhazexthist.h:30
static const int LHAZEXTHISTMAX
Definition: lhazexthist.h:26
static int HistMax
Definition: lhazexthist.h:28
Definition: lhazexthist.h:11
static int GetMax(void)
Definition: lhazexthist.h:13