Lhaz
lhazsfx.h
[詳解]
1 /*==========================================================================*/
2 /* Lhaz 自己解凍書庫パラメータ lhaz@chitora.jp */
3 /*==========================================================================*/
4 #ifndef _LHAZSFX_H
5 #define _LHAZSFX_H
6 #include "altstr.hpp"
7 
8 class MYFILE;
9 
10 class LHAZSFX {
11 
12 public:
13  static const TCHAR SFXTITLE[];
14  //
15  LHAZSFX(void);
16  //
17  void SetTitle(const WSTR& s) { Title = s; }
18  void SetDestDir(const WSTR& s) { DestDir = s; }
19  void SetLinkName(const WSTR& s) { LinkName = s; }
20  void SetExecName(const WSTR& s) { ExecName = s; }
21  void SetShortName(const WSTR& s) { ShortName = s; }
22  void SetParam(char s) { Param = s; }
23  void SetCbPrgrm(char s) { CbPrgrm = s; }
24  void SetCbStart(char s) { CbStart = s; }
25  void SetCbDeskTop(char s) { CbDeskTop = s; }
26  void SetCbSendTo(char s) { CbSendTo = s; }
27  char GetParam(void) const { return Param; }
28  const WSTR& GetTitle(void) const { return Title; }
29  char GetCbPrgrm(void) const { return CbPrgrm; }
30  const WSTR& GetDestDir(void) const { return DestDir; }
31  const WSTR& GetLinkName(void) const { return LinkName; }
32  char GetCbStart(void) const { return CbStart; }
33  char GetCbDeskTop(void) const { return CbDeskTop; }
34  char GetCbSendTo(void) const { return CbSendTo; }
35  const WSTR& GetExecName(void) const { return ExecName; }
36  const WSTR& GetShortName(void) const { return ShortName; }
37  bool Write(MYFILE& fo) const;
38  bool Read(MYFILE& fi, bool option);
39 
40 private:
41  char Param;
42  WSTR Title;
43  WSTR DestDir;
44  WSTR LinkName;
45  WSTR ExecName;
46  WSTR ShortName;
47  char CbPrgrm;
48  char CbStart;
49  char CbDeskTop;
50  char CbSendTo;
51 
52 };
53 
54 #endif
static const TCHAR SFXTITLE[]
Definition: lhazsfx.h:13
char GetCbDeskTop(void) const
Definition: lhazsfx.h:33
WSTR Title
Definition: lhazsfx.h:42
char CbStart
Definition: lhazsfx.h:48
void SetCbSendTo(char s)
Definition: lhazsfx.h:26
WSTR ExecName
Definition: lhazsfx.h:45
void SetCbPrgrm(char s)
Definition: lhazsfx.h:23
char Param
Definition: lhazsfx.h:41
char GetParam(void) const
Definition: lhazsfx.h:27
bool Read(MYFILE &fi, bool option)
Definition: lhazsfx.cpp:73
char CbSendTo
Definition: lhazsfx.h:50
void SetExecName(const WSTR &s)
Definition: lhazsfx.h:20
void SetDestDir(const WSTR &s)
Definition: lhazsfx.h:18
const WSTR & GetLinkName(void) const
Definition: lhazsfx.h:31
const WSTR & GetShortName(void) const
Definition: lhazsfx.h:36
void SetCbDeskTop(char s)
Definition: lhazsfx.h:25
char CbPrgrm
Definition: lhazsfx.h:47
char GetCbStart(void) const
Definition: lhazsfx.h:32
const WSTR & GetExecName(void) const
Definition: lhazsfx.h:35
WSTR ShortName
Definition: lhazsfx.h:46
Definition: lhazsfx.h:10
char CbDeskTop
Definition: lhazsfx.h:49
WSTR DestDir
Definition: lhazsfx.h:43
void SetShortName(const WSTR &s)
Definition: lhazsfx.h:21
void SetCbStart(char s)
Definition: lhazsfx.h:24
const WSTR & GetDestDir(void) const
Definition: lhazsfx.h:30
const WSTR & GetTitle(void) const
Definition: lhazsfx.h:28
char GetCbSendTo(void) const
Definition: lhazsfx.h:34
void SetLinkName(const WSTR &s)
Definition: lhazsfx.h:19
LHAZSFX(void)
Definition: lhazsfx.cpp:16
WSTR LinkName
Definition: lhazsfx.h:44
void SetTitle(const WSTR &s)
Definition: lhazsfx.h:17
char GetCbPrgrm(void) const
Definition: lhazsfx.h:29
void SetParam(char s)
Definition: lhazsfx.h:22
bool Write(MYFILE &fo) const
Definition: lhazsfx.cpp:28