Lhaz
読み取り中…
検索中…
一致する文字列を見つけられません
lhazsfx.h
[詳解]
1/*==========================================================================*/
2/* Lhaz 自己解凍書庫パラメータ lhaz@chitora.jp */
3/*==========================================================================*/
4#ifndef _LHAZSFX_H
5#define _LHAZSFX_H
6#include "altstr.hpp"
7
8class MYFILE;
9
10class LHAZSFX {
11
12public:
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
40private:
41 char Param;
42 WSTR Title;
43 WSTR DestDir;
47 char CbPrgrm;
48 char CbStart;
51
52};
53
54#endif
Definition lhazsfx.h:10
WSTR LinkName
Definition lhazsfx.h:44
char CbSendTo
Definition lhazsfx.h:50
bool Write(MYFILE &fo) const
Definition lhazsfx.cpp:30
void SetCbDeskTop(char s)
Definition lhazsfx.h:25
char GetCbStart(void) const
Definition lhazsfx.h:32
void SetCbStart(char s)
Definition lhazsfx.h:24
void SetLinkName(const WSTR &s)
Definition lhazsfx.h:19
const WSTR & GetTitle(void) const
Definition lhazsfx.h:28
LHAZSFX(void)
Definition lhazsfx.cpp:18
bool Read(MYFILE &fi, bool option)
Definition lhazsfx.cpp:75
char GetCbSendTo(void) const
Definition lhazsfx.h:34
const WSTR & GetLinkName(void) const
Definition lhazsfx.h:31
char CbDeskTop
Definition lhazsfx.h:49
void SetShortName(const WSTR &s)
Definition lhazsfx.h:21
char GetCbPrgrm(void) const
Definition lhazsfx.h:29
char CbPrgrm
Definition lhazsfx.h:47
void SetCbSendTo(char s)
Definition lhazsfx.h:26
static const TCHAR SFXTITLE[]
Definition lhazsfx.h:13
WSTR DestDir
Definition lhazsfx.h:43
const WSTR & GetExecName(void) const
Definition lhazsfx.h:35
void SetTitle(const WSTR &s)
Definition lhazsfx.h:17
char Param
Definition lhazsfx.h:41
char GetParam(void) const
Definition lhazsfx.h:27
void SetCbPrgrm(char s)
Definition lhazsfx.h:23
void SetExecName(const WSTR &s)
Definition lhazsfx.h:20
const WSTR & GetDestDir(void) const
Definition lhazsfx.h:30
char CbStart
Definition lhazsfx.h:48
void SetParam(char s)
Definition lhazsfx.h:22
WSTR ShortName
Definition lhazsfx.h:46
void SetDestDir(const WSTR &s)
Definition lhazsfx.h:18
char GetCbDeskTop(void) const
Definition lhazsfx.h:33
const WSTR & GetShortName(void) const
Definition lhazsfx.h:36
WSTR Title
Definition lhazsfx.h:42
WSTR ExecName
Definition lhazsfx.h:45