6 SysUtils, Classes, Graphics, Forms, Math, IniFiles, UCryptAuto, UBase64,
7 ComCtrls, GestureModel;
10 MAIN_COOLBAND_COUNT = 4; //
\83\81\83C
\83\93CoolBand
\82Ì
\90\94
11 LIST_COOLBAND_COUNT = 2; //
\94ÂCoolBand
\82Ì
\90\94
12 BROWSER_COOLBAND_COUNT = 3; //
\83u
\83\89\83E
\83UCoolBand
\82Ì
\90\94
14 BOARD_FILE_NAME = 'board.2ch';
15 CUSTOMBOARD_FILE_NAME = 'custom.2ch';
16 BOARD_DIR_NAME = 'Board';
17 KEY_SETTING_FILE_NAME = 'key.ini';
18 EKEY_SETTING_FILE_NAME = 'Ekey.ini';
20 OUTBOX_FILE_NAME = 'outbox.ini';
21 SENT_FILE_NAME = 'sent.ini';
22 CONFIG_DIR_NAME = 'config';
24 SKIN_DIR_NAME = 'skin';
25 SKIN_HEADER_FILE_NAME = 'Header.html';
26 SKIN_FOOTER_FILE_NAME = 'Footer.html';
27 SKIN_NEWRES_FILE_NAME = 'NewRes.html';
28 SKIN_RES_FILE_NAME = 'Res.html';
29 SKIN_BOOKMARK_FILE_NAME = 'Bookmark.html';
30 SKIN_NEWMARK_FILE_NAME = 'Newmark.html';
31 NGWORDs_DIR_NAME : String = 'NGwords';
32 BOARD_PLUGIN_DIR_NAME = 'BoardPlugin';
33 SAMBATIME_FILE_NAME : String = 'Samba.ini';
34 IGNORE_FILE_NAME : String = 'Ignore.txt';
35 // DOLIB_LOGIN_URL = '/~tora3n2c/futen.cgi';
36 MAX_POPUP_RES : Integer = 10;
37 GESTURE_FILE_NAME = 'Gestures.ini';
38 SPAMFILTER_FILE_NAME = 'SpamFilter.ini';
39 LANGUAGE_FILE_NAME = 'language.ini';
42 TGikoTabPosition = (gtpTop, gtpBottom); //
\83^
\83u
\88Ê
\92u
43 TGikoTabAppend = (gtaFirst, gtpLast); //
\83^
\83u
\92Ç
\89Á
\88Ê
\92u
44 TGikoTabStyle = (gtsTab, gtsButton, gtsFlat); //
\83^
\83u
\83X
\83^
\83C
\83\8b
45 TGikoListOrientation = (gloHorizontal, gloVertical); //
\83\8a\83X
\83g
\90\82\92¼
\81E
\90\85\95½
46 TGikoListState = (glsMax, glsNormal, glsMin); //
\83\8a\83X
\83g
\83T
\83C
\83Y
\8fó
\91Ô
47 //
\83|
\83b
\83v
\83A
\83b
\83v
\95\
\8e¦
\88Ê
\92u
48 TGikoPopupPosition = (gppRightTop, gppTop, gppLeftTop,
49 gppRight, gppCenter, gppLeft,
50 gppRightBottom, gppBottom, gppLeftBottom);
51 //
\83v
\83\8c\83r
\83\85\81[
\83T
\83C
\83Y
52 TGikoPreviewSize = (gpsXLarge, gpsLarge, gpsMedium, gpsSmall, gpsXSmall);
53 TGikoBrowserAutoMaximize = (gbmNone, gbmClick, gbmDoubleClick);
54 //
\83u
\83\89\83E
\83U
\82ð
\8e©
\93®
\93I
\82É
\8dÅ
\91å
\89»
\82·
\82é
\8fð
\8c\8f
55 ///
\83\8c\83X
\95\
\8e¦
\94Í
\88Í
\81B10
\81` 65535
\82Í
\8dÅ
\90V n
\83\8c\83X
\88µ
\82¢
\81B
56 ///
\8f«
\97\88 201-300
\82Ì
\82æ
\82¤
\82È
\94Í
\88Í
\82ð
\8e\9d\82½
\82¹
\82é
\89Â
\94\
\90«
\82à
\8dl
\82¦
\82Ä
\8fã
\88Ê 2 byte
\82Í
\97\
\96ñ
\81B
57 TGikoResRange = (grrAll, grrSelect, grrKoko, grrNew);
59 ///
\83X
\83\8c\83b
\83h
\88ê
\97\97\95\
\8e¦
\94Í
\88Í
60 TGikoThreadRange = (gtrAll, gtrSelect, gtrLog, gtrNew);
62 //!
\83X
\83p
\83\80\83t
\83B
\83\8b\83^
\81[
\83A
\83\8b\83S
\83\8a\83Y
\83\80
63 TGikoSpamFilterAlgorithm = (
64 gsfaNone, gsfaPaulGraham, gsfaGaryRobinson, gsfaGaryRobinsonFisher);
67 ///
\83J
\83e
\83S
\83\8a\83\8a\83X
\83g
\82Ì
\83J
\83\89\83\80 ID
68 type TGikoBBSColumnID = (gbbscTitle);
69 ///
\83J
\83e
\83S
\83\8a\83\8a\83X
\83g
\82Ì
\83J
\83\89\83\80\96¼
70 const GikoBBSColumnCaption : array[0..0] of string =
71 ( '
\83J
\83e
\83S
\83\8a\96¼' );
72 ///
\83J
\83e
\83S
\83\8a\83\8a\83X
\83g
\83J
\83\89\83\80\94z
\97ñ
73 type TGikoBBSColumnList = class( TList )
75 function GetItem( index : integer ) : TGikoBBSColumnID;
76 procedure SetItem( index : integer; value : TGikoBBSColumnID);
79 destructor Destroy; override;
80 function Add( value : TGikoBBSColumnID ) : Integer;
81 property Items[index : integer]: TGikoBBSColumnID read GetItem write SetItem; default;
83 ///
\94Â
\83\8a\83X
\83g
\82Ì
\83J
\83\89\83\80 ID
84 type TGikoCategoryColumnID = (gccTitle, gccRoundName, gccLastModified);
85 ///
\94Â
\83\8a\83X
\83g
\82Ì
\83J
\83\89\83\80\96¼
86 const GikoCategoryColumnCaption : array[0..2] of string =
87 ( '
\94Â
\96¼', '
\8f\84\89ñ
\97\
\96ñ', '
\8eæ
\93¾
\93ú
\8e\9e' );
88 ///
\94Â
\83\8a\83X
\83g
\83J
\83\89\83\80\94z
\97ñ
89 type TGikoCategoryColumnList = class( TList )
91 function GetItem( index : integer ) : TGikoCategoryColumnID;
92 procedure SetItem( index : integer; value : TGikoCategoryColumnID);
95 destructor Destroy; override;
96 function Add( value : TGikoCategoryColumnID ) : Integer;
97 property Items[index : integer]: TGikoCategoryColumnID read GetItem write SetItem; default;
99 ///
\83X
\83\8c\83\8a\83X
\83g
\82Ì
\83J
\83\89\83\80 ID
100 type TGikoBoardColumnID = (gbcTitle, gbcAllCount, gbcLocalCount, gbcNonAcqCount,
101 gbcNewCount, gbcUnReadCount, gbcRoundName, gbcRoundDate, gbcCreated, gbcLastModified );{gbcLastModified,}
102 ///
\83X
\83\8c\83\8a\83X
\83g
\82Ì
\83J
\83\89\83\80\96¼
103 const GikoBoardColumnCaption : array[0..9] of string =
104 ( '
\83X
\83\8c\83b
\83h
\96¼', '
\83J
\83E
\83\93\83g', '
\8eæ
\93¾', '
\96¢
\8eæ
\93¾', '
\90V
\92\85',
105 '
\96¢
\93Ç', '
\8f\84\89ñ
\97\
\96ñ', '
\8eæ
\93¾
\93ú
\8e\9e', '
\83X
\83\8c\8dì
\90¬
\93ú
\8e\9e', '
\8dÅ
\8fI
\8dX
\90V
\93ú
\8e\9e' );
106 const GikoBoardColumnAlignment : array[0..9] of TAlignment = (
107 taLeftJustify, taRightJustify, taRightJustify, taRightJustify,
108 taRightJustify, taRightJustify, taLeftJustify, taLeftJustify,
109 taLeftJustify, taLeftJustify);
110 ///
\83X
\83\8c\83\8a\83X
\83g
\83J
\83\89\83\80\94z
\97ñ
111 type TGikoBoardColumnList = class( TList )
113 function GetItem( index : integer ) : TGikoBoardColumnID;
114 procedure SetItem( index : integer; value : TGikoBoardColumnID);
117 destructor Destroy; override;
118 function Add( value : TGikoBoardColumnID ) : Integer;
119 property Items[index : integer]: TGikoBoardColumnID read GetItem write SetItem; default;
123 //CoolBar
\90Ý
\92è
\83\8c\83R
\81[
\83h
130 TSetting = class(TObject)
132 //
\8eó
\90M
\83o
\83b
\83t
\83@
\83T
\83C
\83Y
133 FRecvBufferSize: Integer;
136 //
\83v
\83\8d\83L
\83V
\90Ú
\91±HTTP1.1
\8eg
\97p
137 FProxyProtocol: Boolean;
139 //
\83v
\83\8d\83L
\83V
\81i
\93Ç
\8d\9e\97p
\81j
141 FReadProxyAddress: string;
142 FReadProxyPort: Integer;
143 FReadProxyUserID: string;
144 FReadProxyPassword: string;
146 //
\83v
\83\8d\83L
\83V
\81i
\8f\91\8d\9e\97p
\81j
147 FWriteProxy: Boolean;
148 FWriteProxyAddress: string;
149 FWriteProxyPort: Integer;
150 FWriteProxyUserID: string;
151 FWriteProxyPassword: string;
153 //
\83L
\83\83\83r
\83l
\83b
\83g
154 FCabinetFontName: string;
155 FCabinetFontSize: Integer;
156 FCabinetFontBold: Boolean;
157 FCabinetFontItalic: Boolean;
158 FCabinetFontColor: TColor;
159 FCabinetBackColor: TColor;
162 FListFontName: string;
163 FListFontSize: Integer;
164 FListFontBold: Boolean;
165 FListFontItalic: Boolean;
166 FListFontColor: TColor;
167 FListBackColor: TColor;
170 FBrowserFontName: string; // ''...default
171 FBrowserFontSize: Integer; // 0...default
172 FBrowserFontBold: Integer; // 0...default, -1...False, 1...True
173 FBrowserFontItalic: Integer; //
\8fã
\82É
\93¯
\82¶
174 FBrowserFontColor: Integer; // -1...default
175 FBrowserBackColor: Integer; //
\8fã
\82É
\93¯
\82¶
178 FEditorFontName: string;
179 FEditorFontSize: Integer;
180 FEditorFontBold: Boolean;
181 FEditorFontItalic: Boolean;
182 FEditorFontColor: TColor;
183 FEditorBackColor: TColor;
185 //
\83^
\83u
\83t
\83H
\83\93\83g
186 FBrowserTabFontName: string;
187 FBrowserTabFontSize: Integer;
188 FBrowserTabFontBold: Boolean;
189 FBrowserTabFontItalic: Boolean;
191 //
\83q
\83\93\83g
\83E
\83B
\83\93\83h
\83E
192 FHintFontName: string;
193 FHintFontSize: Integer;
194 //FHintFontBold: Boolean;
195 //FHintFontItalic: Boolean;
196 FHintFontColor: TColor;
197 FHintBackColor: TColor;
199 //
\83E
\83B
\83\93\83h
\83E
\83T
\83C
\83Y
201 FWindowLeft: Integer;
202 FWindowHeight: Integer;
203 FWindowWidth: Integer;
205 //
\83\8a\83X
\83g
\83r
\83\85\81[
\83X
\83^
\83C
\83\8b
206 FListStyle: TViewStyle;
208 //
\83c
\81[
\83\8b\83o
\81[
\95\
\8e¦
209 FStdToolBarVisible: Boolean;
210 FAddressBarVisible: Boolean;
211 FLinkBarVisible: Boolean;
212 FListToolBarVisible: Boolean;
213 FListNameBarVisible: Boolean;
214 FBrowserToolBarVisible: Boolean;
215 FBrowserNameBarVisible: Boolean;
217 //
\83u
\83\89\83E
\83U
\83^
\83u
218 FBrowserTabVisible: Boolean;
219 FBrowserTabPosition: TGikoTabPosition;
220 FBrowserTabAppend: TGikoTabAppend;
221 FBrowserTabStyle: TGikoTabStyle;
223 //
\83\81\83b
\83Z
\81[
\83W
\83o
\81[
224 FMessageBarVisible: Boolean;
225 FMessegeBarHeight: Integer;
227 //
\83X
\83e
\81[
\83^
\83X
\83o
\81[
228 FStatusBarVisible: Boolean;
230 //
\83L
\83\83\83r
\83l
\83b
\83g
\89Â
\8e\8b\81E
\83T
\83C
\83Y
231 FCabinetVisible: Boolean;
232 FCabinetWidth: Integer;
234 //
\83\8a\83X
\83g
\81E
\83u
\83\89\83E
\83U
\83T
\83C
\83Y
235 FListOrientation: TGikoListOrientation;
236 FListHeight: Integer;
237 FListHeightState: TGikoListState;
239 FListWidthState: TGikoListState;
240 // FListHeightMax: Boolean;
241 // FListWidthMax: Boolean;
243 //
\91\97\90M
\97p
\96¼
\91O
\81E
\83\81\81[
\83\8b
244 FNameList: TStringList;
245 FMailList: TStringList;
247 //
\83G
\83f
\83B
\83^
\81[
\83E
\83B
\83\93\83h
\83E
\83T
\83C
\83Y
248 FEditWindowTop: Integer;
249 FEditWindowLeft: Integer;
250 FEditWindowHeight: Integer;
251 FEditWindowWidth: Integer;
252 FEditWindowMax: Boolean;
253 FEditWindowStay: Boolean;
254 FEditWindowTranslucent: Boolean;
256 //
\83\8a\83X
\83g
\94Ô
\8d\86\95\
\8e¦
257 FListViewNo: Boolean;
260 //CSS
\83t
\83@
\83C
\83\8b\96¼
261 FCSSFileName: string;
262 //
\83X
\83L
\83\93\95\
\8e¦(
\88ê
\8e\9e\93I
\82È
\82à
\82Ì
\82Å ini
\82É
\95Û
\91¶
\82Í
\82³
\82ê
\82È
\82¢)
266 ///
\83\8c\83X
\95\
\8e¦
\94Í
\88Í
268 ///
\8bN
\93®
\8e\9e\83\8c\83X
\95\
\8e¦
\94Í
\88Í
\82Ì
\8cÅ
\92è
269 FResRangeHold : Boolean;
270 ///
\83X
\83\8c\83b
\83h
\88ê
\97\97\95\
\8e¦
\94Í
\88Í
271 FThreadRange : TGikoThreadRange;
272 //
\94ñ
\83A
\83N
\83e
\83B
\83u
\8e\9e\83\8c\83X
\83|
\83b
\83v
\83A
\83b
\83v
\95\
\8e¦
273 FUnActivePopup: Boolean;
274 //
\83\8c\83X
\83|
\83b
\83v
\83A
\83b
\83v
\83w
\83b
\83_
\81[
\83{
\81[
\83\8b\83h
275 FResPopupHeaderBold: Boolean;
277 //
\83\8d\83O
\83t
\83H
\83\8b\83_
279 FLogFolderP: string; //
\83p
\83X
\96¼
\82ª
\83p
\83X
\8bæ
\90Ø
\82è
\8bL
\8d\86\82Å
\8fI
\82í
\82Á
\82Ä
\82¢
\82é
\81B
280 FNewLogFolder: string;
282 //
\83\8a\83X
\83g
\83J
\83\89\83\80\83w
\83b
\83_
\81[
\83T
\83C
\83Y
283 FBBSColumnWidth: array[0..0] of Integer;
284 FCategoryColumnWidth: array[0..2] of Integer;
285 FBoardColumnWidth: array[0..9] of Integer;
287 ///
\83J
\83e
\83S
\83\8a\83\8a\83X
\83g
\83J
\83\89\83\80\8f\87\8f\98
288 FBBSColumnOrder : TGikoBBSColumnList;
289 ///
\94Â
\83\8a\83X
\83g
\83J
\83\89\83\80\8f\87\8f\98
290 FCategoryColumnOrder : TGikoCategoryColumnList;
291 ///
\83X
\83\8c\83\8a\83X
\83g
\83J
\83\89\83\80\8f\87\8f\98
292 FBoardColumnOrder : TGikoBoardColumnList;
295 FBBSSortIndex: Integer;
296 FBBSSortOrder: Boolean;
297 FCategorySortIndex: Integer;
298 FCategorySortOrder: Boolean;
299 FBoardSortIndex: Integer;
300 FBoardSortOrder: Boolean;
302 //Dat
\97\8e\82¿
\83X
\83\8c\83\
\81[
\83g
\8f\87
303 FDatOchiSortIndex: Integer;
304 FDatOchiSortOrder: Boolean;
306 //
\8di
\8d\9e\82Ý
\95¶
\8e\9a\97ñ
307 FSelectTextList: TStringList;
310 //FBoardURL2ch: string;
311 FBoardURLs: TStringList;
312 FBoardURLSelected: Integer;
314 //
\83\86\81[
\83UID
\81E
\83p
\83X
\83\8f\81[
\83h
318 FForcedLogin: Boolean;
321 //URL
\83N
\83\8a\83b
\83N
\8e\9e\8bN
\93®
\83A
\83v
\83\8a
325 //mailto
\83N
\83\8a\83b
\83N
\8e\9e\93®
\8dì
326 FOpenMailer: Boolean;
331 //CoolBar
\81i
\83\81\83C
\83\93\81E
\94Â
\81E
\83u
\83\89\83E
\83U
\81j
332 FMainCoolBar: array[0..MAIN_COOLBAND_COUNT - 1] of TCoolSet;
333 FListCoolBar: array[0..LIST_COOLBAND_COUNT - 1] of TCoolSet;
334 FBrowserCoolBar: array[0..BROWSER_COOLBAND_COUNT - 1] of TCoolSet;
337 FListToolBarWrapable: Boolean;
338 FBrowserToolBarWrapable: Boolean;
340 //
\83|
\83b
\83v
\83A
\83b
\83v
\88Ê
\92u
341 FPopupPosition: TGikoPopupPosition;
343 //
\83A
\83h
\83\8c\83X
\83o
\81[
344 FURLDisplay: Boolean;
345 FAddressBarTabStop: Boolean;
346 FLinkAddAddressBar: Boolean;
347 FAddressHistoryCount: Integer;
349 //
\89æ
\91\9c\83v
\83\8c\83r
\83\85\81[
350 FPreviewVisible: Boolean;
351 FPreviewSize: TGikoPreviewSize;
352 FPreviewWait: Integer;
354 //
\83u
\83\89\83E
\83U
355 FBrowserAutoMaximize: TGikoBrowserAutoMaximize;
357 //
\83X
\83\8c\83b
\83h
\88ê
\97\97\8dX
\90V
\83A
\83C
\83R
\83\93\95\
\8e¦
358 FListIconVisible: Boolean;
360 //
\83X
\83\8c\83b
\83h
\88ê
\97\97\82ÅLog
\82Ì
\82 \82é
\83X
\83\8c\83b
\83h
\82Ì
\82Ý
\83X
\83\8c\8dì
\90¬
\93ú
\82ð
\95\
\8e¦
\82·
\82é
\82©
361 FCreationTimeLogs: Boolean;
362 //
\83X
\83\8c\83b
\83h
\88ê
\97\97\82Ì
\83X
\83\8c\90¶
\90¬
\93ú
\82Å
\96¢
\97\88\82Ì
\83X
\83\8c\82Ì
\90¶
\90¬
\93ú
\82ð
\95\
\8e¦
\82µ
\82È
\82¢
363 FFutureThread: Boolean;
365 //
\8f\91\82«
\8d\9e\82Ý
\8e\9e\83}
\83V
\83\93\8e\9e\8aÔ
\8eg
\97p
\90Ý
\92è
366 FUseMachineTime: Boolean;
367 FTimeAdjustSec: Integer;
368 FTimeAdjust: Boolean;
371 FAbonDeleterlo : Boolean; //&rlo;
\82ð
\8dí
\82é
\82©
372 FAbonReplaceul : Boolean; //<ul>
\83^
\83O
\82ð<br>
\83^
\83O
\82É
\92u
\8a·
\82·
\82é
\82©
373 FPopUpAbon : Boolean; //
\83\8c\83X
\83|
\83b
\83v
\83A
\83b
\83v
\8e\9e\82Ì
\82 \82Ú
\81`
\82ñ
\97L
\8cø
374 FShowNGLinesNum : Boolean; //
\8aY
\93\96\82µ
\82½
\82m
\82f
\83\8f\81[
\83h
\83t
\83@
\83C
\83\8b\82Ì
\8ds
\90\94\82ð
\95\
\8e¦
375 FAddResAnchor : Boolean; //NG
\83\8c\83X
\82Ö
\82Ì
\83\8c\83X
\83A
\83\93\83J
\81[
\82ð
\92Ç
\89Á
\82·
\82é
376 FDeleteSyria : Boolean; //
\83V
\83\8a\83A
\8cê
\83u
\83\89\83N
\83\89\91Î
\8dô
377 FIgnoreKana : Boolean; //
\91S
\94¼
\8ap
\82Ð
\82ç
\83J
\83i
\82Ì
\88á
\82¢
\82ð
\96³
\8e\8b\82·
\82é
\82©
379 //
\83X
\83\8c\83b
\83h
\8di
\8d\9e\83t
\83B
\81[
\83\8b\83h
\82Ì
\95\9d
380 FSelectComboBoxWidth : Integer;
382 //
\8dÅ
\8cã
\82É
\91I
\91ð
\82³
\82ê
\82½
\83I
\83v
\83V
\83\87\83\93\83_
\83C
\83A
\83\8d\83O
\82Ì
\83^
\83u
383 FOptionDialogTabIndex: Integer;
385 //
\8dÅ
\8cã
\82É
\91I
\91ð
\82³
\82ê
\82½
\83L
\83\83\83r
\83l
\83b
\83g
386 FCabinetIndex: Integer;
388 //
\8fI
\97¹
\8e\9e\82É
\8am
\94F
\83_
\83C
\83A
\83\8d\83O
\82ð
\95\
\8e¦
\82·
\82é
\82©
389 FShowDialogForEnd : Boolean;
390 //
\91S
\82Ä
\82Ì
\83^
\83u
\95Â
\82¶
\82é
\82Ì
\82Æ
\82«
\82É
\8am
\94F
\83_
\83C
\83A
\83\8d\83O
\82ð
\95\
\8e¦
\82·
\82é
391 FShowDialogForAllTabClose: Boolean;
392 //
\8eæ
\93¾
\83\8c\83X
\90\94\82Æ
\83X
\83\8c\83b
\83h
\82Ì
\83\8c\83X
\90\94\82ª
\88Ù
\82È
\82Á
\82½
\82Æ
\82«
\82É
\92Ê
\8fí
\94w
\8ci
\90F
\82Æ
\88á
\82Á
\82½
\90F
\82Ì
\94w
\8ci
\90F
\82ð
\8eg
\97p
\82·
\82é
\82©
393 FUseOddColorOddResNum: Boolean;
395 //
\83\8c\83X
\90\94\91\9d\8c¸
\8b
\92²
\8e\9e\82É
\81A
\91I
\91ð
\83A
\83C
\83e
\83\80\82É
\83t
\83H
\81[
\83J
\83X
\82ª
\96³
\82¢
\82Æ
\82«
\82É
\91¾
\8e\9a\82É
\82·
\82é
\82©
396 FUnFocusedBold : Boolean;
398 //Samba24
\91Î
\8dô
\8b@
\94\
\82ð
\8eg
\82¤
\82©
401 //
\83\8c\83X
\83A
\83\93\83J
\81[
\82ð
\83N
\83\8a\83b
\83N
\82µ
\82Ä
\83W
\83\83\83\93\83v
\82·
\82é
\82©
402 FResAnchorJamp: Boolean;
404 //Tab
\8e©
\93®
\95Û
\91¶
405 FTabAutoLoadSave : Boolean;
407 //
\82É
\82¿
\82á
\82ñ
\8cê
\88Ä
\93à
\83T
\83|
\81[
\83g
\8b@
\94\
408 F2chSupport : Boolean;
411 FSpaceToNBSP : Boolean; ///<
\94¼
\8ap
\83X
\83y
\81[
\83X
\81ATab
\82ð
\82É
\92u
\8a·
412 FAmpToCharRef : Boolean; ///< '&'
\82ð &
\82É
\92u
\8a·
414 //
\83u
\83\89\83E
\83U
\83^
\83u
\94ñ
\95\
\8e¦
\82Ì
\8e\9e\82Ì
\83X
\83\8c\88ê
\97\97\82Å
\82Ì
\83J
\81[
\83\
\83\8b\83L
\81[
\88Ú
\93®
\82Ì
\96³
\94½
\89\9e\8e\9e\8aÔ
415 FSelectInterval : Integer;
417 //KuroutSettingTab
\8fÚ
\8d×
\90Ý
\92è
\83^
\83u
\82ÌActiveTab
418 FKuroutSettingTabIndex: Integer;
420 //!
\83}
\83E
\83X
\83W
\83F
\83X
\83`
\83\83\81[
421 FGestures : TGestureModel;
422 //!
\83}
\83E
\83X
\83W
\83F
\83X
\83`
\83\83\81[
\82ð
\8eg
\97p
\82·
\82é
\82©
\82Ç
\82¤
\82©
423 FGestureEnabled : Boolean;
425 //2ch
\8c¾
\8cê
\90Ý
\92è
426 //F2chLanguage : TStringList;
428 //
\83t
\83V
\83A
\83i
\83g
\83\89\83b
\83v
\90Ý
\92è
429 FLocalTrapAtt : Boolean;
430 FRemoteTrapAtt : Boolean;
431 FReadTimeOut: Integer;
433 //!
\8eg
\97p
\82·
\82é
\83X
\83p
\83\80\83t
\83B
\83\8b\83^
\81[
434 FSpamFilterAlgorithm : TGikoSpamFilterAlgorithm;
435 //
\83~
\83\85\81[
\83g
\82µ
\82Ä
\82é
\82©
437 //
\83X
\83\8c\8di
\8d\9e\82Ý
\82Å
\96¢
\8am
\92è
\95¶
\8e\9a\82à
\97L
\8cø
\82É
\82·
\82é
\82©
438 FUseUndecided: Boolean;
439 //MessageList
\82É
\8fo
\97Í
\82³
\82ê
\82é
\83\81\83b
\83Z
\81[
\83W
440 FMessageList : array[0..13] of string;
443 //
\94F
\8fØ
\97p
\83\86\81[
\83UID
\81E
\83p
\83X
\83\8f\81[
\83h
446 FBeAutoLogin: Boolean;
448 //
\97\9a\97ð
\82Ì
\8dÅ
\91å
\95Û
\91¶
\8c\8f\90\94
449 FMaxRecordCount : Integer;
451 function GetMainCoolSet(Index: Integer): TCoolSet;
452 function GetBoardCoolSet(Index: Integer): TCoolSet;
453 function GetBrowserCoolSet(Index: Integer): TCoolSet;
454 procedure SetMainCoolSet(Index: Integer; CoolSet: TCoolSet);
455 procedure SetBoardCoolSet(Index: Integer; CoolSet: TCoolSet);
456 procedure SetBrowserCoolSet(Index: Integer; CoolSet: TCoolSet);
458 function GetBBSColumnWidth(index: Integer): Integer;
459 function GetCategoryColumnWidth(index: Integer): Integer;
460 function GetBoardColumnWidth(index: Integer): Integer;
461 procedure SetBBSColumnWidth(index: Integer; value: Integer);
462 procedure SetCategoryColumnWidth(index: Integer; value: Integer);
463 procedure SetBoardColumnWidth(index: Integer; value: Integer);
465 function GetSoundName(Index: Integer): string;
466 function GetSoundViewName(Index: Integer): string;
467 function GetSoundFileName(Index: Integer): string;
468 procedure SetSoundFileName(Index: Integer; value: string);
469 function Encrypt(s: string): string;
470 function Decrypt(s: string): string;
472 procedure MakeURLIniFile();
474 procedure SetUseCSS( value: Boolean );
475 procedure SetCSSFileName( fileName: string );
480 destructor Destroy; override;
481 function GetFileName: string;
482 function GetBoardURLFileName: string;
483 procedure ReadSettingFile;
484 procedure ReadBoardURLsFile;
485 procedure WriteSystemSettingFile;
486 procedure WriteWindowSettingFile;
487 procedure WriteNameMailSettingFile;
488 procedure WriteFolderSettingFile();
489 procedure WriteBoardURLSettingFile;
490 function GetSoundCount: Integer;
491 function FindSoundFileName(Name: string): string;
493 function GetBoardFileName: string;
494 function GetCustomBoardFileName: string;
495 function GetBoardDir: string;
496 function GetHtmlTempFileName: string;
497 function GetAppDir: string;
498 function GetTempFolder: string;
499 function GetSentFileName: string;
500 function GetConfigDir: string;
501 function GetSkinDir: string;
502 function GetSkinHeaderFileName: string;
503 function GetSkinFooterFileName: string;
504 function GetSkinResFileName: string;
505 function GetSkinNewResFileName: string;
506 function GetSkinBookmarkFileName: string;
507 function GetSkinNewmarkFileName: string;
508 function GetStyleSheetDir: string;
509 function GetOutBoxFileName: string;
510 function GetNGWordsDir: string;
511 function GetBoardPlugInDir: string;
512 function GetSambaFileName: string;
513 function GetIgnoreFileName: string;
514 function GetGestureFileName : string;
515 function GetSpamFilterFileName : string;
516 function GetLanguageFileName: string;
517 procedure SetMessages;
518 function GetMessage(AType :Integer): string;
519 procedure WriteLogFolder(AVal : String);
521 //
\8eó
\90M
\83o
\83b
\83t
\83@
\83T
\83C
\83Y
522 property RecvBufferSize: Integer read FRecvBufferSize write FRecvBufferSize;
524 property Protocol: Boolean read FProtocol write FProtocol;
525 //
\83v
\83\8d\83L
\83V
\90Ú
\91±HTTP1.1
\8eg
\97p
526 property ProxyProtocol: Boolean read FProxyProtocol write FProxyProtocol;
528 property ReadProxy: Boolean read FReadProxy write FReadProxy;
529 property ReadProxyAddress: string read FReadProxyAddress write FReadProxyAddress;
530 property ReadProxyPort: Integer read FReadProxyPort write FReadProxyPort;
531 property ReadProxyUserID: string read FReadProxyUserID write FReadProxyUserID;
532 property ReadProxyPassword: string read FReadProxyPassword write FReadProxyPassword;
534 property WriteProxy: Boolean read FWriteProxy write FWriteProxy;
535 property WriteProxyAddress: string read FWriteProxyAddress write FWriteProxyAddress;
536 property WriteProxyPort: Integer read FWriteProxyPort write FWriteProxyPort;
537 property WriteProxyUserID: string read FWriteProxyUserID write FWriteProxyUserID;
538 property WriteProxyPassword: string read FWriteProxyPassword write FWriteProxyPassword;
540 property CabinetFontName: string read FCabinetFontName write FCabinetFontName;
541 property CabinetFontSize: Integer read FCabinetFontSize write FCabinetFontSize;
542 property CabinetFontBold: Boolean read FCabinetFontBold write FCabinetFontBold;
543 property CabinetFontItalic: Boolean read FCabinetFontItalic write FCabinetFontItalic;
544 property CabinetFontColor: TColor read FCabinetFontColor write FCabinetFontColor;
545 property CabinetBackColor: TColor read FCabinetBackColor write FCabinetBackColor;
547 property ListFontName: string read FListFontName write FListFontName;
548 property ListFontSize: Integer read FListFontSize write FListFontSize;
549 property ListFontBold: Boolean read FListFontBold write FListFontBold;
550 property ListFontItalic: Boolean read FListFontItalic write FListFontItalic;
551 property ListFontColor: TColor read FListFontColor write FListFontColor;
552 property ListBackColor: TColor read FListBackColor write FListBackColor;
554 property BrowserFontName: string read FBrowserFontName write FBrowserFontName;
555 property BrowserFontSize: Integer read FBrowserFontSize write FBrowserFontSize;
556 property BrowserFontBold: Integer read FBrowserFontBold write FBrowserFontBold;
557 property BrowserFontItalic: Integer read FBrowserFontItalic write FBrowserFontItalic;
558 property BrowserFontColor: Integer read FBrowserFontColor write FBrowserFontColor;
559 property BrowserBackColor: Integer read FBrowserBackColor write FBrowserBackColor;
561 property EditorFontName: string read FEditorFontName write FEditorFontName;
562 property EditorFontSize: Integer read FEditorFontSize write FEditorFontSize;
563 property EditorFontBold: Boolean read FEditorFontBold write FEditorFontBold;
564 property EditorFontItalic: Boolean read FEditorFontItalic write FEditorFontItalic;
565 property EditorFontColor: TColor read FEditorFontColor write FEditorFontColor;
566 property EditorBackColor: TColor read FEditorBackColor write FEditorBackColor;
568 property BrowserTabFontName: string read FBrowserTabFontName write FBrowserTabFontName;
569 property BrowserTabFontSize: Integer read FBrowserTabFontSize write FBrowserTabFontSize;
570 property BrowserTabFontBold: Boolean read FBrowserTabFontBold write FBrowserTabFontBold;
571 property BrowserTabFontItalic: Boolean read FBrowserTabFontItalic write FBrowserTabFontItalic;
573 property HintFontName: string read FHintFontName write FHintFontName;
574 property HintFontSize: Integer read FHintFontSize write FHintFontSize;
575 //property HintFontBold: Boolean read FHintFontBold write FHintFontBold;
576 //property HintFontItalic: Boolean read FHintFontItalic write FHintFontItalic;
577 property HintFontColor: TColor read FHintFontColor write FHintFontColor;
578 property HintBackColor: TColor read FHintBackColor write FHintBackColor;
580 property WindowTop: Integer read FWindowTop write FWindowTop;
581 property WindowLeft: Integer read FWindowLeft write FWindowLeft;
582 property WindowHeight: Integer read FWindowHeight write FWindowHeight;
583 property WindowWidth: Integer read FWindowWidth write FWindowWidth;
584 property WindowMax: Boolean read FWindowMax write FWindowMax;
585 property ListStyle: TViewStyle read FListStyle write FListStyle;
587 property StdToolBarVisible: Boolean read FStdToolBarVisible write FStdToolBarVisible;
588 property AddressBarVisible: Boolean read FAddressBarVisible write FAddressBarVisible;
589 property LinkBarVisible: Boolean read FLinkBarVisible write FLinkBarVisible;
590 property ListToolBarVisible: Boolean read FListToolBarVisible write FListToolBarVisible;
591 property ListNameBarVisible: Boolean read FListNameBarVisible write FListNameBarVisible;
592 property BrowserToolBarVisible: Boolean read FBrowserToolBarVisible write FBrowserToolBarVisible;
593 property BrowserNameBarVisible: Boolean read FBrowserNameBarVisible write FBrowserNameBarVisible;
595 property BrowserTabVisible: Boolean read FBrowserTabVisible write FBrowserTabVisible;
596 property BrowserTabPosition: TGikoTabPosition read FBrowserTabPosition write FBrowserTabPosition;
597 property BrowserTabAppend: TGikoTabAppend read FBrowserTabAppend write FBrowserTabAppend;
598 property BrowserTabStyle: TGikoTabStyle read FBrowserTabStyle write FBrowserTabStyle;
600 property MessageBarVisible: Boolean read FMessageBarVisible write FMessageBarVisible;
601 property MessegeBarHeight: Integer read FMessegeBarHeight write FMessegeBarHeight;
603 property StatusBarVisible: Boolean read FStatusBarVisible write FStatusBarVisible;
605 property CabinetVisible: Boolean read FCabinetVisible write FCabinetVisible;
606 property CabinetWidth: Integer read FCabinetWidth write FCabinetWidth;
608 property ListOrientation: TGikoListOrientation read FListOrientation write FListOrientation;
609 property ListHeight: Integer read FListHeight write FListHeight;
610 property ListHeightState: TGikoListState read FListHeightState write FListHeightState;
611 property ListWidth: Integer read FListWidth write FListWidth;
612 property ListWidthState: TGikoListState read FListWidthState write FListWidthState;
613 // property ListHeightMax: Boolean read FListHeightMax write FListHeightMax;
614 // property ListWidthMax: Boolean read FListWidthMax write FListWidthMax;
616 property NameList: TStringList read FNameList write FNameList;
617 property MailList: TStringList read FMailList write FMailList;
618 property SelectTextList: TStringList read FSelectTextList write FSelectTextList;
620 property EditWindowTop: Integer read FEditWindowTop write FEditWindowTop;
621 property EditWindowLeft: Integer read FEditWindowLeft write FEditWindowLeft;
622 property EditWindowHeight: Integer read FEditWindowHeight write FEditWindowHeight;
623 property EditWindowWidth: Integer read FEditWindowWidth write FEditWindowWidth;
624 property EditWindowMax: Boolean read FEditWindowMax write FEditWindowMax;
625 property EditWindowStay: Boolean read FEditWindowStay write FEditWindowStay;
626 property EditWindowTranslucent: Boolean read FEditWindowTranslucent write FEditWindowTranslucent;
628 property ListViewNo: Boolean read FListViewNo write FListViewNo;
629 property UseCSS: Boolean read FUseCSS write SetUseCSS;
630 property CSSFileName: string read FCSSFileName write SetCSSFileName;
631 property UseSkin: Boolean read FUseSkin;
633 property ShowMail: Boolean read FShowMail write FShowMail;
634 property ResRange : Longint read FResRange write FResRange;
635 property ResRangeHold : Boolean read FResRangeHold write FResRangeHold;
636 property ThreadRange : TGikoThreadRange read FThreadRange write FThreadRange;
637 property UnActivePopup: Boolean read FUnActivePopup write FUnActivePopup;
638 property ResPopupHeaderBold: Boolean read FResPopupHeaderBold write FResPopupHeaderBold;
640 property LogFolder: string read FLogFolder write WriteLogFolder;
641 property LogFolderP: string read FLogFolderP;
642 property NewLogFolder: string read FNewLogFolder write FNewLogFolder;
644 property BBSColumnWidth[index: Integer]: Integer read GetBBSColumnWidth write SetBBSColumnWidth;
645 property CategoryColumnWidth[index: Integer]: Integer read GetCategoryColumnWidth write SetCategoryColumnWidth;
646 property BoardColumnWidth[index: Integer]: Integer read GetBoardColumnWidth write SetBoardColumnWidth;
648 property BBSColumnOrder : TGikoBBSColumnList read FBBSColumnOrder write FBBSColumnOrder;
649 property CategoryColumnOrder : TGikoCategoryColumnList read FCategoryColumnOrder write FCategoryColumnOrder;
650 property BoardColumnOrder : TGikoBoardColumnList read FBoardColumnOrder write FBoardColumnOrder;
652 property SoundName[index: Integer]: string read GetSoundName;
653 property SoundViewName[index: Integer]: string read GetSoundViewName;
654 property SoundFileName[index: Integer]: string read GetSoundFileName write SetSoundFileName;
656 property BBSSortIndex: Integer read FBBSSortIndex write FBBSSortIndex;
657 property BBSSortOrder: Boolean read FBBSSortOrder write FBBSSortOrder;
658 property CategorySortIndex: Integer read FCategorySortIndex write FCategorySortIndex;
659 property CategorySortOrder: Boolean read FCategorySortOrder write FCategorySortOrder;
660 property BoardSortIndex: Integer read FBoardSortIndex write FBoardSortIndex;
661 property BoardSortOrder: Boolean read FBoardSortOrder write FBoardSortOrder;
663 property DatOchiSortIndex: Integer read FDatOchiSortIndex write FDatOchiSortIndex;
664 property DatOchiSortOrder: Boolean read FDatOchiSortOrder write FDatOchiSortOrder;
666 //property BoardURL2ch: string read FBoardURL2ch write FBoardURL2ch;
667 property BoardURLs: TStringList read FBoardURLs write FBoardURLs;
668 property BoardURLSelected: Integer read FBoardURLSelected write FBoardURLSelected;
669 property UserID: string read FUserID write FUserID;
670 property Password: string read FPassword write FPassword;
671 property AutoLogin: Boolean read FAutoLogin write FAutoLogin;
672 property ForcedLogin: Boolean read FForcedLogin write FForcedLogin;
673 property DolibURL: string read FDolibURL write FDolibURL;
675 property URLApp: Boolean read FURLApp write FURLApp;
676 property URLAppFile: string read FURLAppFile write FURLAppFile;
678 property OpenMailer: Boolean read FOpenMailer write FOpenMailer;
680 property DeleteMsg: Boolean read FDeleteMsg write FDeleteMsg;
682 property MainCoolSet[Index: Integer]: TCoolSet read GetMainCoolSet write SetMainCoolSet;
683 property ListCoolSet[Index: Integer]: TCoolSet read GetBoardCoolSet write SetBoardCoolSet;
684 property BrowserCoolSet[Index: Integer]: TCoolSet read GetBrowserCoolSet write SetBrowserCoolSet;
686 property ListToolBarWrapable: Boolean read FListToolBarWrapable write FListToolBarWrapable;
687 property BrowserToolBarWrapable: Boolean read FBrowserToolBarWrapable write FBrowserToolBarWrapable;
689 property PopupPosition: TGikoPopupPosition read FPopupPosition write FPopupPosition;
691 property URLDisplay: Boolean read FURLDisplay write FURLDisplay;
692 property AddressBarTabStop: Boolean read FAddressBarTabStop write FAddressBarTabStop;
693 property LinkAddAddressBar: Boolean read FLinkAddAddressBar write FLinkAddAddressBar;
694 property AddressHistoryCount: Integer read FAddressHistoryCount write FAddressHistoryCount;
696 property PreviewVisible: Boolean read FPreviewVisible write FPreviewVisible;
697 property PreviewSize: TGikoPreviewSize read FPreviewSize write FPreviewSize;
698 property PreviewWait: Integer read FPreviewWait write FPreviewWait;
699 property BrowserAutoMaximize: TGikoBrowserAutoMaximize read FBrowserAutoMaximize write FBrowserAutoMaximize;
701 property ListIconVisible: Boolean read FListIconVisible write FListIconVisible;
702 property CreationTimeLogs: Boolean read FCreationTimeLogs write FCreationTimeLogs;
703 property FutureThread: Boolean read FFutureThread write FFutureThread;
705 property UseMachineTime: Boolean read FUseMachineTime write FUseMachineTime;
706 property TimeAdjustSec: Integer read FTimeAdjustSec write FTimeAdjustSec;
707 property TimeAdjust: Boolean read FTimeAdjust write FTimeAdjust;
710 property AbonDeleterlo : Boolean read FAbonDeleterlo write FAbonDeleterlo;
711 property AbonReplaceul : Boolean read FAbonReplaceul write FAbonReplaceul;
712 property PopUpAbon : Boolean read FPopUpAbon write FPopUpAbon;
713 property ShowNGLinesNum : Boolean read FShowNGLinesNum write FShowNGLinesNum;
714 property AddResAnchor : Boolean read FAddResAnchor write FAddResAnchor;
715 property DeleteSyria : Boolean read FDeleteSyria write FDeleteSyria;
716 property IgnoreKana : Boolean read FIgnoreKana write FIgnoreKana;
717 //
\83X
\83\8c\83b
\83h
\8di
\8d\9e\83t
\83B
\81[
\83\8b\83h
\82Ì
\95\9d
718 property SelectComboBoxWidth : Integer read FSelectComboBoxWidth write FSelectComboBoxWidth;
720 //
\8dÅ
\8cã
\82É
\91I
\91ð
\82³
\82ê
\82½
\83I
\83v
\83V
\83\87\83\93\83_
\83C
\83A
\83\8d\83O
\82Ì
\83^
\83u
721 property OptionDialogTabIndex : Integer read FOptionDialogTabIndex write FOptionDialogTabIndex;
723 //
\8dÅ
\8cã
\82É
\91I
\91ð
\82³
\82ê
\82½
\83L
\83\83\83r
\83l
\83b
\83g
724 property CabinetIndex : Integer read FCabinetIndex write FCabinetIndex;
726 //
\8fI
\97¹
\8e\9e\82É
\8am
\94F
\83_
\83C
\83A
\83\8d\83O
\82ð
\95\
\8e¦
\82·
\82é
\82©
727 property ShowDialogForEnd : Boolean read FShowDialogForEnd write FShowDialogForEnd;
728 property ShowDialogForAllTabClose: Boolean read FShowDialogForAllTabClose write FShowDialogForAllTabClose;
729 //
\8eæ
\93¾
\83\8c\83X
\90\94\82Æ
\83X
\83\8c\83b
\83h
\82Ì
\83\8c\83X
\90\94\82ª
\88Ù
\82È
\82Á
\82½
\82Æ
\82«
\82É
\92Ê
\8fí
\94w
\8ci
\90F
\82Æ
\88á
\82Á
\82½
\90F
\82Ì
\94w
\8ci
\90F
\82ð
\8eg
\97p
\82·
\82é
\82©
730 property UseOddColorOddResNum: Boolean read FUseOddColorOddResNum write FUseOddColorOddResNum;
731 property OddColor: TColor read FOddColor write FOddColor;
732 property UnFocusedBold : Boolean read FUnFocusedBold write FUnFocusedBold;
733 property UseSamba: Boolean read FUseSamba write FUseSamba;
734 property ResAnchorJamp: Boolean read FResAnchorJamp write FResAnchorJamp;
737 property SpaceToNBSP : Boolean read FSpaceToNBSP write FSpaceToNBSP;
738 property AmpToCharRef : Boolean read FAmpToCharRef write FAmpToCharRef;
740 property SelectInterval : Integer read FSelectInterval write FSelectInterval;
742 property TabAutoLoadSave: Boolean read FTabAutoLoadSave write FTabAutoLoadSave;
743 //property Gengo: TStringList read F2chLanguage write F2chLanguage;
744 property GengoSupport : Boolean read F2chSupport write F2chSupport;
745 property KuroutSettingTabIndex: Integer read FKuroutSettingTabIndex write FKuroutSettingTabIndex;
746 //!
\83}
\83E
\83X
\83W
\83F
\83X
\83`
\83\83\81[
747 property Gestures : TGestureModel read FGestures write FGestures;
748 //!
\83}
\83E
\83X
\83W
\83F
\83X
\83`
\83\83\81[
\82ð
\8eg
\97p
\82·
\82é
\82©
\82Ç
\82¤
\82©
749 property GestureEnabled : Boolean read FGestureEnabled write FGestureEnabled;
750 //
\83t
\83V
\83A
\83i
\83g
\83\89\83b
\83v
\90Ý
\92è
751 property LocalTrapAtt : Boolean read FLocalTrapAtt write FLocalTrapAtt;
752 property RemoteTrapAtt : Boolean read FRemoteTrapAtt write FRemoteTrapAtt;
753 property ReadTimeOut: Integer read FReadTimeOut write FReadTimeOut;
754 //!
\8eg
\97p
\82·
\82é
\83X
\83p
\83\80\83t
\83B
\83\8b\83^
755 property SpamFilterAlgorithm : TGikoSpamFilterAlgorithm
756 read FSpamFilterAlgorithm write FSpamFilterAlgorithm;
757 property Mute: Boolean read FMute write FMute;
758 property UseUndecided: Boolean read FUseUndecided write FUseUndecided;
760 property BeUserID: string read FBeUserID write FBeUserID;
761 property BeCode: string read FBeCode write FBeCode;
762 property BeAutoLogin: Boolean read FBeAutoLogin write FBeAutoLogin;
763 property BeLogin: Boolean read FBeLogin write FBeLogin;
764 property MaxRecordCount : Integer read FMaxRecordCount write FMaxRecordCount;
780 INI_FILE_NAME: string = 'gikoNavi.ini';
781 BOARD_URL_INI_FILE_NAME: string = 'url.ini';
782 DEFAULT_FONT_NAME: string = '
\82l
\82r
\82o
\83S
\83V
\83b
\83N';
783 DEFAULT_FONT_SIZE: Integer = 9;
784 DEFAULT_FONT_COLOR: string = 'clWindowText';
785 DEFAULT_WINDOW_COLOR: string = 'clWindow';
786 DEFAULT_TAB_FONT_NAME: string = '
\82l
\82r
\82o
\83S
\83V
\83b
\83N';
787 DEFAULT_TAB_FONT_SIZE: Integer = 9;
788 //DEFAULT_2CH_BOARD_URL1: string = 'http://www6.ocn.ne.jp/~mirv/2chmenu.html';
789 //DEFAULT_2CH_BOARD_URL2: string = 'http://www.ff.iij4u.or.jp/~ch2/bbsmenu.html';
790 DEFAULT_2CH_BOARD_URL1: string = 'http://www.2ch.net/newbbsmenu.html';
791 DEFAULT_2CH_BOARD_URL2: string = 'http://menu.2ch.net/bbsmenu.html'; //404
\81H
792 //http://menu.2ch.net/bbsmenu.html //
\82à
\82¤
\82·
\82®
\82±
\82ê
\82ª
\90³
\8e®
\82È
\94Â
\88ê
\97\97\82É
\82È
\82é
\82æ
\82¤
793 //'http://www.2ch.net/newbbsmenu.html';
794 GIKO_ENCRYPT_TEXT: string = 'gikoNaviEncryptText';
796 DEF_MESSAGES : array[0..13] of string = ( '
\83\8d\83O
\83A
\83E
\83g
\82µ
\82Ü
\82µ
\82½',
797 '
\83\8d\83O
\83C
\83\93\82µ
\82Ü
\82µ
\82½ - ',
798 '
\8b
\90§
\83\8d\83O
\83C
\83\93\82µ
\82Ü
\82µ
\82½ - ',
799 '[
\83X
\83\8c\88ê
\97\97\8eæ
\93¾
\8a®
\97¹]',
800 '(
\96¼
\8fÌ
\95s
\96¾
\81j',
801 '[
\83X
\83\8c\8eæ
\93¾
\8a®
\97¹]',
802 '[
\83X
\83\8c\8d·
\95ª
\8eæ
\93¾
\8a®
\97¹]',
806 '[
\83\8c\83X
\91\97\90M
\8fI
\97¹]',
807 '[
\90V
\83X
\83\8c\91\97\90M
\8fI
\97¹]',
808 '[
\83\8c\83X
\91\97\90M
\8e¸
\94s]',
809 '[
\90V
\83X
\83\8c\91\97\90M
\8e¸
\94s]');
812 SOUND_NAME: array[0..4] of TSoundName = (
813 (Name: 'New'; ViewName: '
\8eæ
\93¾
\90¬
\8c÷'; FileName: ''),
814 (Name: 'NewDiff'; ViewName: '
\8eæ
\93¾
\90¬
\8c÷(
\8d·
\95ª)'; FileName: ''),
815 (Name: 'NoChange'; ViewName: '
\96¢
\8dX
\90V'; FileName: ''),
816 // (Name: 'RoundEnd'; ViewName: '
\8f\84\89ñ
\8fI
\97¹(
\8eæ
\93¾
\82 \82è)'; FileName: ''),
817 // (Name: 'RoundNone'; ViewName: '
\8f\84\89ñ
\8fI
\97¹(
\8eæ
\93¾
\82È
\82µ)'; FileName: ''),
818 (Name: 'ResEnd'; ViewName: '
\83\8c\83X
\91\97\90M
\8a®
\97¹'; FileName: ''),
819 (Name: 'Error'; ViewName: '
\83G
\83\89\81['; FileName: ''));
821 constructor TGikoBBSColumnList.Create;
826 destructor TGikoBBSColumnList.Destroy;
831 function TGikoBBSColumnList.GetItem( index : integer ) : TGikoBBSColumnID;
833 Result := TGikoBBSColumnID( inherited Items[ index ] );
836 procedure TGikoBBSColumnList.SetItem( index : integer; value : TGikoBBSColumnID);
838 inherited Items[ index ] := Pointer( value );
841 function TGikoBBSColumnList.Add( value : TGikoBBSColumnID ) : Integer;
843 Result := inherited Add( Pointer( value ) );
846 constructor TGikoCategoryColumnList.Create;
851 destructor TGikoCategoryColumnList.Destroy;
856 function TGikoCategoryColumnList.GetItem( index : integer ) : TGikoCategoryColumnID;
858 Result := TGikoCategoryColumnID( inherited Items[ index ] );
861 procedure TGikoCategoryColumnList.SetItem( index : integer; value : TGikoCategoryColumnID);
863 inherited Items[ index ] := Pointer( value );
866 function TGikoCategoryColumnList.Add( value : TGikoCategoryColumnID ) : Integer;
868 Result := inherited Add( Pointer( value ) );
871 constructor TGikoBoardColumnList.Create;
876 destructor TGikoBoardColumnList.Destroy;
881 function TGikoBoardColumnList.GetItem( index : integer ) : TGikoBoardColumnID;
883 Result := TGikoBoardColumnID( inherited Items[ index ] );
886 procedure TGikoBoardColumnList.SetItem( index : integer; value : TGikoBoardColumnID);
888 inherited Items[ index ] := Pointer( value );
891 function TGikoBoardColumnList.Add( value : TGikoBoardColumnID ) : Integer;
893 Result := inherited Add( Pointer( value ) );
896 //
\83R
\83\93\83X
\83g
\83\89\83N
\83^
897 constructor TSetting.Create();
899 FNameList := TStringList.Create;
900 FMailList := TStringList.Create;
901 FSelectTextList := TStringList.Create;
902 FBoardURLs := TStringList.Create;
903 FBBSColumnOrder := TGikoBBSColumnList.Create;
904 FCategoryColumnOrder := TGikoCategoryColumnList.Create;
905 FBoardColumnOrder := TGikoBoardColumnList.Create;
906 FGestures := TGestureModel.Create;
907 FNameList.Duplicates := dupIgnore;
908 FMailList.Duplicates := dupIgnore;
909 FBoardURLs.Duplicates := dupIgnore;
910 FSelectTextList.Duplicates := dupIgnore;
915 //
\83f
\83X
\83g
\83\89\83N
\83^
916 destructor TSetting.Destroy();
919 FBoardColumnOrder.Free;
920 FCategoryColumnOrder.Free;
921 FBBSColumnOrder.Free;
922 FSelectTextList.Free;
929 //
\8f\89\8aú
\89»
\83t
\83@
\83C
\83\8b\96¼
\8eæ
\93¾
\81i
\83p
\83X
\81{
\83t
\83@
\83C
\83\8b\96¼
\81j
930 function TSetting.GetFileName(): string;
932 Result := ExtractFilePath(Application.ExeName) + INI_FILE_NAME;
935 //
\94Â
\8dX
\90V
\97pURL
\90Ý
\92è
\83t
\83@
\83C
\83\8b\96¼
\81i
\83p
\83X
\81{
\83t
\83@
\83C
\83\8b\96¼
\81j
936 function TSetting.GetBoardURLFileName(): string;
938 Result := ExtractFilePath(Application.ExeName) + BOARD_URL_INI_FILE_NAME;
941 //
\90Ý
\92è
\83t
\83@
\83C
\83\8b\93Ç
\8d\9e
942 procedure TSetting.ReadSettingFile();
944 DEFAULT_BBS_WIDTH: array[0..0] of Integer = (140);
945 DEFAULT_CATEGORY_WIDTH: array[0..2] of Integer = (150, 80, 130);
946 DEFAULT_BOARD_WIDTH: array[0..9] of Integer = (350, 60, 60, 60, 60, 60, 80, 130, 130, 130);
947 MAX_WIDTH: Integer = 2000;
959 Exists := FileExists(GetFileName);
960 ini := TMemIniFile.Create(GetFileName);
962 //
\8eó
\90M
\83o
\83b
\83t
\83@
\83T
\83C
\83Y
963 FRecvBufferSize := ini.ReadInteger('HTTP', 'RecvBufferSize', 4096);
965 FProtocol := ini.ReadBool('HTTP', 'Protocol', True);
966 //
\83v
\83\8d\83L
\83V
\90Ú
\91±HTTP1.1
\8eg
\97p
967 FProxyProtocol := ini.ReadBool('HTTP', 'ProxyProtocol', False);
969 FReadProxy := ini.ReadBool('ReadProxy', 'Proxy', false);
970 FReadProxyAddress := ini.ReadString('ReadProxy', 'Address', '');
971 FReadProxyPort := ini.ReadInteger('ReadProxy', 'Port', 0);
972 FReadProxyUserID := ini.ReadString('ReadProxy', 'UserID', '');
973 FReadProxyPassword := ini.ReadString('ReadProxy', 'Password', '');
975 FWriteProxy := ini.ReadBool('WriteProxy', 'Proxy', false);
976 FWriteProxyAddress := ini.ReadString('WriteProxy', 'Address', '');
977 FWriteProxyPort := ini.ReadInteger('WriteProxy', 'Port', 0);
978 FWriteProxyUserID := ini.ReadString('WriteProxy', 'UserID', '');
979 FWriteProxyPassword := ini.ReadString('WriteProxy', 'Password', '');
981 FBrowserFontName := ini.ReadString('Window', 'BrowserFontName', '');
982 FBrowserFontSize := ini.ReadInteger('Window', 'BrowserFontSize', 0);
983 FBrowserFontBold := ini.ReadInteger('Window', 'BrowserFontBold', 0);
984 FBrowserFontItalic := ini.ReadInteger('Window', 'BrowserFontItalic', 0);
985 FBrowserFontColor := ini.ReadInteger('Window', 'BrowserFontColor', -1);
986 FBrowserBackColor := ini.ReadInteger('Window', 'BrowserBackColor', -1);
988 FCabinetFontName := ini.ReadString('Window', 'CabinetFontName', DEFAULT_FONT_NAME);
989 FCabinetFontSize := ini.ReadInteger('Window', 'CabinetFontSize', DEFAULT_FONT_SIZE);
990 FCabinetFontBold := ini.ReadBool('Window', 'CabinetFontBold', False);
991 FCabinetFontItalic := ini.ReadBool('Window', 'CabinetFontItalic', False);
992 FCabinetFontColor := StringToColor(ini.ReadString('Window', 'CabinetFontColor', DEFAULT_FONT_COLOR));
993 FCabinetBackColor := StringToColor(ini.ReadString('Window', 'CabinetBackColor', DEFAULT_WINDOW_COLOR));
995 FListFontName := ini.ReadString('Window', 'ListFontName', DEFAULT_FONT_NAME);
996 FListFontSize := ini.ReadInteger('Window', 'ListFontSize', DEFAULT_FONT_SIZE);
997 FListFontBold := ini.ReadBool('Window', 'ListFontBold', False);
998 FListFontItalic := ini.ReadBool('Window', 'ListFontItalic', False);
999 FListFontColor := StringToColor(ini.ReadString('Window', 'ListFontColor', DEFAULT_FONT_COLOR));
1000 FListBackColor := StringToColor(ini.ReadString('Window', 'ListBackColor', DEFAULT_WINDOW_COLOR));
1001 FUseOddColorOddResNum := ini.ReadBool('Window','UseOddColor', False);
1002 FOddColor := StringToColor(ini.ReadString('Window', 'OddColor', DEFAULT_WINDOW_COLOR));
1003 FUnFocusedBold := ini.ReadBool('Window','UnFocusedBold', False);
1005 FEditorFontName := ini.ReadString('Window', 'EditorFontName', DEFAULT_FONT_NAME);
1006 FEditorFontSize := ini.ReadInteger('Window', 'EditorFontSize', DEFAULT_FONT_SIZE);
1007 FEditorFontBold := ini.ReadBool('Window', 'EditorFontBold', False);
1008 FEditorFontItalic := ini.ReadBool('Window', 'EditorFontItalic', False);
1009 FEditorFontColor := StringToColor(ini.ReadString('Window', 'EditorFontColor', DEFAULT_FONT_COLOR));
1010 FEditorBackColor := StringToColor(ini.ReadString('Window', 'EditorBackColor', DEFAULT_WINDOW_COLOR));
1012 FBrowserTabFontName := ini.ReadString('Window', 'BrowserTabFontName', DEFAULT_TAB_FONT_NAME);
1013 FBrowserTabFontSize := ini.ReadInteger('Window', 'BrowserTabFontSize', DEFAULT_TAB_FONT_SIZE);
1014 FBrowserTabFontBold := ini.ReadBool('Window', 'BrowserTabFontBold', False);
1015 FBrowserTabFontItalic := ini.ReadBool('Window', 'BrowserTabFontItalic', False);
1017 FHintFontName := ini.ReadString('Window', 'HintFontName', Screen.HintFont.Name);
1018 FHintFontSize := ini.ReadInteger('Window', 'HintFontSize', Screen.HintFont.Size);
1019 //FHintFontBold := ini.ReadBool('Window', 'HintFontBold', False);
1020 //FHintFontItalic := ini.ReadBool('Window', 'HintFontItalic', False);
1021 FHintFontColor := StringToColor(ini.ReadString('Window', 'HintFontColor', DEFAULT_FONT_COLOR));
1022 FHintBackColor := StringToColor(ini.ReadString('Window', 'HintBackColor', 'clInfoBk'));
1024 FWindowTop := ini.ReadInteger('WindowSize', 'Top', -1);
1025 FWindowLeft := ini.ReadInteger('WindowSize', 'Left', -1);
1026 FWindowHeight := ini.ReadInteger('WindowSize', 'Height', -1);
1027 FWindowWidth := ini.ReadInteger('WindowSize', 'Width', -1);
1028 FWindowMax := ini.ReadBool('WindowSize', 'Max', false);
1030 if FWindowHeight <= 0 then FWindowHeight := 400;
1031 if FWindowWidth <= 0 then FWindowWidth := 600;
1033 FListStyle := TViewStyle(ini.ReadInteger('ViewStyle', 'ListView', Ord(vsReport)));
1035 FEditWindowTop := ini.ReadInteger('EditorWindowSize', 'Top', -1);
1036 FEditWindowLeft := ini.ReadInteger('EditorWindowSize', 'Left', -1);
1037 FEditWindowHeight := ini.ReadInteger('EditorWindowSize', 'Height', -1);
1038 FEditWindowWidth := ini.ReadInteger('EditorWindowSize', 'Width', -1);
1039 FEditWindowMax := ini.ReadBool('EditorWindowSize', 'Max', False);
1040 FEditWindowStay := ini.ReadBool('EditorWindowSize', 'Stay', False);
1041 FEditWindowTranslucent := ini.ReadBool('EditorWindowSize', 'Translucent', False);
1043 FOptionDialogTabIndex := ini.ReadInteger('OptionDialog', 'TabIndex', 0);
1045 //
\83c
\81[
\83\8b\83o
\81[
1046 FStdToolBarVisible := ini.ReadBool('ToolBar', 'StdVisible', True);
1047 FAddressBarVisible := ini.ReadBool('ToolBar', 'AddressVisible', True);
1048 FLinkBarVisible := ini.ReadBool('ToolBar', 'LinkVisible', True);
1049 FListToolBarVisible := ini.ReadBool('ToolBar', 'ListVisible', True);
1050 FListNameBarVisible := ini.ReadBool('ToolBar', 'ListNameVisible', True);
1051 FBrowserToolBarVisible := ini.ReadBool('ToolBar', 'BrowserVisible', True);
1052 FBrowserNameBarVisible := ini.ReadBool('ToolBar', 'BrowserNameVisible', True);
1053 //
\83c
\81[
\83\8b\83o
\81[Wrapable
1054 FListToolBarWrapable := ini.ReadBool('ToolBar', 'ListWrapable', False);
1055 FBrowserToolBarWrapable := ini.ReadBool('ToolBar', 'BrowserWrapable', False);
1057 FBrowserTabVisible := ini.ReadBool('Tab', 'BrowserTabVisible', True);
1058 FBrowserTabPosition := TGikoTabPosition(ini.ReadInteger('Tab', 'BrowserTabPosition', Ord(gtpTop)));
1059 FBrowserTabAppend := TGikoTabAppend(ini.ReadInteger('Tab', 'BrowserTabAppend', Ord(gtaFirst)));
1060 FBrowserTabStyle := TGikoTabStyle(ini.ReadInteger('Tab', 'BrowserTabStyle', Ord(gtsFlat)));
1062 FMessageBarVisible := ini.ReadBool('MessageBar', 'Visible', True);
1063 FMessegeBarHeight := ini.ReadInteger('MessageBar', 'Height', 30);
1065 FStatusBarVisible := ini.ReadBool('StatusBar', 'Visible', True);
1067 FCabinetVisible := ini.ReadBool('Cabinet', 'Visible', True);
1068 FCabinetWidth := ini.ReadInteger('Cabinet', 'Width', 200);
1069 FCabinetIndex := ini.ReadInteger('Cabinet', 'Index', 0);
1071 FListOrientation := TGikoListOrientation(ini.ReadInteger('List', 'Orientation', Ord(gloHorizontal)));
1072 FListHeight := ini.ReadInteger('List', 'Height', 180);
1073 FListHeightState := TGikoListState(ini.ReadInteger('List', 'HeightState', Ord(glsNormal)));
1074 FListWidth := ini.ReadInteger('List', 'Width', 180);
1075 FListWidthState := TGikoListState(ini.ReadInteger('List', 'WidthState', Ord(glsNormal)));
1076 // FListHeightMax := ini.ReadBool('List', 'HeightMax', False);
1077 // FListWidthMax := ini.ReadBool('List', 'WidthMax', False);
1079 wkList := TStringList.Create;
1081 ini.ReadSection('Name', wkList);
1082 for i := 0 to wkList.Count - 1 do begin
1083 wkStr := ini.ReadString('Name', wkList[i], '');
1084 if (wkStr <> '') and (FNameList.IndexOf(wkStr) = -1) then
1085 FNameList.Add(wkStr);
1087 ini.ReadSection('Mail', wkList);
1088 for i := 0 to wkList.Count - 1 do begin
1089 wkStr := ini.ReadString('Mail', wkList[i], '');
1090 if (wkStr <> '') and (FMailList.IndexOf(wkStr) = -1) then
1091 FMailList.Add(wkStr);
1093 ini.ReadSection('SelectText', wkList);
1094 for i := 0 to wkList.Count - 1 do begin
1095 wkStr := ini.ReadString('SelectText', wkList[i], '');
1096 if (wkStr <> '') and (FSelectTextList.IndexOf(wkStr) = -1) then
1097 FSelectTextList.Add(wkStr);
1103 //
\83\8a\83X
\83g
\83J
\83\89\83\80\95\9d
1104 wkList := TStringList.Create;
1106 ini.ReadSection('BBSColumnWidth', wkList);
1107 if Length(FBBSColumnWidth) <> wkList.Count then begin
1108 ini.EraseSection('BBSColumnWidth');
1110 for i := 0 to Length(FBBSColumnWidth) - 1 do begin
1111 BBSColumnWidth[i] := ini.ReadInteger('BBSColumnWidth', 'ID' + IntToStr(i), DEFAULT_BBS_WIDTH[i]);
1112 if BBSColumnWidth[i] > MAX_WIDTH then
1113 BBSColumnWidth[i] := DEFAULT_BBS_WIDTH[i];
1115 ini.ReadSection('CategoryColumnWidth', wkList);
1116 if Length(FCategoryColumnWidth) <> wkList.Count then begin
1117 ini.EraseSection('CategoryColumnWidth');
1119 for i := 0 to Length(FCategoryColumnWidth) - 1 do begin
1120 CategoryColumnWidth[i] := ini.ReadInteger('CategoryColumnWidth', 'ID' + IntToStr(i), DEFAULT_CATEGORY_WIDTH[i]);
1121 if CategoryColumnWidth[i] > MAX_WIDTH then
1122 CategoryColumnWidth[i] := DEFAULT_CATEGORY_WIDTH[i];
1124 ini.ReadSection('BoardColumnWidth', wkList);
1125 if Length(FBoardColumnWidth) <> wkList.Count then begin
1126 ini.EraseSection('BoardColumnWidth');
1128 for i := 0 to Length(FBoardColumnWidth) - 1 do begin
1129 BoardColumnWidth[i] := ini.ReadInteger('BoardColumnWidth', 'ID' + IntToStr(i), DEFAULT_BOARD_WIDTH[i]);
1130 if BoardColumnWidth[i] > MAX_WIDTH then
1131 BoardColumnWidth[i] := DEFAULT_BOARD_WIDTH[i];
1137 //
\83J
\83e
\83S
\83\8a\83\8a\83X
\83g
\83J
\83\89\83\80\8f\87\8f\98
1138 wkList := TStringList.Create;
1140 ini.ReadSection( 'BBSColumnOrder', wkList );
1141 for i := 0 to wkList.Count - 1 do begin
1142 wkStr := ini.ReadString( 'BBSColumnOrder', 'ID' + IntToStr( i ), '' );
1143 Val( wkStr, id, code );
1145 FBBSColumnOrder.Add( TGikoBBSColumnID( id ) );
1147 if FBBSColumnOrder.Count = 0 then begin
1148 //
\90Ý
\92è
\82ª
\96³
\82¢
\82Ì
\82Å
\8dì
\90¬
1149 for i := 0 to Integer( High( TGikoBBSColumnID ) ) do
1150 FBBSColumnOrder.Add( TGikoBBSColumnID( i ) );
1153 ini.ReadSection( 'CategoryColumnOrder', wkList );
1154 for i := 0 to wkList.Count - 1 do begin
1155 wkStr := ini.ReadString( 'CategoryColumnOrder', 'ID' + IntToStr( i ), '' );
1156 Val( wkStr, id, code );
1158 FCategoryColumnOrder.Add( TGikoCategoryColumnID( id ) );
1160 if FCategoryColumnOrder.Count = 0 then begin
1161 //
\90Ý
\92è
\82ª
\96³
\82¢
\82Ì
\82Å
\8dì
\90¬
1162 for i := 0 to Integer( High( TGikoCategoryColumnID ) ) do
1163 FCategoryColumnOrder.Add( TGikoCategoryColumnID( i ) );
1166 ini.ReadSection( 'BoardColumnOrder', wkList );
1167 for i := 0 to wkList.Count - 1 do begin
1168 wkStr := ini.ReadString( 'BoardColumnOrder', 'ID' + IntToStr( i ), '' );
1169 Val( wkStr, id, code );
1171 FBoardColumnOrder.Add( TGikoBoardColumnID( id ) );
1173 if FBoardColumnOrder.Count = 0 then begin
1174 //
\90Ý
\92è
\82ª
\96³
\82¢
\82Ì
\82Å
\8dì
\90¬
1175 for i := 0 to Integer( High( TGikoBoardColumnID ) ) do
1176 FBoardColumnOrder.Add( TGikoBoardColumnID( i ) );
1182 //
\83\8a\83X
\83g
\94Ô
\8d\86
1183 FListViewNo := ini.ReadBool('Function', 'ListViewNo', True);
1185 UseCSS := ini.ReadBool('CSS', 'UseCSS', True);
1186 //CSS
\83t
\83@
\83C
\83\8b\96¼
1187 CSSFileName := ini.ReadString('CSS', 'FileName', 'default.css');
1189 //Mail
\97\93\95\
\8e¦
1190 FShowMail := ini.ReadBool('Thread', 'ShowMail', True);
1191 //
\83\8c\83X
\95\
\8e¦
\94Í
\88Í
1192 if ini.ReadBool('Thread', 'OnlyAHundredRes',false) then
1193 FResRange := 100 //
\8cÃ
\82¢
\90Ý
\92è
\82Ì
\8cÝ
\8a·
\97p
1195 FResRange := ini.ReadInteger( 'Thread', 'ResRange', Ord( grrAll ) );
1196 FResRangeHold := ini.ReadBool( 'Thread', 'ResRangeHold', False );
1197 //
\83X
\83\8c\83b
\83h
\88ê
\97\97\95\
\8e¦
\94Í
\88Í
1198 FThreadRange := TGikoThreadRange( ini.ReadInteger('ThreadList', 'ThreadRange', Ord( gtrAll )) );
1199 //
\94ñ
\83A
\83N
\83e
\83B
\83u
\8e\9e\83\8c\83X
\83|
\83b
\83v
\83A
\83b
\83v
\95\
\8e¦
1200 FUnActivePopup := ini.ReadBool('Thread', 'UnActivePopup', False);
1201 //
\83\8c\83X
\83|
\83b
\83v
\83A
\83b
\83v
\83w
\83b
\83_
\81[
\83{
\81[
\83\8b\83h
1202 FResPopupHeaderBold := ini.ReadBool('Thread', 'ResPopupHeaderBold', True);
1203 //
\8dí
\8f\9c\8am
\94F
1204 FDeleteMsg := ini.ReadBool('Function', 'LogDeleteMessage', True);
1206 FShowDialogForEnd := ini.ReadBool('Function','ShowDialogForEnd',false);
1208 FShowDialogForAllTabClose := ini.ReadBool('Function','ShowDialogForAllTabClose',false);
1210 FUseSamba := ini.ReadBool('Function','UseSamba', True);
1212 ResAnchorJamp := ini.ReadBool('Function', 'ResAnchoJamp', True);
1213 //
\83\8d\83O
\83t
\83H
\83\8b\83_
1214 LogFolder := ini.ReadString('Folder', 'LogFolder', ExtractFilePath(Application.ExeName) + 'Log');
1218 //
\95¡
\90\94\93o
\98^
\82Å
\82«
\82é
\82æ
\82¤
\82É
\82µ
\82ÄFBoardURLs
\82É
\82µ
\82½
\81@2003/10/05
1219 //FBoardURL2ch := ini.ReadString('BoardURL', '2ch', DEFAULT_2CH_BOARD_URL);
1221 //
\94F
\8fØ
\97p
\83\86\81[
\83UID
\81E
\83p
\83X
\83\8f\81[
\83h
1222 FUserID := ini.ReadString('Attestation', 'UserID', '');
1223 FPassword := Decrypt(ini.ReadString('Attestation', 'Password', ''));
1224 FAutoLogin := ini.ReadBool('Attestation', 'AutoLogin', False);
1225 FForcedLogin := ini.ReadBool('Attestation', 'FForcedLogin', False);
1226 // FDolibURL := ini.ReadString('Attestation', 'FDolibURL', DOLIB_LOGIN_URL);
1228 //URL
\83N
\83\8a\83b
\83N
\8e\9e\8bN
\93®
\83A
\83v
\83\8a
1229 FURLApp := ini.ReadBool('URLApp', 'Select', False);
1230 FURLAppFile := ini.ReadString('URLApp', 'File', '');
1232 //mailto
\83N
\83\8a\83b
\83N
\8e\9e\93®
\8dì
1233 FOpenMailer := ini.ReadBool('Mailto', 'Open', True);
1235 //
\83|
\83b
\83v
\83A
\83b
\83v
\88Ê
\92u
1236 FPopupPosition := TGikoPopupPosition(ini.ReadInteger('Browser', 'PopupPosition', Ord(gppLeftBottom)));
1238 //
\83A
\83h
\83\8c\83X
\83o
\81[
1239 FURLDisplay := ini.ReadBool('AddressBar', 'URLDisplay', False);
1240 FAddressBarTabStop := ini.ReadBool('AddressBar', 'TabStop', True);
1241 FLinkAddAddressBar := ini.ReadBool('AddressBar', 'LinkAdd', False);
1242 FAddressHistoryCount := ini.ReadInteger('AddressBar', 'HistoryCount', 100);
1244 //
\89æ
\91\9c\83v
\83\8c\83r
\83\85\81[
1245 FPreviewVisible := ini.ReadBool('Browser', 'PreviewVisible', True);
1246 FPreviewSize := TGikoPreviewSize(ini.ReadInteger('Browser', 'PreviewSize', Ord(gpsMedium)));
1247 FPreviewWait := ini.ReadInteger('Browser', 'PreviewWait', 500);
1249 //
\83u
\83\89\83E
\83U
1250 FBrowserAutoMaximize := TGikoBrowserAutoMaximize(
1251 ini.ReadInteger('Window', 'BrowserAutoMaximize', Ord(gbmDoubleClick)) );
1253 //
\83X
\83\8c\83b
\83h
\88ê
\97\97\8dX
\90V
\83A
\83C
\83R
\83\93
1254 FListIconVisible := ini.ReadBool('ThreadList', 'StateIconVisible', True);
1255 FCreationTimeLogs := ini.ReadBool('ThreadList', 'CreationTimeLogs', True);
1256 FFutureThread := ini.ReadBool('ThreadList', 'FutureThread', True);
1257 FSelectInterval := ini.ReadInteger('ThreadList', 'SelectInterval', 110);
1258 //
\83\
\81[
\83g
\8f\87
1259 FBBSSortIndex := ini.ReadInteger('ThreadList', 'BBSSortIndex', 0);
1260 FBBSSortOrder := ini.ReadBool('ThreadList', 'BBSSortOrder', True);
1261 FCategorySortIndex := ini.ReadInteger('ThreadList', 'CategorySortIndex', 0);
1262 FCategorySortOrder := ini.ReadBool('ThreadList', 'CategorySortOrder', True);
1263 FBoardSortIndex := ini.ReadInteger('ThreadList', 'BoardSortIndex', 0);
1264 FBoardSortOrder := ini.ReadBool('ThreadList', 'BoardSortOrder', True);
1265 //Dat
\97\8e\82¿
\83X
\83\8c\83\
\81[
\83g
\8f\87
1266 FDatOchiSortIndex := ini.ReadInteger('ThreadList', 'DatOchiSortIndex', -1);
1267 FDatOchiSortOrder := ini.ReadBool('ThreadList', 'DatOchiSortOrder', False);
1269 //
\8f\91\82«
\8d\9e\82Ý
\8e\9e\83}
\83V
\83\93\8e\9e\8d\8f\8eg
\97p
\90Ý
\92è
1270 FUseMachineTime := ini.ReadBool('PostTime', 'UseMachineTime', False);
1271 FTimeAdjustSec := ini.ReadInteger('PostTime', 'TimeAdjustSec', 0);
1272 FTimeAdjust := ini.ReadBool('PostTime', 'TimeAdjust', True);
1274 //
\83T
\83E
\83\93\83h
1275 if Exists then begin
1276 for i := 0 to GetSoundCount - 1 do begin
1277 SoundFileName[i] := ini.ReadString('Sound', SoundName[i], '');
1278 if not FileExists(SoundFileName[i]) then
1279 SoundFileName[i] := '';
1282 s := ExtractFileDir(Application.ExeName) + '\sound\';
1283 SoundFileName[0] := s + '
\8eæ
\93¾
\90¬
\8c÷.wav';
1284 SoundFileName[1] := s + '
\8eæ
\93¾
\90¬
\8c÷(
\8d·
\95ª).wav';
1285 SoundFileName[2] := s + '
\96¢
\8dX
\90V.wav';
1286 SoundFileName[3] := '';
1287 SoundFileName[4] := s + '
\83G
\83\89\81[.wav';
1290 //
\83N
\81[
\83\8b\83o
\81[
1291 for i := 0 to MAIN_COOLBAND_COUNT - 1 do begin
1292 CoolSet.FCoolID := ini.ReadInteger('MainCoolBar', 'ID' + IntToStr(i), -1);
1293 CoolSet.FCoolWidth := ini.ReadInteger('MainCoolBar', 'Width' + IntToStr(i), -1);
1294 CoolSet.FCoolBreak := ini.ReadBool('MainCoolBar', 'Break' + IntToStr(i), False);
1295 MainCoolSet[i] := CoolSet;
1297 FSelectComboBoxWidth := ini.ReadInteger( 'ListCoolBar', 'SelectWidth', 127 );
1298 for i := 0 to LIST_COOLBAND_COUNT - 1 do begin
1299 CoolSet.FCoolID := ini.ReadInteger('ListCoolBar', 'ID' + IntToStr(i), -1);
1300 CoolSet.FCoolWidth := ini.ReadInteger('ListCoolBar', 'Width' + IntToStr(i), -1);
1301 CoolSet.FCoolBreak := ini.ReadBool('ListCoolBar', 'Break' + IntToStr(i), False);
1302 ListCoolSet[i] := CoolSet;
1304 for i := 0 to BROWSER_COOLBAND_COUNT - 1 do begin
1305 CoolSet.FCoolID := ini.ReadInteger('BrowserCoolBar', 'ID' + IntToStr(i), -1);
1306 CoolSet.FCoolWidth := ini.ReadInteger('BrowserCoolBar', 'Width' + IntToStr(i), -1);
1307 CoolSet.FCoolBreak := ini.ReadBool('BrowserCoolBar', 'Break' + IntToStr(i), False);
1308 BrowserCoolSet[i] := CoolSet;
1312 FAbonDeleterlo := ini.ReadBool('Abon','Deleterlo',false);
1313 FAbonReplaceul := ini.ReadBool('Abon','Replaceul',false);
1314 FPopUpAbon := ini.ReadBool('Abon','Popup',false);
1315 FShowNGLinesNum := ini.ReadBool('Abon','ShowNGLines',false);
1316 FAddResAnchor := ini.ReadBool('Abon','AddResAnchor',false);
1317 FDeleteSyria := ini.ReadBool('Abon','DeleteSyria',false);
1318 FIgnoreKana := ini.ReadBool('Abon','IgnoreKana',false);
1321 FSpaceToNBSP := ini.ReadBool( 'Editor', 'SpaceToNBSP', False );
1322 FAmpToCharRef := ini.ReadBool( 'Editor', 'AmpToCharRef', False );
1324 //Tab
\8e©
\93®
\95Û
\91¶
\81A
\93Ç
\82Ý
\8d\9e\82Ý
1325 FTabAutoLoadSave := ini.ReadBool('TabAuto', 'TabAutoLoadSave', False);
1327 FKuroutSettingTabIndex := ini.ReadInteger('OptionDialog', 'KuroutTabIndex' , 0);
1329 //
\83}
\83E
\83X
\83W
\83F
\83X
\83`
\83\83\81[
1330 FGestureEnabled := ini.ReadBool( 'Guesture', 'Enabled', False );
1332 //2ch
\8c¾
\8cê
\83T
\83|
1333 F2chSupport := ini.ReadBool('2chSupport', 'Support', False);
1336 FLocalTrapAtt := ini.ReadBool('Trap', 'LocalTrap', False);
1337 FRemoteTrapAtt := ini.ReadBool('Trap', 'RemoteTrap', False);
1338 FReadTimeOut := ini.ReadInteger('HTTP', 'ReadTimeOut', 10000);
1340 //
\8eg
\97p
\82·
\82é
\83X
\83p
\83\80\83t
\83B
\83\8b\83^
1341 FSpamFilterAlgorithm := TGikoSpamFilterAlgorithm(
1342 ini.ReadInteger( 'Abon', 'SpamFilterAlgorithm', Ord( gsfaNone ) ) );
1343 FMute := ini.ReadBool('Function', 'Mute', false);
1344 FUseUndecided := ini.ReadBool('ThreadList', 'UseUndecided', False);
1347 //
\94F
\8fØ
\97p
\83\86\81[
\83UID
\81E
\94F
\8fØ
\83R
\81[
\83h
1348 FBeUserID := ini.ReadString('Be', 'UserID', '');
1349 FBeCode := Decrypt(ini.ReadString('Be', 'Code', ''));
1350 FBeAutoLogin := ini.ReadBool('Be', 'AutoLogin', False);
1351 //
\97\9a\97ð
\82Ì
\8dÅ
\91å
\95Û
\91¶
\8c\8f\90\94
1352 FMaxRecordCount := Max(ini.ReadInteger('Recode', 'Max', 100), 1);
1359 //
\94Â
\8dX
\90V
\97pURL
\93Ç
\82Ý
\8d\9e\82Ý
1360 procedure TSetting.ReadBoardURLsFile();
1366 if not FileExists(GetBoardURLFileName()) then
1368 ini := TMemIniFile.Create(GetBoardURLFileName());
1370 urlNum := ini.ReadInteger('URL','count',0);
1371 BoardURLSelected := ini.ReadInteger('URL','selected',0);
1372 for i := 0 to urlNum - 1 do begin
1373 FBoardURLs.Append(ini.ReadString('URL',IntToStr(i+1),''));
1380 //
\90Ý
\92è
\83t
\83@
\83C
\83\8b\95Û
\91¶(system)
1381 procedure TSetting.WriteSystemSettingFile();
1385 ini := TMemIniFile.Create(GetFileName());
1387 //
\8eó
\90M
\83o
\83b
\83t
\83@
\83T
\83C
\83Y
1388 ini.WriteInteger('HTTP', 'RecvBufferSize', FRecvBufferSize);
1390 ini.WriteBool('HTTP', 'Protocol', FProtocol);
1391 //
\83v
\83\8d\83L
\83V
\90Ú
\91±HTTP1.1
\8eg
\97p
1392 ini.WriteBool('HTTP', 'ProxyProtocol', FProxyProtocol);
1394 ini.WriteBool('ReadProxy', 'Proxy', FReadProxy);
1395 ini.WriteString('ReadProxy', 'Address', FReadProxyAddress);
1396 ini.WriteInteger('ReadProxy', 'Port', FReadProxyPort);
1397 ini.WriteString('ReadProxy', 'UserID', FReadProxyUserID);
1398 ini.WriteString('ReadProxy', 'Password', FReadProxyPassword);
1400 ini.WriteBool('WriteProxy', 'Proxy', FWriteProxy);
1401 ini.WriteString('WriteProxy', 'Address', FWriteProxyAddress);
1402 ini.WriteInteger('WriteProxy', 'Port', FWriteProxyPort);
1403 ini.WriteString('WriteProxy', 'UserID', FWriteProxyUserID);
1404 ini.WriteString('WriteProxy', 'Password', FWriteProxyPassword);
1406 ini.WriteString('Window', 'BrowserFontName', FBrowserFontName);
1407 ini.WriteInteger('Window', 'BrowserFontSize', FBrowserFontSize);
1408 ini.WriteInteger('Window', 'BrowserFontSize', FBrowserFontSize);
1409 ini.WriteInteger('Window', 'BrowserFontBold', FBrowserFontBold);
1410 ini.WriteInteger('Window', 'BrowserFontItalic', FBrowserFontItalic);
1411 ini.WriteInteger('Window', 'BrowserFontColor', FBrowserFontColor);
1412 ini.WriteInteger('Window', 'BrowserBackColor', FBrowserBackColor);
1414 ini.WriteString('Window', 'CabinetFontName', FCabinetFontName);
1415 ini.WriteInteger('Window', 'CabinetFontSize', FCabinetFontSize);
1416 ini.WriteString('Window', 'CabinetFontColor', ColorToString(FCabinetFontColor));
1417 ini.WriteBool('Window', 'CabinetFontBold', FCabinetFontBold);
1418 ini.WriteBool('Window', 'CabinetFontItalic', FCabinetFontItalic);
1419 ini.WriteString('Window', 'CabinetBackColor', ColorToString(FCabinetBackColor));
1421 ini.WriteString('Window', 'ListFontName', FListFontName);
1422 ini.WriteInteger('Window', 'ListFontSize', FListFontSize);
1423 ini.WriteString('Window', 'ListFontColor', ColorToString(FListFontColor));
1424 ini.WriteString('Window', 'ListBackColor', ColorToString(FListBackColor));
1425 ini.WriteBool('Window', 'ListFontBold', FListFontBold);
1426 ini.WriteBool('Window', 'ListFontItalic', FListFontItalic);
1427 ini.WriteBool('Window','UseOddColor',FUseOddColorOddResNum);
1428 ini.WriteString('Window', 'OddColor',ColorToString(FOddColor));
1429 ini.WriteBool('Window','UnFocusedBold', FUnFocusedBold);
1431 ini.WriteString('Window', 'EditorFontName', FEditorFontName);
1432 ini.WriteInteger('Window', 'EditorFontSize', FEditorFontSize);
1433 ini.WriteString('Window', 'EditorFontColor', ColorToString(FEditorFontColor));
1434 ini.WriteString('Window', 'EditorBackColor', ColorToString(FEditorBackColor));
1436 ini.WriteString('Window', 'BrowserTabFontName', FBrowserTabFontName);
1437 ini.WriteInteger('Window', 'BrowserTabFontSize', FBrowserTabFontSize);
1438 ini.WriteBool('Window', 'BrowserTabFontBold', FBrowserTabFontBold);
1439 ini.WriteBool('Window', 'BrowserTabFontItalic', FBrowserTabFontItalic);
1441 ini.WriteString('Window', 'HintFontName', FHintFontName);
1442 ini.WriteInteger('Window', 'HintFontSize', FHintFontSize);
1443 ini.WriteString('Window', 'HintFontColor', ColorToString(FHintFontColor));
1444 ini.WriteString('Window', 'HintBackColor', ColorToString(FHintBackColor));
1452 //
\90Ý
\92è
\83t
\83@
\83C
\83\8b\95Û
\91¶(window)
1453 procedure TSetting.WriteWindowSettingFile();
1458 wkList : TStringList;
1460 ini := TMemIniFile.Create(GetFileName());
1462 ini.WriteInteger('WindowSize', 'Top', WindowTop);
1463 ini.WriteInteger('WindowSize', 'Left', WindowLeft);
1464 ini.WriteInteger('WindowSize', 'Height', WindowHeight);
1465 ini.WriteInteger('WindowSize', 'Width', WindowWidth);
1466 ini.WriteBool('WindowSize', 'Max', WindowMax);
1468 ini.WriteInteger('ViewStyle', 'ListView', Ord(ListStyle));
1470 ini.WriteInteger('EditorWindowSize', 'Top', EditWindowTop);
1471 ini.WriteInteger('EditorWindowSize', 'Left', EditWindowLeft);
1472 ini.WriteInteger('EditorWindowSize', 'Height', EditWindowHeight);
1473 ini.WriteInteger('EditorWindowSize', 'Width', EditWindowWidth);
1474 ini.WriteBool('EditorWindowSize', 'Max', EditWindowMax);
1475 ini.WriteBool('EditorWindowSize', 'Stay', EditWindowStay);
1476 ini.WriteBool('EditorWindowSize', 'Translucent', EditWindowTranslucent);
1478 ini.WriteInteger('OptionDialog', 'TabIndex', FOptionDialogTabIndex);
1480 //
\83c
\81[
\83\8b\83o
\81[
1481 ini.WriteBool('ToolBar', 'StdVisible', FStdToolBarVisible);
1482 ini.WriteBool('ToolBar', 'AddressVisible', FAddressBarVisible);
1483 ini.WriteBool('ToolBar', 'LinkVisible', FLinkBarVisible);
1484 ini.WriteBool('ToolBar', 'ListVisible', FListToolBarVisible);
1485 ini.WriteBool('ToolBar', 'ListNameVisible', FListNameBarVisible);
1486 ini.WriteBool('ToolBar', 'BrowserVisible', FBrowserToolBarVisible);
1487 ini.WriteBool('ToolBar', 'BrowserNameVisible', FBrowserNameBarVisible);
1488 //
\83c
\81[
\83\8b\83o
\81[Wrapable
1489 ini.WriteBool('ToolBar', 'ListWrapable', FListToolBarWrapable);
1490 ini.WriteBool('ToolBar', 'BrowserWrapable', FBrowserToolBarWrapable);
1493 ini.WriteBool('Tab', 'BrowserTabVisible', FBrowserTabVisible);
1494 ini.WriteInteger('Tab', 'BrowserTabPosition', Ord(FBrowserTabPosition));
1495 ini.WriteInteger('Tab', 'BrowserTabAppend', Ord(FBrowserTabAppend));
1496 ini.WriteInteger('Tab', 'BrowserTabStyle', Ord(FBrowserTabStyle));
1498 //
\83\81\83b
\83Z
\81[
\83W
\83o
\81[
1499 ini.WriteBool('MessageBar', 'Visible', FMessageBarVisible);
1500 ini.WriteInteger('MessageBar', 'Height', FMessegeBarHeight);
1502 //
\83X
\83e
\81[
\83^
\83X
\83o
\81[
1503 ini.WriteBool('StatusBar', 'Visible', FStatusBarVisible);
1505 //
\83L
\83\83\83r
\83l
\83b
\83g
1506 ini.WriteBool('Cabinet', 'Visible', FCabinetVisible);
1507 ini.WriteInteger('Cabinet', 'Width', FCabinetWidth);
1508 ini.WriteInteger('Cabinet', 'Index', FCabinetIndex);
1510 //
\83\8a\83X
\83g
\82Ì
\83T
\83C
\83Y
\82Æ
\90\82\92¼
\90\85\95½
1511 ini.WriteInteger('List', 'Orientation', Ord(FListOrientation));
1512 ini.WriteInteger('List', 'Height', FListHeight);
1513 ini.WriteInteger('List', 'HeightState', Ord(FListHeightState));
1514 ini.WriteInteger('List', 'Width', FListWidth);
1515 ini.WriteInteger('List', 'WidthState', Ord(FListWidthState));
1516 // ini.WriteBool('List', 'HeightMax', FListHeightMax);
1517 // ini.WriteBool('List', 'WidthMax', FListWidthMax);
1520 // ini.WriteInteger('Window', 'BrowserFontSize', BrowserFontSize);
1522 //
\83\8a\83X
\83g
\94Ô
\8d\86\95\
\8e¦
1523 ini.WriteBool('Function', 'ListViewNo', FListViewNo);
1525 ini.WriteBool('CSS', 'UseCSS', FUseCSS);
1526 //CSS
\83t
\83@
\83C
\83\8b\96¼
1527 ini.WriteString('CSS', 'FileName', FCSSFileName);
1528 //Mail
\97\93\95\
\8e¦
1529 ini.WriteBool('Thread', 'ShowMail', FShowMail);
1530 //
\83\8c\83X
\95\
\8e¦
\94Í
\88Í
1531 ini.DeleteKey( 'Thread', 'OnlyAHundredRes' ); //
\8cÃ
\82¢
\90Ý
\92è
\82Ì
\8dí
\8f\9c
1532 ini.WriteInteger('Thread', 'ResRange', FResRange);
1533 ini.WriteBool('Thread', 'ResRangeHold', FResRangeHold);
1534 //
\83X
\83\8c\83b
\83h
\88ê
\97\97\95\
\8e¦
\94Í
\88Í
1535 ini.WriteInteger('ThreadList', 'ThreadRange', Ord( FThreadRange ));
1536 //
\83\8d\83O
\8dí
\8f\9c\8am
\94F
1537 ini.WriteBool('Function', 'LogDeleteMessage', FDeleteMsg);
1539 ini.WriteBool('Function','ShowDialogForEnd',FShowDialogForEnd);
1541 ini.WriteBool('Function','ShowDialogForAllTabClose', FShowDialogForAllTabClose);
1543 ini.WriteBool('Function','UseSamba', FUseSamba);
1545 ini.WriteBool('Function', 'ResAnchoJamp', ResAnchorJamp);
1547 //
\94ñ
\83A
\83N
\83e
\83B
\83u
\8e\9e\83|
\83b
\83v
\83A
\83b
\83v
\95\
\8e¦
1548 ini.WriteBool('Thread', 'UnActivePopup', FUnActivePopup);
1549 //
\83\8c\83X
\83|
\83b
\83v
\83A
\83b
\83v
\83w
\83b
\83_
\81[
\83{
\81[
\83\8b\83h
1550 ini.WriteBool('Thread', 'ResPopupHeaderBold', FResPopupHeaderBold);
1551 //ini.WriteString('BoardURL', '2ch', FBoardURL2ch);
1553 //
\94F
\8fØ
\97p
\83\86\81[
\83UID
\81E
\83p
\83X
\83\8f\81[
\83h
1554 ini.WriteString('Attestation', 'UserID', FUserID);
1555 ini.WriteString('Attestation', 'Password', Encrypt(FPassword));
1556 ini.WriteBool('Attestation', 'AutoLogin', FAutoLogin);
1557 ini.WriteBool('Attestation', 'FForcedLogin', FForcedLogin);
1558 ini.WriteString('Attestation', 'FDolibURL', FDolibURL);
1560 //URL
\83N
\83\8a\83b
\83N
\8e\9e\8bN
\93®
\83A
\83v
\83\8a
1561 ini.WriteBool('URLApp', 'Select', FURLApp);
1562 ini.WriteString('URLApp', 'File', FURLAppFile);
1564 //mailto
\83N
\83\8a\83b
\83N
\8e\9e\93®
\8dì
1565 ini.WriteBool('Mailto', 'Open', FOpenMailer);
1567 //
\83|
\83b
\83v
\83A
\83b
\83v
\88Ê
\92u
1568 ini.WriteInteger('Browser', 'PopupPosition', Ord(FPopupPosition));
1570 //
\83A
\83h
\83\8c\83X
\83o
\81[
1571 ini.WriteBool('AddressBar', 'URLDisplay', FURLDisplay);
1572 ini.WriteBool('AddressBar', 'TabStop', FAddressBarTabStop);
1573 ini.WriteBool('AddressBar', 'LinkAdd', FLinkAddAddressBar);
1574 ini.WriteInteger('AddressBar', 'HistoryCount', FAddressHistoryCount);
1576 //
\89æ
\91\9c\83v
\83\8c\83r
\83\85\81[
1577 ini.WriteBool('Browser', 'PreviewVisible', FPreviewVisible);
1578 ini.WriteInteger('Browser', 'PreviewSize', Ord(FPreviewSize));
1579 ini.WriteInteger('Browser', 'PreviewWait', FPreviewWait);
1581 ini.WriteInteger('Window', 'BrowserAutoMaximize', Ord( BrowserAutoMaximize ) );
1583 //
\83X
\83\8c\83b
\83h
\88ê
\97\97\8dX
\90V
\83A
\83C
\83R
\83\93
1584 ini.WriteBool('ThreadList', 'StateIconVisible', FListIconVisible);
1585 ini.WriteBool('ThreadList', 'CreationTimeLogs',FCreationTimeLogs);
1586 ini.WriteBool('ThreadList', 'FutureThread', FFutureThread);
1587 ini.WriteInteger('ThreadList', 'SelectInterval', FSelectInterval);
1588 //
\83\
\81[
\83g
\8f\87
1589 ini.WriteInteger('ThreadList', 'BBSSortIndex', FBBSSortIndex);
1590 ini.WriteBool('ThreadList', 'BBSSortOrder', FBBSSortOrder);
1591 ini.WriteInteger('ThreadList', 'CategorySortIndex', FCategorySortIndex);
1592 ini.WriteBool('ThreadList', 'CategorySortOrder', FCategorySortOrder);
1593 ini.WriteInteger('ThreadList', 'BoardSortIndex', FBoardSortIndex);
1594 ini.WriteBool('ThreadList', 'BoardSortOrder', FBoardSortOrder);
1595 ini.WriteInteger('ThreadList', 'DatOchiSortIndex', FDatOchiSortIndex);
1596 ini.WriteBool('ThreadList', 'DatOchiSortOrder', FDatOchiSortOrder);
1598 //
\8f\91\82«
\8d\9e\82Ý
\8e\9e\83}
\83V
\83\93\8e\9e\8d\8f\8eg
\97p
\90Ý
\92è
1599 ini.WriteBool('PostTime', 'UseMachineTime', FUseMachineTime);
1600 ini.WriteInteger('PostTime', 'TimeAdjustSec', FTimeAdjustSec);
1601 ini.WriteBool('PostTime', 'TimeAdjust', FTimeAdjust);
1603 //
\83\8a\83X
\83g
\83J
\83\89\83\80\95\9d
1604 for i := 0 to Length(FBBSColumnWidth) - 1 do begin
1605 ini.WriteInteger('BBSColumnWidth', 'ID' + IntToStr(i), FBBSColumnWidth[i]);
1607 for i := 0 to Length(FCategoryColumnWidth) - 1 do begin
1608 ini.WriteInteger('CategoryColumnWidth', 'ID' + IntToStr(i), FCategoryColumnWidth[i]);
1610 for i := 0 to Length(FBoardColumnWidth) - 1 do begin
1611 ini.WriteInteger('BoardColumnWidth', 'ID' + IntToStr(i), FBoardColumnWidth[i]);
1614 wkList := TStringList.Create;
1616 //
\83J
\83e
\83S
\83\8a\83\8a\83X
\83g
\8f\87\8f\98
1617 ini.ReadSection( 'BBSColumnOrder', wkList );
1618 for i := wkList.Count - 1 downto 0 do
1619 ini.DeleteKey( 'BBSColumnOrder', wkList[ i ] );
1620 for i := 0 to FBBSColumnOrder.Count - 1 do
1621 ini.WriteInteger( 'BBSColumnOrder', 'ID' + IntToStr( i ), Ord( FBBSColumnOrder[ i ] ) );
1623 //
\94Â
\83\8a\83X
\83g
\8f\87\8f\98
1624 ini.ReadSection( 'CategoryColumnOrder', wkList );
1625 for i := wkList.Count - 1 downto 0 do
1626 ini.DeleteKey( 'CategoryColumnOrder', wkList[ i ] );
1627 for i := 0 to FCategoryColumnOrder.Count - 1 do
1628 ini.WriteInteger( 'CategoryColumnOrder', 'ID' + IntToStr( i ), Ord( FCategoryColumnOrder[ i ] ) );
1630 //
\83X
\83\8c\83\8a\83X
\83g
\8f\87\8f\98
1631 ini.ReadSection( 'BoardColumnOrder', wkList );
1632 for i := wkList.Count - 1 downto 0 do
1633 ini.DeleteKey( 'BoardColumnOrder', wkList[ i ] );
1634 for i := 0 to FBoardColumnOrder.Count - 1 do
1635 ini.WriteInteger( 'BoardColumnOrder', 'ID' + IntToStr( i ), Ord( FBoardColumnOrder[ i ] ) );
1640 //
\83T
\83E
\83\93\83h
1641 for i := 0 to GetSoundCount - 1 do begin
1642 if not FileExists(SoundFileName[i]) then
1643 SoundFileName[i] := '';
1644 ini.WriteString('Sound', SoundName[i], SoundFileName[i]);
1648 ini.EraseSection('MainCoolBar');
1649 for i := 0 to MAIN_COOLBAND_COUNT - 1 do begin
1650 CoolSet := MainCoolSet[i];
1651 ini.WriteInteger('MainCoolBar', 'ID' + IntToStr(i), CoolSet.FCoolID);
1652 ini.WriteInteger('MainCoolBar', 'Width' + IntToStr(i), CoolSet.FCoolWidth);
1653 ini.WriteBool('MainCoolBar', 'Break' + IntToStr(i), CoolSet.FCoolBreak);
1655 ini.EraseSection('ListCoolBar');
1656 ini.WriteInteger( 'ListCoolBar', 'SelectWidth', FSelectComboBoxWidth );
1657 for i := 0 to LIST_COOLBAND_COUNT - 1 do begin
1658 CoolSet := ListCoolSet[i];
1659 ini.WriteInteger('ListCoolBar', 'ID' + IntToStr(i), CoolSet.FCoolID);
1660 ini.WriteInteger('ListCoolBar', 'Width' + IntToStr(i), CoolSet.FCoolWidth);
1661 ini.WriteBool('ListCoolBar', 'Break' + IntToStr(i), CoolSet.FCoolBreak);
1663 ini.EraseSection('BrowserCoolBar');
1664 for i := 0 to BROWSER_COOLBAND_COUNT - 1 do begin
1665 CoolSet := BrowserCoolSet[i];
1666 ini.WriteInteger('BrowserCoolBar', 'ID' + IntToStr(i), CoolSet.FCoolID);
1667 ini.WriteInteger('BrowserCoolBar', 'Width' + IntToStr(i), CoolSet.FCoolWidth);
1668 ini.WriteBool('BrowserCoolBar', 'Break' + IntToStr(i), CoolSet.FCoolBreak);
1672 ini.WriteBool('Abon','Deleterlo',FAbonDeleterlo);
1673 ini.WriteBool('Abon','Replaceul',FAbonReplaceul);
1674 ini.WriteBool('Abon','Popup',FPopUpAbon);
1675 ini.WriteBool('Abon','ShowNGLines',FShowNGLinesNum);
1676 ini.WriteBool('Abon','AddResAnchor',FAddResAnchor);
1677 ini.WriteBool('Abon','DeleteSyria',FDeleteSyria);
1678 ini.WriteBool('Abon','IgnoreKana', FIgnoreKana);
1681 ini.WriteBool( 'Editor', 'SpaceToNBSP', FSpaceToNBSP );
1682 ini.WriteBool( 'Editor', 'AmpToCharRef', FAmpToCharRef );
1684 //
\83^
\83u
\8e©
\93®
\95Û
\91¶
1685 ini.WriteBool('TabAuto', 'TabAutoLoadSave', FTabAutoLoadSave);
1687 ini.WriteInteger('OptionDialog', 'KuroutTabIndex', FKuroutSettingTabIndex);
1689 //
\82É
\82¿
\82á
\82ñ
\8cê
\88Ä
\93à
\8b@
\94\
1690 ini.WriteBool('2chSupport', 'Support', F2chSupport);
1692 //
\83}
\83E
\83X
\83W
\83F
\83X
\83`
\83\83\81[
\82ð
\8eg
\97p
\82·
\82é
\82©
\82Ç
\82¤
\82©
1693 ini.WriteBool( 'Guesture', 'Enabled', FGestureEnabled );
1696 ini.WriteBool('Trap', 'LocalTrap', FLocalTrapAtt);
1697 ini.WriteBool('Trap', 'RemoteTrap', FRemoteTrapAtt);
1698 ini.WriteInteger('HTTP', 'ReadTimeOut', FReadTimeOut);
1700 //
\8eg
\97p
\82·
\82é
\83X
\83p
\83\80\83t
\83B
\83\8b\83^
1701 ini.WriteInteger( 'Abon', 'SpamFilterAlgorithm', Ord( FSpamFilterAlgorithm ) );
1702 ini.WriteBool('Function', 'Mute', FMute);
1703 ini.WriteBool('ThreadList', 'UseUndecided', FUseUndecided);
1705 //
\94F
\8fØ
\97p
\83\86\81[
\83UID
\81E
\83p
\83X
\83\8f\81[
\83h
1706 ini.WriteString('Be', 'UserID', FBeUserID);
1707 ini.WriteString('Be', 'Code', Encrypt(FBeCode));
1708 ini.WriteBool('Be', 'AutoLogin', FBeAutoLogin);
1710 //
\97\9a\97ð
\82Ì
\8dÅ
\91å
\95Û
\91¶
\8c\8f\90\94
1711 ini.WriteInteger('Recode', 'Max', FMaxRecordCount);
1719 //
\90Ý
\92è
\83t
\83@
\83C
\83\8b\95Û
\91¶(name & mail)
1720 procedure TSetting.WriteNameMailSettingFile();
1725 ini := TMemIniFile.Create(GetFileName());
1727 ini.EraseSection('Name');
1728 ini.EraseSection('Mail');
1729 ini.EraseSection('SelectText');
1730 for i := 0 to FNameList.Count - 1 do begin
1731 ini.WriteString('Name', Format('%.2d', [i + 1]), FNameList[i]);
1735 for i := 0 to FMailList.Count - 1 do begin
1736 ini.WriteString('Mail', Format('%.2d', [i + 1]), FMailList[i]);
1740 for i := 0 to FSelectTextList.Count - 1 do begin
1741 ini.WriteString('SelectText', Format('%.2d', [i + 1]), FSelectTextList[i]);
1751 procedure TSetting.WriteFolderSettingFile();
1755 ini := TMemIniFile.Create(GetFileName());
1757 if ExtractFilePath(Application.ExeName) + 'Log' = NewLogFolder then
1758 ini.DeleteKey('Folder', 'LogFolder')
1760 ini.WriteString('Folder', 'LogFolder', NewLogFolder);
1766 //
\94Â
\8dX
\90V
\97pBoardURL
\82ð
\95Û
\91¶
1767 procedure TSetting.WriteBoardURLSettingFile();
1773 ini := TMemIniFile.Create(GetBoardURLFileName());
1775 oldcount := ini.ReadInteger('URL','count',FBoardURLs.Count);
1776 ini.WriteInteger('URL','count',FBoardURLs.Count);
1777 ini.WriteInteger('URL','selected',BoardURLSelected);
1778 for i := 0 to FBoardURLs.Count -1 do begin
1779 ini.WriteString('URL',IntToStr(i+1),FBoardURLs.Strings[i]);
1781 if oldcount > FBoardURLs.Count then begin
1782 for i := FBoardURLs.Count to oldcount do begin
1783 ini.DeleteKey('URL',IntToStr(i+1));
1793 //
\83\8a\83X
\83g
\83J
\83\89\83\80\83w
\83b
\83_
\81[
1794 function TSetting.GetBBSColumnWidth(index: Integer): Integer;
1796 Result := IfThen(index in [0..Length(FBBSColumnWidth) - 1], FBBSColumnWidth[index], 0);
1799 function TSetting.GetCategoryColumnWidth(index: Integer): Integer;
1801 Result := IfThen(index in [0..Length(FCategoryColumnWidth) - 1], FCategoryColumnWidth[index], 0);
1804 function TSetting.GetBoardColumnWidth(index: Integer): Integer;
1806 Result := IfThen(index in [0..Length(FBoardColumnWidth) - 1], FBoardColumnWidth[index], 0);
1812 procedure TSetting.SetBBSColumnWidth(index: Integer; value: Integer);
1814 if index in [0..Length(FBBSColumnWidth) - 1] then
1815 FBBSColumnWidth[index] := value;
1818 procedure TSetting.SetCategoryColumnWidth(index: Integer; value: Integer);
1820 if index in [0..Length(FCategoryColumnWidth) - 1] then
1821 FCategoryColumnWidth[index] := value;
1824 procedure TSetting.SetBoardColumnWidth(index: Integer; value: Integer);
1826 if index in [0..Length(FBoardColumnWidth) - 1] then
1827 FBoardColumnWidth[index] := value;
1830 function TSetting.GetSoundCount: Integer;
1832 Result := Length(SOUND_NAME);
1835 function TSetting.GetSoundName(Index: Integer): string;
1837 if (Index < GetSoundCount) and (Index >= 0) then
1838 Result := SOUND_NAME[Index].Name
1843 function TSetting.GetSoundViewName(Index: Integer): string;
1845 if (Index < GetSoundCount) and (Index >= 0) then
1846 Result := SOUND_NAME[Index].ViewName
1851 function TSetting.GetSoundFileName(Index: Integer): string;
1853 if (Index < GetSoundCount) and (Index >= 0) then
1854 Result := SOUND_NAME[Index].FileName
1859 procedure TSetting.SetSoundFileName(Index: Integer; value: string);
1861 if (Index < GetSoundCount) and (Index >= 0) then
1862 SOUND_NAME[Index].FileName := value;
1865 function TSetting.FindSoundFileName(Name: string): string;
1869 for i := 0 to GetSoundCount - 1 do begin
1870 if SoundName[i] = Name then begin
1871 Result := SoundFileName[i];
1878 function TSetting.Encrypt(s: string): string;
1880 cryptObj: THogeCryptAuto;
1881 inputStream, outputStream: TStringStream;
1883 inputStream := TStringStream.Create(s);
1884 outputStream := TStringStream.Create('');
1885 cryptObj := THogeCryptAuto.Create;
1888 cryptObj.Encrypt(inputStream, GIKO_ENCRYPT_TEXT, outputStream);
1890 //
\83o
\83C
\83i
\83\8a\82È
\82Ì
\82Å
\95K
\97v
\82É
\89\9e\82¶
\82Ä
\83e
\83L
\83X
\83g
\82É
\95Ï
\8a·
1891 Result := HogeBase64Encode(outputStream.DataString);
1899 function TSetting.Decrypt(s: string): string;
1901 cryptObj: THogeCryptAuto;
1902 inputStream, outputStream: TStringStream;
1905 inputStream := TStringStream.Create(HogeBase64Decode(s));
1910 outputStream := TStringStream.Create('');
1911 cryptObj := THogeCryptAuto.Create;
1914 cryptObj.Decrypt(inputStream, GIKO_ENCRYPT_TEXT, outputStream);
1915 Result := outputStream.DataString;
1923 function TSetting.GetMainCoolSet(Index: Integer): TCoolSet;
1925 if Index in [0..MAIN_COOLBAND_COUNT - 1] then
1926 Result := FMainCoolBar[Index]
1928 Result.FCoolID := -1;
1929 Result.FCoolWidth := -1;
1930 Result.FCoolBreak := False;
1934 function TSetting.GetBoardCoolSet(Index: Integer): TCoolSet;
1936 if Index in [0..LIST_COOLBAND_COUNT - 1] then
1937 Result := FListCoolBar[Index]
1939 Result.FCoolID := -1;
1940 Result.FCoolWidth := -1;
1941 Result.FCoolBreak := False;
1945 function TSetting.GetBrowserCoolSet(Index: Integer): TCoolSet;
1947 if Index in [0..BROWSER_COOLBAND_COUNT - 1] then
1948 Result := FBrowserCoolBar[Index]
1950 Result.FCoolID := -1;
1951 Result.FCoolWidth := -1;
1952 Result.FCoolBreak := False;
1956 procedure TSetting.SetMainCoolSet(Index: Integer; CoolSet: TCoolSet);
1958 if Index in [0..MAIN_COOLBAND_COUNT - 1] then
1959 FMainCoolBar[Index] := CoolSet;
1962 procedure TSetting.SetBoardCoolSet(Index: Integer; CoolSet: TCoolSet);
1964 if Index in [0..LIST_COOLBAND_COUNT - 1] then
1965 FListCoolBar[Index] := CoolSet;
1968 procedure TSetting.SetBrowserCoolSet(Index: Integer; CoolSet: TCoolSet);
1970 if Index in [0..BROWSER_COOLBAND_COUNT - 1] then
1971 FBrowserCoolBar[Index] := CoolSet;
1974 //url.ini
\82ª
\82È
\82¢
\82Æ
\82«
\82É
\90¶
\90¬
\82·
\82é
1975 procedure TSetting.MakeURLIniFile();
1979 ini := TMemIniFile.Create(GetBoardURLFileName());
1981 ini.WriteInteger('URL','count',2);
1982 ini.WriteInteger('URL','selected',2);
1983 ini.WriteString('URL','1',DEFAULT_2CH_BOARD_URL1);
1984 ini.WriteString('URL','2',DEFAULT_2CH_BOARD_URL2);
1991 (*************************************************************************
1992 *
\83{
\81[
\83h
\83t
\83@
\83C
\83\8b\96¼
\8eæ
\93¾
\81i
\83p
\83X
\81{
\83t
\83@
\83C
\83\8b\96¼
\81j
1993 *************************************************************************)
1994 function TSetting.GetBoardFileName: string;
1996 Result := GetAppDir + CONFIG_DIR_NAME + '\' + BOARD_FILE_NAME;
1999 (*************************************************************************
2000 *
\83{
\81[
\83h
\83t
\83@
\83C
\83\8b\96¼
\8eæ
\93¾
\81i
\83p
\83X
\81{
\83t
\83@
\83C
\83\8b\96¼
\81j
2001 *************************************************************************)
2002 function TSetting.GetCustomBoardFileName: string;
2004 Result := GetAppDir + CONFIG_DIR_NAME + '\' + CUSTOMBOARD_FILE_NAME;
2007 (*************************************************************************
2008 *
\83{
\81[
\83h
\83f
\83B
\83\8c\83N
\83g
\83\8a\8eæ
\93¾
2009 *************************************************************************)
2010 function TSetting.GetBoardDir: string;
2012 Result := GetAppDir + CONFIG_DIR_NAME + '\' + BOARD_DIR_NAME + '\';
2015 (*************************************************************************
2016 *
\83e
\83\93\83|
\83\89\83\8a\83t
\83H
\83\8b\83_
\81[
\96¼
\8eæ
\93¾
2017 *************************************************************************)
2018 function TSetting.GetHtmlTempFileName: string;
2020 Result := TEMP_FOLDER;
2024 (*************************************************************************
2025 *
\8eÀ
\8ds
\83t
\83@
\83C
\83\8b\83t
\83H
\83\8b\83_
\8eæ
\93¾
2026 *************************************************************************)
2027 function TSetting.GetAppDir: string;
2029 Result := ExtractFilePath(Application.ExeName);
2032 (*************************************************************************
2033 *TempHtml
\83t
\83@
\83C
\83\8b\96¼
\8eæ
\93¾
\81i
\83p
\83X
\81{
\83t
\83@
\83C
\83\8b\96¼
\81j
2034 *************************************************************************)
2035 function TSetting.GetTempFolder: string;
2037 Result := GetAppDir + TEMP_FOLDER;
2040 (*************************************************************************
2041 *sent.ini
\83t
\83@
\83C
\83\8b\96¼
\8eæ
\93¾
\81i
\83p
\83X
\81{
\83t
\83@
\83C
\83\8b\96¼
\81j
2042 *************************************************************************)
2043 function TSetting.GetSentFileName: string;
2045 Result := GetAppDir + SENT_FILE_NAME;
2048 (*************************************************************************
2049 *outbox.ini
\83t
\83@
\83C
\83\8b\96¼
\8eæ
\93¾
\81i
\83p
\83X
\81{
\83t
\83@
\83C
\83\8b\96¼
\81j
2050 *************************************************************************)
2051 function TSetting.GetOutBoxFileName: string;
2053 Result := GetAppDir + OUTBOX_FILE_NAME;
2056 (*************************************************************************
2057 *Config
\83t
\83H
\83\8b\83_
\8eæ
\93¾
2058 *************************************************************************)
2059 function TSetting.GetConfigDir: string;
2061 Result := IncludeTrailingPathDelimiter(GetAppDir + CONFIG_DIR_NAME);
2064 function TSetting.GetStyleSheetDir: string;
2066 Result := IncludeTrailingPathDelimiter(GetConfigDir + CSS_DIR_NAME);
2069 function TSetting.GetSkinDir: string;
2071 Result := IncludeTrailingPathDelimiter(GetConfigDir + SKIN_DIR_NAME);
2074 function TSetting.GetSkinHeaderFileName: string;
2076 Result := CSSFileName + SKIN_HEADER_FILE_NAME;
2079 function TSetting.GetSkinFooterFileName: string;
2081 Result := CSSFileName + SKIN_FOOTER_FILE_NAME;
2084 function TSetting.GetSkinNewResFileName: string;
2086 Result := CSSFileName + SKIN_NEWRES_FILE_NAME;
2089 function TSetting.GetSkinResFileName: string;
2091 Result := CSSFileName + SKIN_RES_FILE_NAME;
2094 function TSetting.GetSkinBookmarkFileName: string;
2096 Result := CSSFileName + SKIN_BOOKMARK_FILE_NAME;
2099 function TSetting.GetSkinNewmarkFileName: string;
2101 Result := CSSFileName + SKIN_NEWMARK_FILE_NAME;
2104 function TSetting.GetNGWordsDir: string;
2106 Result := IncludeTrailingPathDelimiter(GetConfigDir + NGWORDs_DIR_NAME);
2109 function TSetting.GetBoardPlugInDir: string;
2111 Result := IncludeTrailingPathDelimiter(GetConfigDir + BOARD_PLUGIN_DIR_NAME);
2114 procedure TSetting.SetUseCSS( value: Boolean );
2121 (Pos( GetSkinDir, CSSFileName ) > 0) and
2122 FileExists( GetSkinHeaderFileName );
2126 procedure TSetting.SetCSSFileName( fileName: string );
2129 FCSSFileName := fileName;
2133 (Pos( GetSkinDir, CSSFileName ) > 0) and
2134 FileExists( GetSkinHeaderFileName );
2138 function TSetting.GetSambaFileName: string;
2140 Result := GetAppDir + SAMBATIME_FILE_NAME;
2142 //
\94Â
\8dX
\90V
\8f\9c\8aO
\83J
\83e
\83S
\83\8a\83\8a\83X
\83g
\95Û
\91¶
\83t
\83@
\83C
\83\8b
2143 function TSetting.GetIgnoreFileName: string;
2145 Result := GetConfigDir + IGNORE_FILE_NAME;
2148 //!
\83}
\83E
\83X
\83W
\83F
\83X
\83`
\83\83\81[
\83t
\83@
\83C
\83\8b\83p
\83X
2149 function TSetting.GetGestureFileName: string;
2151 Result := GetConfigDir + GESTURE_FILE_NAME;
2154 //!
\83X
\83p
\83\80\83t
\83B
\83\8b\83^
\8aw
\8fK
\97\9a\97ð
\83t
\83@
\83C
\83\8b\83p
\83X
2155 function TSetting.GetSpamFilterFileName: string;
2157 Result := GetConfigDir + SPAMFILTER_FILE_NAME;
2160 function TSetting.GetLanguageFileName: string;
2162 Result := GetConfigDir + LANGUAGE_FILE_NAME;
2164 //Messagelist
\82É
\8fo
\97Í
\82³
\82ê
\82é
\83\81\83b
\83Z
\81[
\83W
\82Ì
\90Ý
\92è
2165 procedure TSetting.SetMessages;
2170 //2ch
\8c¾
\8cê
\93Ç
\82Ý
\8fo
\82µ
2171 if (GengoSupport) and (FileExists(GetLanguageFileName)) then begin
2172 ini := TmemIniFile.Create(GetLanguageFileName);
2175 '
\83\8d\83O
\83A
\83E
\83g
\82µ
\82Ü
\82µ
\82½',
2176 '
\83\8d\83O
\83C
\83\93\82µ
\82Ü
\82µ
\82½ - ',
2177 '
\8b
\90§
\83\8d\83O
\83C
\83\93\82µ
\82Ü
\82µ
\82½ - ',
2178 '[
\83X
\83\8c\88ê
\97\97\8eæ
\93¾
\8a®
\97¹]',
2179 '(
\96¼
\8fÌ
\95s
\96¾
\81j',
2180 '[
\83X
\83\8c\8eæ
\93¾
\8a®
\97¹]',
2181 '[
\83X
\83\8c\8d·
\95ª
\8eæ
\93¾
\8a®
\97¹]',
2185 '[
\83\8c\83X
\91\97\90M
\8fI
\97¹]',
2186 '[
\90V
\83X
\83\8c\91\97\90M
\8fI
\97¹]',
2187 '[
\83\8c\83X
\91\97\90M
\8e¸
\94s]',
2188 '[
\90V
\83X
\83\8c\91\97\90M
\8e¸
\94s]'); }
2189 FMessageList[0] := ini.ReadString('Language', 'Logout', DEF_MESSAGES[0]);
2190 FMessageList[1] := ini.ReadString('Language', 'Login', DEF_MESSAGES[1]);
2191 FMessageList[2] := ini.ReadString('Language', 'ForceLogin', DEF_MESSAGES[2]);
2192 FMessageList[3] := ini.ReadString('Language', 'ThreadList', DEF_MESSAGES[3]);
2193 FMessageList[4] := ini.ReadString('Language', 'UnKnown', DEF_MESSAGES[4]);
2194 FMessageList[5] := ini.ReadString('Language', 'ThreadGet', DEF_MESSAGES[5]);
2195 FMessageList[6] := ini.ReadString('Language', 'ThreadDiffGet', DEF_MESSAGES[6]);
2196 FMessageList[7] := ini.ReadString('Language', 'NotMod', DEF_MESSAGES[7]);
2197 FMessageList[8] := ini.ReadString('Language', 'Abort', DEF_MESSAGES[8]);
2198 FMessageList[9] := ini.ReadString('Language', 'Error', DEF_MESSAGES[9]);
2199 FMessageList[10] := ini.ReadString('Language', 'NewReply', DEF_MESSAGES[10]);
2200 FMessageList[11] := ini.ReadString('Language', 'NewThread', DEF_MESSAGES[11]);
2201 FMessageList[12] := ini.ReadString('Language', 'ReplyError', DEF_MESSAGES[12]);
2202 FMessageList[13] := ini.ReadString('Language', 'ThreadError', DEF_MESSAGES[13]);
2208 for i := 0 to 13 do begin
2209 FMessageList[i] := DEF_MESSAGES[i];
2213 function TSetting.GetMessage(AType :Integer): string;
2215 if (AType >= 0) and (AType <= Length(FMessageList)) then
2216 Result := FMessageList[AType]
2220 procedure TSetting.WriteLogFolder(AVal : String);
2223 FLogFolderP := IncludeTrailingPathDelimiter(LogFolder);