7 SysUtils, Classes, Graphics, Forms, {Math, IniFiles, UCryptAuto, UBase64,}
8 ComCtrls, GestureModel, IniFiles, SkinFiles;
11 MAIN_COOLBAND_COUNT = 4; //
\83\81\83C
\83\93CoolBand
\82Ì
\90\94
12 LIST_COOLBAND_COUNT = 2; //
\94ÂCoolBand
\82Ì
\90\94
13 BROWSER_COOLBAND_COUNT = 3; //
\83u
\83\89\83E
\83UCoolBand
\82Ì
\90\94
17 TGikoTabPosition = (gtpTop, gtpBottom); //
\83^
\83u
\88Ê
\92u
18 TGikoTabAppend = (gtaFirst, gtaLast, gtaRight, gtaLeft); //
\83^
\83u
\92Ç
\89Á
\88Ê
\92u
19 TGikoTabStyle = (gtsTab, gtsButton, gtsFlat); //
\83^
\83u
\83X
\83^
\83C
\83\8b
20 TGikoListOrientation = (gloHorizontal, gloVertical); //
\83\8a\83X
\83g
\90\82\92¼
\81E
\90\85\95½
21 TGikoListState = (glsMax, glsNormal, glsMin); //
\83\8a\83X
\83g
\83T
\83C
\83Y
\8fó
\91Ô
22 //
\83|
\83b
\83v
\83A
\83b
\83v
\95\
\8e¦
\88Ê
\92u
23 TGikoPopupPosition = (gppLeftTop = 0, gppTop, gppRightTop,
24 gppLeft, gppCenter, gppRight,
25 gppLeftBottom, gppBottom, gppRightBottom);
26 //
\83v
\83\8c\83r
\83\85\81[
\83T
\83C
\83Y
27 TGikoPreviewSize = (gpsXLarge, gpsLarge, gpsMedium, gpsSmall, gpsXSmall);
28 TGikoBrowserAutoMaximize = (gbmNone, gbmClick, gbmDoubleClick);
29 //
\83u
\83\89\83E
\83U
\82ð
\8e©
\93®
\93I
\82É
\8dÅ
\91å
\89»
\82·
\82é
\8fð
\8c\8f
30 ///
\83\8c\83X
\95\
\8e¦
\94Í
\88Í
\81B10
\81` 65535
\82Í
\8dÅ
\90V n
\83\8c\83X
\88µ
\82¢
\81B
31 ///
\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
32 TGikoResRange = (grrAll, grrSelect, grrKoko, grrNew);
34 ///
\83X
\83\8c\83b
\83h
\88ê
\97\97\95\
\8e¦
\94Í
\88Í
35 TGikoThreadRange = (gtrAll, gtrSelect, gtrLog, gtrNew, gtrLive, gtrArch);
37 //!
\83X
\83p
\83\80\83t
\83B
\83\8b\83^
\81[
\83A
\83\8b\83S
\83\8a\83Y
\83\80
38 TGikoSpamFilterAlgorithm = (
39 gsfaNone, gsfaPaulGraham, gsfaGaryRobinson, gsfaGaryRobinsonFisher);
42 ///
\83J
\83e
\83S
\83\8a\83\8a\83X
\83g
\82Ì
\83J
\83\89\83\80 ID
43 type TGikoBBSColumnID = (gbbscTitle);
44 ///
\83J
\83e
\83S
\83\8a\83\8a\83X
\83g
\82Ì
\83J
\83\89\83\80\96¼
45 const GikoBBSColumnCaption : array[0..0] of string =
46 ( '
\83J
\83e
\83S
\83\8a\96¼' );
47 ///
\83J
\83e
\83S
\83\8a\83\8a\83X
\83g
\83J
\83\89\83\80\94z
\97ñ
48 type TGikoBBSColumnList = class( TList )
50 function GetItem( index : integer ) : TGikoBBSColumnID;
51 procedure SetItem( index : integer; value : TGikoBBSColumnID);
54 destructor Destroy; override;
55 function Add( value : TGikoBBSColumnID ) : Integer;
56 property Items[index : integer]: TGikoBBSColumnID read GetItem write SetItem; default;
58 ///
\94Â
\83\8a\83X
\83g
\82Ì
\83J
\83\89\83\80 ID
59 type TGikoCategoryColumnID = (gccTitle, gccRoundName, gccLastModified);
60 ///
\94Â
\83\8a\83X
\83g
\82Ì
\83J
\83\89\83\80\96¼
61 const GikoCategoryColumnCaption : array[0..2] of string =
62 ( '
\94Â
\96¼', '
\8f\84\89ñ
\97\
\96ñ', '
\8eæ
\93¾
\93ú
\8e\9e' );
63 ///
\94Â
\83\8a\83X
\83g
\83J
\83\89\83\80\94z
\97ñ
64 type TGikoCategoryColumnList = class( TList )
66 function GetItem( index : integer ) : TGikoCategoryColumnID;
67 procedure SetItem( index : integer; value : TGikoCategoryColumnID);
70 destructor Destroy; override;
71 function Add( value : TGikoCategoryColumnID ) : Integer;
72 property Items[index : integer]: TGikoCategoryColumnID read GetItem write SetItem; default;
74 ///
\83X
\83\8c\83\8a\83X
\83g
\82Ì
\83J
\83\89\83\80 ID
75 type TGikoBoardColumnID = (gbcTitle, gbcAllCount, gbcLocalCount, gbcNonAcqCount,
76 gbcNewCount, gbcUnReadCount, gbcRoundName, gbcRoundDate, gbcCreated, gbcLastModified, gbcVigor );{gbcLastModified,}
77 ///
\83X
\83\8c\83\8a\83X
\83g
\82Ì
\83J
\83\89\83\80\96¼
78 const GikoBoardColumnCaption : array[0..10] of string =
79 ( '
\83X
\83\8c\83b
\83h
\96¼', '
\83J
\83E
\83\93\83g', '
\8eæ
\93¾', '
\96¢
\8eæ
\93¾', '
\90V
\92\85',
80 '
\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', '
\90¨
\82¢' );
81 const GikoBoardColumnAlignment : array[0..10] of TAlignment = (
82 taLeftJustify, taRightJustify, taRightJustify, taRightJustify,
83 taRightJustify, taRightJustify, taLeftJustify, taLeftJustify,
84 taLeftJustify, taLeftJustify, taRightJustify);
85 ///
\83X
\83\8c\83\8a\83X
\83g
\83J
\83\89\83\80\94z
\97ñ
86 type TGikoBoardColumnList = class( TList )
88 function GetItem( index : integer ) : TGikoBoardColumnID;
89 procedure SetItem( index : integer; value : TGikoBoardColumnID);
92 destructor Destroy; override;
93 function Add( value : TGikoBoardColumnID ) : Integer;
94 property Items[index : integer]: TGikoBoardColumnID read GetItem write SetItem; default;
98 //CoolBar
\90Ý
\92è
\83\8c\83R
\81[
\83h
105 TSetting = class(TObject)
107 //
\8eó
\90M
\83o
\83b
\83t
\83@
\83T
\83C
\83Y
108 FRecvBufferSize: Integer;
111 //
\83v
\83\8d\83L
\83V
\90Ú
\91±HTTP1.1
\8eg
\97p
112 FProxyProtocol: Boolean;
114 //
\83v
\83\8d\83L
\83V
\81i
\93Ç
\8d\9e\97p
\81j
116 FReadProxyAddress: string;
117 FReadProxyPort: Integer;
118 FReadProxyUserID: string;
119 FReadProxyPassword: string;
121 //
\83v
\83\8d\83L
\83V
\81i
\8f\91\8d\9e\97p
\81j
122 FWriteProxy: Boolean;
123 FWriteProxyAddress: string;
124 FWriteProxyPort: Integer;
125 FWriteProxyUserID: string;
126 FWriteProxyPassword: string;
128 //
\83L
\83\83\83r
\83l
\83b
\83g
129 FCabinetFontName: string;
130 FCabinetFontSize: Integer;
131 FCabinetFontBold: Boolean;
132 FCabinetFontItalic: Boolean;
133 FCabinetFontColor: TColor;
134 FCabinetBackColor: TColor;
137 FListFontName: string;
138 FListFontSize: Integer;
139 FListFontBold: Boolean;
140 FListFontItalic: Boolean;
141 FListFontColor: TColor;
142 FListBackColor: TColor;
145 FBrowserFontName: string; // ''...default
146 FBrowserFontSize: Integer; // 0...default
147 FBrowserFontBold: Integer; // 0...default, -1...False, 1...True
148 FBrowserFontItalic: Integer; //
\8fã
\82É
\93¯
\82¶
149 FBrowserFontColor: Integer; // -1...default
150 FBrowserBackColor: Integer; //
\8fã
\82É
\93¯
\82¶
153 FEditorFontName: string;
154 FEditorFontSize: Integer;
155 FEditorFontBold: Boolean;
156 FEditorFontItalic: Boolean;
157 FEditorFontColor: TColor;
158 FEditorBackColor: TColor;
160 //
\83^
\83u
\83t
\83H
\83\93\83g
161 FBrowserTabFontName: string;
162 FBrowserTabFontSize: Integer;
163 FBrowserTabFontBold: Boolean;
164 FBrowserTabFontItalic: Boolean;
166 //
\83q
\83\93\83g
\83E
\83B
\83\93\83h
\83E
167 FHintFontName: string;
168 FHintFontSize: Integer;
169 //FHintFontBold: Boolean;
170 //FHintFontItalic: Boolean;
171 FHintFontColor: TColor;
172 FHintBackColor: TColor;
174 //
\83E
\83B
\83\93\83h
\83E
\83T
\83C
\83Y
176 FWindowLeft: Integer;
177 FWindowHeight: Integer;
178 FWindowWidth: Integer;
180 //
\83\8a\83X
\83g
\83r
\83\85\81[
\83X
\83^
\83C
\83\8b
181 FListStyle: TViewStyle;
183 //
\83c
\81[
\83\8b\83o
\81[
\95\
\8e¦
184 FStdToolBarVisible: Boolean;
185 FAddressBarVisible: Boolean;
186 FLinkBarVisible: Boolean;
187 FListToolBarVisible: Boolean;
188 FListNameBarVisible: Boolean;
189 FBrowserToolBarVisible: Boolean;
190 FBrowserNameBarVisible: Boolean;
192 //
\83u
\83\89\83E
\83U
\83^
\83u
193 FBrowserTabVisible: Boolean;
194 FBrowserTabPosition: TGikoTabPosition;
195 FBrowserTabAppend: TGikoTabAppend;
196 FBrowserTabStyle: TGikoTabStyle;
198 //
\83\81\83b
\83Z
\81[
\83W
\83o
\81[
199 FMessageBarVisible: Boolean;
200 FMessegeBarHeight: Integer;
202 //
\83X
\83e
\81[
\83^
\83X
\83o
\81[
203 FStatusBarVisible: Boolean;
205 //
\83L
\83\83\83r
\83l
\83b
\83g
\89Â
\8e\8b\81E
\83T
\83C
\83Y
206 FCabinetVisible: Boolean;
207 FCabinetWidth: Integer;
209 //
\83\8a\83X
\83g
\81E
\83u
\83\89\83E
\83U
\83T
\83C
\83Y
210 FListOrientation: TGikoListOrientation;
211 FListHeight: Integer;
212 FListHeightState: TGikoListState;
214 FListWidthState: TGikoListState;
215 // FListHeightMax: Boolean;
216 // FListWidthMax: Boolean;
218 //
\91\97\90M
\97p
\96¼
\91O
\81E
\83\81\81[
\83\8b
219 FNameList: TStringList;
220 FMailList: TStringList;
222 //
\83G
\83f
\83B
\83^
\81[
\83E
\83B
\83\93\83h
\83E
\83T
\83C
\83Y
223 FEditWindowTop: Integer;
224 FEditWindowLeft: Integer;
225 FEditWindowHeight: Integer;
226 FEditWindowWidth: Integer;
227 FEditWindowMax: Boolean;
228 FEditWindowStay: Boolean;
229 FEditWindowTranslucent: Boolean;
231 //
\83\8a\83X
\83g
\94Ô
\8d\86\95\
\8e¦
232 FListViewNo: Boolean;
235 //
\83X
\83L
\83\93\95\
\8e¦(
\88ê
\8e\9e\93I
\82È
\82à
\82Ì
\82Å ini
\82É
\95Û
\91¶
\82Í
\82³
\82ê
\82È
\82¢)
237 //
\82©
\82¿
\82ã
\81`
\82µ
\82á
\97p
\82ÌSkin
\82ð
\97\98\97p
\82·
\82é
\82©
238 FUseKatjushaType : Boolean;
241 ///
\83\8c\83X
\95\
\8e¦
\94Í
\88Í
243 ///
\8bN
\93®
\8e\9e\83\8c\83X
\95\
\8e¦
\94Í
\88Í
\82Ì
\8cÅ
\92è
244 FResRangeHold : Boolean;
245 ///
\83X
\83\8c\83b
\83h
\88ê
\97\97\95\
\8e¦
\94Í
\88Í
246 FThreadRange : TGikoThreadRange;
247 //
\94ñ
\83A
\83N
\83e
\83B
\83u
\8e\9e\83\8c\83X
\83|
\83b
\83v
\83A
\83b
\83v
\95\
\8e¦
248 FUnActivePopup: Boolean;
249 //
\83\8c\83X
\83|
\83b
\83v
\83A
\83b
\83v
\83w
\83b
\83_
\81[
\83{
\81[
\83\8b\83h
250 FResPopupHeaderBold: Boolean;
252 //
\83\8d\83O
\83t
\83H
\83\8b\83_
254 FLogFolderP: string; //
\83p
\83X
\96¼
\82ª
\83p
\83X
\8bæ
\90Ø
\82è
\8bL
\8d\86\82Å
\8fI
\82í
\82Á
\82Ä
\82¢
\82é
\81B
255 FNewLogFolder: string;
257 //
\83\8a\83X
\83g
\83J
\83\89\83\80\83w
\83b
\83_
\81[
\83T
\83C
\83Y
258 FBBSColumnWidth: array[0..0] of Integer;
259 FCategoryColumnWidth: array[0..2] of Integer;
260 FBoardColumnWidth: array[0..10] of Integer;
262 ///
\83J
\83e
\83S
\83\8a\83\8a\83X
\83g
\83J
\83\89\83\80\8f\87\8f\98
263 FBBSColumnOrder : TGikoBBSColumnList;
264 ///
\94Â
\83\8a\83X
\83g
\83J
\83\89\83\80\8f\87\8f\98
265 FCategoryColumnOrder : TGikoCategoryColumnList;
266 ///
\83X
\83\8c\83\8a\83X
\83g
\83J
\83\89\83\80\8f\87\8f\98
267 FBoardColumnOrder : TGikoBoardColumnList;
270 FBBSSortIndex: Integer;
271 FBBSSortOrder: Boolean;
272 FCategorySortIndex: Integer;
273 FCategorySortOrder: Boolean;
274 FBoardSortIndex: Integer;
275 FBoardSortOrder: Boolean;
277 //Dat
\97\8e\82¿
\83X
\83\8c\83\
\81[
\83g
\8f\87
278 FDatOchiSortIndex: Integer;
279 FDatOchiSortOrder: Boolean;
281 //
\8di
\8d\9e\82Ý
\95¶
\8e\9a\97ñ
282 FSelectTextList: TStringList;
285 //FBoardURL2ch: string;
286 FBoardURLs: TStringList;
287 FBoardURLSelected: Integer;
289 //
\83\86\81[
\83UID
\81E
\83p
\83X
\83\8f\81[
\83h
293 FForcedLogin: Boolean;
296 //URL
\83N
\83\8a\83b
\83N
\8e\9e\8bN
\93®
\83A
\83v
\83\8a
300 //mailto
\83N
\83\8a\83b
\83N
\8e\9e\93®
\8dì
301 FOpenMailer: Boolean;
306 //CoolBar
\81i
\83\81\83C
\83\93\81E
\94Â
\81E
\83u
\83\89\83E
\83U
\81j
307 FMainCoolBar: array[0..MAIN_COOLBAND_COUNT - 1] of TCoolSet;
308 FListCoolBar: array[0..LIST_COOLBAND_COUNT - 1] of TCoolSet;
309 FBrowserCoolBar: array[0..BROWSER_COOLBAND_COUNT - 1] of TCoolSet;
312 FListToolBarWrapable: Boolean;
313 FBrowserToolBarWrapable: Boolean;
315 //
\83|
\83b
\83v
\83A
\83b
\83v
\88Ê
\92u
316 FPopupPosition: TGikoPopupPosition;
318 //
\83A
\83h
\83\8c\83X
\83o
\81[
319 FURLDisplay: Boolean;
320 FAddressBarTabStop: Boolean;
321 FLinkAddAddressBar: Boolean;
322 FAddressHistoryCount: Integer;
324 //
\89æ
\91\9c\83v
\83\8c\83r
\83\85\81[
325 FPreviewVisible: Boolean;
326 FPreviewSize: TGikoPreviewSize;
327 FPreviewWait: Integer;
329 //
\83u
\83\89\83E
\83U
330 FBrowserAutoMaximize: TGikoBrowserAutoMaximize;
332 //
\83X
\83\8c\83b
\83h
\88ê
\97\97\8dX
\90V
\83A
\83C
\83R
\83\93\95\
\8e¦
333 FListIconVisible: Boolean;
335 //
\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©
336 FCreationTimeLogs: Boolean;
337 //
\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¢
338 FFutureThread: Boolean;
340 //
\8f\91\82«
\8d\9e\82Ý
\8e\9e\83}
\83V
\83\93\8e\9e\8aÔ
\8eg
\97p
\90Ý
\92è
341 FUseMachineTime: Boolean;
342 FTimeAdjustSec: Integer;
343 FTimeAdjust: Boolean;
346 FAbonDeleterlo : Boolean; //&rlo;
\82ð
\8dí
\82é
\82©
347 FAbonReplaceul : Boolean; //<ul>
\83^
\83O
\82ð<br>
\83^
\83O
\82É
\92u
\8a·
\82·
\82é
\82©
348 FPopUpAbon : Boolean; //
\83\8c\83X
\83|
\83b
\83v
\83A
\83b
\83v
\8e\9e\82Ì
\82 \82Ú
\81`
\82ñ
\97L
\8cø
349 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¦
350 FAddResAnchor : Boolean; //NG
\83\8c\83X
\82Ö
\82Ì
\83\8c\83X
\83A
\83\93\83J
\81[
\82ð
\92Ç
\89Á
\82·
\82é
351 FDeleteSyria : Boolean; //
\83V
\83\8a\83A
\8cê
\83u
\83\89\83N
\83\89\91Î
\8dô
352 FIgnoreKana : Boolean; //
\91S
\94¼
\8ap
\82Ð
\82ç
\83J
\83i
\82Ì
\88á
\82¢
\82ð
\96³
\8e\8b\82·
\82é
\82©
354 //
\83X
\83\8c\83b
\83h
\8di
\8d\9e\83t
\83B
\81[
\83\8b\83h
\82Ì
\95\9d
355 FSelectComboBoxWidth : Integer;
357 //
\8dÅ
\8cã
\82É
\91I
\91ð
\82³
\82ê
\82½
\83I
\83v
\83V
\83\87\83\93\83_
\83C
\83A
\83\8d\83O
\82Ì
\83^
\83u
358 FOptionDialogTabIndex: Integer;
360 //
\8dÅ
\8cã
\82É
\91I
\91ð
\82³
\82ê
\82½
\83L
\83\83\83r
\83l
\83b
\83g
361 FCabinetIndex: Integer;
363 //
\8fI
\97¹
\8e\9e\82É
\8am
\94F
\83_
\83C
\83A
\83\8d\83O
\82ð
\95\
\8e¦
\82·
\82é
\82©
364 FShowDialogForEnd : Boolean;
365 //
\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é
366 FShowDialogForAllTabClose: Boolean;
367 //
\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©
368 FUseOddColorOddResNum: Boolean;
370 //
\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©
371 FUnFocusedBold : Boolean;
373 //Samba24
\91Î
\8dô
\8b@
\94\
\82ð
\8eg
\82¤
\82©
376 //
\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©
377 FResAnchorJamp: Boolean;
379 //Tab
\8e©
\93®
\95Û
\91¶
380 FTabAutoLoadSave : Boolean;
381 //
\8dÅ
\8cã
\82É
\8aJ
\82¢
\82Ä
\82¢
\82½
\83X
\83\8c\83b
\83h
\82ÌURL
382 FLastCloseTabURL: String;
383 //
\82É
\82¿
\82á
\82ñ
\8cê
\88Ä
\93à
\83T
\83|
\81[
\83g
\8b@
\94\
384 F2chSupport : Boolean;
387 FSpaceToNBSP : Boolean; ///<
\94¼
\8ap
\83X
\83y
\81[
\83X
\81ATab
\82ð
\82É
\92u
\8a·
388 FAmpToCharRef : Boolean; ///< '&'
\82ð &
\82É
\92u
\8a·
390 //
\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Ô
391 FSelectInterval : Integer;
393 //KuroutSettingTab
\8fÚ
\8d×
\90Ý
\92è
\83^
\83u
\82ÌActiveTab
394 FKuroutSettingTabIndex: Integer;
396 //!
\83}
\83E
\83X
\83W
\83F
\83X
\83`
\83\83\81[
397 FGestures : TGestureModel;
398 //!
\83}
\83E
\83X
\83W
\83F
\83X
\83`
\83\83\81[
\82ð
\8eg
\97p
\82·
\82é
\82©
\82Ç
\82¤
\82©
399 FGestureEnabled : Boolean;
400 //!
\83}
\83E
\83X
\83W
\83F
\83X
\83`
\83\83\81[
\82ð
\83R
\83\93\83e
\83L
\83X
\83g
\93\99\82Ì
\8fã
\82Å
\96³
\8cø
401 FGestureIgnoreContext : Boolean;
402 //
\83t
\83V
\83A
\83i
\83g
\83\89\83b
\83v
\90Ý
\92è
403 FLocalTrapAtt : Boolean;
404 FRemoteTrapAtt : Boolean;
405 FReadTimeOut: Integer;
407 //!
\8eg
\97p
\82·
\82é
\83X
\83p
\83\80\83t
\83B
\83\8b\83^
\81[
408 FSpamFilterAlgorithm : TGikoSpamFilterAlgorithm;
409 //
\83~
\83\85\81[
\83g
\82µ
\82Ä
\82é
\82©
411 //
\83X
\83\8c\8di
\8d\9e\82Ý
\82Å
\96¢
\8am
\92è
\95¶
\8e\9a\82à
\97L
\8cø
\82É
\82·
\82é
\82©
412 FUseUndecided: Boolean;
415 //
\94F
\8fØ
\97p
\83\86\81[
\83UID
\81E
\83p
\83X
\83\8f\81[
\83h
418 FBeAutoLogin: Boolean;
420 //
\97\9a\97ð
\82Ì
\8dÅ
\91å
\95Û
\91¶
\8c\8f\90\94
421 FMaxRecordCount : Integer;
423 //
\83X
\83\8c\83b
\83h
\88ê
\97\97\82ð
\83_
\83E
\83\93\83\8d\81[
\83h
\8cã
\82É
\83\
\81[
\83g
\82·
\82é
\82©
424 FAutoSortThreadList : Boolean;
426 //InputAssist
\83t
\83H
\81[
\83\80\82Ì
\88Ê
\92u
427 FInputAssistFormLeft :Integer;
428 FInputAssistFormTop :Integer;
429 //InputAssist
\83t
\83H
\81[
\83\80\82Ì
\83T
\83C
\83Y
430 FInputAssistFormWidth: Integer;
431 FInputAssistFormHeight: Integer;
433 //! Cookie
\82É
\95t
\89Á
\82·
\82é
\8cÅ
\92è
\83R
\81[
\83h
434 FFixedCookie: String;
435 //!
\83\8a\83\93\83N
\88Ú
\93®
\97\9a\97ð
\82Ì
\95Û
\8e\9d\90\94
436 FMoveHistorySize : Integer;
437 //!
\8dÅ
\8f¬
\89»
\82µ
\82½
\82Æ
\82«
\82É
\83^
\83X
\83N
\83g
\83\8c\83C
\82É
\8ai
\94[
\82·
\82é
\82©
438 FStoredTaskTray : Boolean;
439 //!
\83^
\83u
\82Ì
\88Ú
\93®
\82Å
\83\8b\81[
\83v
\82ð
\8b\96\89Â
\82·
\82é
440 FLoopBrowserTabs : Boolean;
441 //! 100
\83\8c\83X
\95\
\8e¦
\82Ì
\90æ
\93ª
\95\
\8e¦
\83\8c\83X
\90\94
442 FHeadResCount : Integer;
443 //! 100
\83\8c\83X
\95\
\8e¦
\90\94\81i
\8ag
\92£
\97p
\81j
444 FResRangeExCount: Integer;
445 //!
\8aÖ
\98A
\83L
\81[
\83\8f\81[
\83h
\92Ç
\89Á
\83t
\83\89\83O
446 FAddKeywordLink: Boolean;
447 //! dat
\92u
\8a·
\82ð
\97L
\8cø
\82É
\82·
\82é
448 FReplaceDat: Boolean;
449 //! sent.ini
\83t
\83@
\83C
\83\8b\82Ì
\83T
\83C
\83Y
\81i
\92P
\88ÊMB
\81j
450 FSentIniFileSize: Integer;
451 //!
\83\8a\83\93\83NURL
\8eæ
\93¾
\82Ì
\91Î
\8fÛ
\8ag
\92£
\8eq
454 FSkinFiles: TSkinFiles;
455 //! index
\83t
\83@
\83C
\83\8b\82ð
\93Ç
\82Ý
\8e\9e\82Édat
\82ð
\8c\9f\8dõ
\82·
\82é
456 FCheckDatFile: Boolean;
457 //!
\93¯ID
\83\8c\83X
\83A
\83\93\83J
\81[
\95\
\8e¦
458 FLimitResCountMessage: Boolean;
459 //!
\83\8c\83X
\83|
\83b
\83v
\83A
\83b
\83v
\95\
\8e¦
\88Ê
\92udeltaX
460 FRespopupDeltaX: Integer;
461 //!
\83\8c\83X
\83|
\83b
\83v
\83A
\83b
\83v
\95\
\8e¦
\88Ê
\92udeltaY
462 FRespopupDeltaY: Integer;
463 //!
\83\8c\83X
\83|
\83b
\83v
\83A
\83b
\83v
\83^
\83C
\83}
\81[
464 FRespopupWait: Integer;
465 //!
\83\81\81[
\83\8b\97\93\83\8c\83X
\83|
\83b
\83v
\83A
\83b
\83v
466 FRespopupMailTo: Boolean;
467 //!
\8cë
\94\9a\83`
\83F
\83b
\83N
468 FUseGobakuCheck: Boolean;
469 function GetMainCoolSet(Index: Integer): TCoolSet;
470 function GetBoardCoolSet(Index: Integer): TCoolSet;
471 function GetBrowserCoolSet(Index: Integer): TCoolSet;
472 procedure SetMainCoolSet(Index: Integer; CoolSet: TCoolSet);
473 procedure SetBoardCoolSet(Index: Integer; CoolSet: TCoolSet);
474 procedure SetBrowserCoolSet(Index: Integer; CoolSet: TCoolSet);
476 function GetBBSColumnWidth(index: Integer): Integer;
477 function GetCategoryColumnWidth(index: Integer): Integer;
478 function GetBoardColumnWidth(index: Integer): Integer;
479 procedure SetBBSColumnWidth(index: Integer; value: Integer);
480 procedure SetCategoryColumnWidth(index: Integer; value: Integer);
481 procedure SetBoardColumnWidth(index: Integer; value: Integer);
483 function GetSoundName(Index: Integer): string;
484 function GetSoundViewName(Index: Integer): string;
485 function GetSoundFileName(Index: Integer): string;
486 procedure SetSoundFileName(Index: Integer; value: string);
487 function Encrypt(s: string): string;
488 function Decrypt(s: string): string;
490 procedure MakeURLIniFile();
492 procedure SetUseCSS( value: Boolean );
493 procedure SetCSSFileName( fileName: string );
494 function GetCSSFileName: string;
495 //!
\83v
\83\8d\83L
\83V
\90Ý
\92è
\93Ç
\82Ý
\8d\9e\82Ý
496 procedure ReadProxySettings(memIni: TMemIniFile);
497 //!
\8ae
\8eí
\83E
\83B
\83\93\83h
\83E
\90Ý
\92è
\93Ç
\82Ý
\8d\9e\82Ý
498 procedure ReadWindowSettings(memIni: TMemIniFile);
499 //!
\93ü
\97Í
\97\9a\97ð
\93Ç
\82Ý
\8d\9e\82Ý
\81i
\8c\9f\8dõ
\81{
\83\81\81[
\83\8b\97\93\81{
\96¼
\91O
\81j
500 procedure ReadInputHisotrys(memIni: TMemIniFile);
501 //!
\83\8a\83X
\83g
\83J
\83\89\83\80\95\9d\93Ç
\82Ý
\8d\9e\82Ý
502 procedure ReadListColumnWidth(memIni: TMemIniFile);
503 //!
\83J
\83e
\83S
\83\8a\83\8a\83X
\83g
\83J
\83\89\83\80\8f\87\8f\98\93Ç
\82Ý
\8d\9e\82Ý
504 procedure ReadOrdColumn(memIni: TMemIniFile);
509 destructor Destroy; override;
510 function GetFileName: string;
511 function GetBoardURLFileName: string;
512 procedure ReadSettingFile;
513 procedure ReadBoardURLsFile;
514 procedure WriteSystemSettingFile;
515 procedure WriteWindowSettingFile;
516 procedure WriteNameMailSettingFile;
517 procedure WriteFolderSettingFile();
518 procedure WriteBoardURLSettingFile;
519 function GetSoundCount: Integer;
520 function FindSoundFileName(Name: string): string;
522 function GetBoardFileName: string;
523 function GetCustomBoardFileName: string;
524 function GetBoardDir: string;
525 function GetHtmlTempFileName: string;
526 function GetAppDir: string;
527 function GetTempFolder: string;
528 function GetSentFileName: string;
529 function GetConfigDir: string;
530 function GetSkinDir: string;
531 function GetStyleSheetDir: string;
532 function GetOutBoxFileName: string;
533 function GetNGWordsDir: string;
534 function GetBoardPlugInDir: string;
535 function GetSambaFileName: string;
536 function GetIgnoreFileName: string;
537 function GetGestureFileName : string;
538 function GetSpamFilterFileName : string;
539 function GetLanguageFileName: string;
540 function GetMainKeyFileName: String;
541 function GetEditorKeyFileName: String;
542 procedure WriteLogFolder(AVal : String);
543 function GetInputAssistFileName : String;
544 function GetReplaceFileName: String;
545 function GetExtprevieFileName: String;
547 \brief
\83\8a\83\93\83N
\97\9a\97ð
\82Ì
\95Û
\8e\9d\83T
\83C
\83Y
\82Ìsetter
548 \param AVal
\90Ý
\92è
\82·
\82é
\83T
\83C
\83Y( >0)
550 procedure SetMoveHistorySize(AVal : Integer);
551 //
\8eó
\90M
\83o
\83b
\83t
\83@
\83T
\83C
\83Y
552 property RecvBufferSize: Integer read FRecvBufferSize write FRecvBufferSize;
554 property Protocol: Boolean read FProtocol write FProtocol;
555 //
\83v
\83\8d\83L
\83V
\90Ú
\91±HTTP1.1
\8eg
\97p
556 property ProxyProtocol: Boolean read FProxyProtocol write FProxyProtocol;
558 property ReadProxy: Boolean read FReadProxy write FReadProxy;
559 property ReadProxyAddress: string read FReadProxyAddress write FReadProxyAddress;
560 property ReadProxyPort: Integer read FReadProxyPort write FReadProxyPort;
561 property ReadProxyUserID: string read FReadProxyUserID write FReadProxyUserID;
562 property ReadProxyPassword: string read FReadProxyPassword write FReadProxyPassword;
564 property WriteProxy: Boolean read FWriteProxy write FWriteProxy;
565 property WriteProxyAddress: string read FWriteProxyAddress write FWriteProxyAddress;
566 property WriteProxyPort: Integer read FWriteProxyPort write FWriteProxyPort;
567 property WriteProxyUserID: string read FWriteProxyUserID write FWriteProxyUserID;
568 property WriteProxyPassword: string read FWriteProxyPassword write FWriteProxyPassword;
570 property CabinetFontName: string read FCabinetFontName write FCabinetFontName;
571 property CabinetFontSize: Integer read FCabinetFontSize write FCabinetFontSize;
572 property CabinetFontBold: Boolean read FCabinetFontBold write FCabinetFontBold;
573 property CabinetFontItalic: Boolean read FCabinetFontItalic write FCabinetFontItalic;
574 property CabinetFontColor: TColor read FCabinetFontColor write FCabinetFontColor;
575 property CabinetBackColor: TColor read FCabinetBackColor write FCabinetBackColor;
577 property ListFontName: string read FListFontName write FListFontName;
578 property ListFontSize: Integer read FListFontSize write FListFontSize;
579 property ListFontBold: Boolean read FListFontBold write FListFontBold;
580 property ListFontItalic: Boolean read FListFontItalic write FListFontItalic;
581 property ListFontColor: TColor read FListFontColor write FListFontColor;
582 property ListBackColor: TColor read FListBackColor write FListBackColor;
584 property BrowserFontName: string read FBrowserFontName write FBrowserFontName;
585 property BrowserFontSize: Integer read FBrowserFontSize write FBrowserFontSize;
586 property BrowserFontBold: Integer read FBrowserFontBold write FBrowserFontBold;
587 property BrowserFontItalic: Integer read FBrowserFontItalic write FBrowserFontItalic;
588 property BrowserFontColor: Integer read FBrowserFontColor write FBrowserFontColor;
589 property BrowserBackColor: Integer read FBrowserBackColor write FBrowserBackColor;
591 property EditorFontName: string read FEditorFontName write FEditorFontName;
592 property EditorFontSize: Integer read FEditorFontSize write FEditorFontSize;
593 property EditorFontBold: Boolean read FEditorFontBold write FEditorFontBold;
594 property EditorFontItalic: Boolean read FEditorFontItalic write FEditorFontItalic;
595 property EditorFontColor: TColor read FEditorFontColor write FEditorFontColor;
596 property EditorBackColor: TColor read FEditorBackColor write FEditorBackColor;
598 property BrowserTabFontName: string read FBrowserTabFontName write FBrowserTabFontName;
599 property BrowserTabFontSize: Integer read FBrowserTabFontSize write FBrowserTabFontSize;
600 property BrowserTabFontBold: Boolean read FBrowserTabFontBold write FBrowserTabFontBold;
601 property BrowserTabFontItalic: Boolean read FBrowserTabFontItalic write FBrowserTabFontItalic;
603 property HintFontName: string read FHintFontName write FHintFontName;
604 property HintFontSize: Integer read FHintFontSize write FHintFontSize;
605 //property HintFontBold: Boolean read FHintFontBold write FHintFontBold;
606 //property HintFontItalic: Boolean read FHintFontItalic write FHintFontItalic;
607 property HintFontColor: TColor read FHintFontColor write FHintFontColor;
608 property HintBackColor: TColor read FHintBackColor write FHintBackColor;
610 property WindowTop: Integer read FWindowTop write FWindowTop;
611 property WindowLeft: Integer read FWindowLeft write FWindowLeft;
612 property WindowHeight: Integer read FWindowHeight write FWindowHeight;
613 property WindowWidth: Integer read FWindowWidth write FWindowWidth;
614 property WindowMax: Boolean read FWindowMax write FWindowMax;
615 property ListStyle: TViewStyle read FListStyle write FListStyle;
617 property StdToolBarVisible: Boolean read FStdToolBarVisible write FStdToolBarVisible;
618 property AddressBarVisible: Boolean read FAddressBarVisible write FAddressBarVisible;
619 property LinkBarVisible: Boolean read FLinkBarVisible write FLinkBarVisible;
620 property ListToolBarVisible: Boolean read FListToolBarVisible write FListToolBarVisible;
621 property ListNameBarVisible: Boolean read FListNameBarVisible write FListNameBarVisible;
622 property BrowserToolBarVisible: Boolean read FBrowserToolBarVisible write FBrowserToolBarVisible;
623 property BrowserNameBarVisible: Boolean read FBrowserNameBarVisible write FBrowserNameBarVisible;
625 property BrowserTabVisible: Boolean read FBrowserTabVisible write FBrowserTabVisible;
626 property BrowserTabPosition: TGikoTabPosition read FBrowserTabPosition write FBrowserTabPosition;
627 property BrowserTabAppend: TGikoTabAppend read FBrowserTabAppend write FBrowserTabAppend;
628 property BrowserTabStyle: TGikoTabStyle read FBrowserTabStyle write FBrowserTabStyle;
630 property MessageBarVisible: Boolean read FMessageBarVisible write FMessageBarVisible;
631 property MessegeBarHeight: Integer read FMessegeBarHeight write FMessegeBarHeight;
633 property StatusBarVisible: Boolean read FStatusBarVisible write FStatusBarVisible;
635 property CabinetVisible: Boolean read FCabinetVisible write FCabinetVisible;
636 property CabinetWidth: Integer read FCabinetWidth write FCabinetWidth;
638 property ListOrientation: TGikoListOrientation read FListOrientation write FListOrientation;
639 property ListHeight: Integer read FListHeight write FListHeight;
640 property ListHeightState: TGikoListState read FListHeightState write FListHeightState;
641 property ListWidth: Integer read FListWidth write FListWidth;
642 property ListWidthState: TGikoListState read FListWidthState write FListWidthState;
643 // property ListHeightMax: Boolean read FListHeightMax write FListHeightMax;
644 // property ListWidthMax: Boolean read FListWidthMax write FListWidthMax;
646 property NameList: TStringList read FNameList write FNameList;
647 property MailList: TStringList read FMailList write FMailList;
648 property SelectTextList: TStringList read FSelectTextList write FSelectTextList;
650 property EditWindowTop: Integer read FEditWindowTop write FEditWindowTop;
651 property EditWindowLeft: Integer read FEditWindowLeft write FEditWindowLeft;
652 property EditWindowHeight: Integer read FEditWindowHeight write FEditWindowHeight;
653 property EditWindowWidth: Integer read FEditWindowWidth write FEditWindowWidth;
654 property EditWindowMax: Boolean read FEditWindowMax write FEditWindowMax;
655 property EditWindowStay: Boolean read FEditWindowStay write FEditWindowStay;
656 property EditWindowTranslucent: Boolean read FEditWindowTranslucent write FEditWindowTranslucent;
658 property ListViewNo: Boolean read FListViewNo write FListViewNo;
659 property UseCSS: Boolean read FUseCSS write SetUseCSS;
660 property CSSFileName: string read GetCSSFileName write SetCSSFileName;
661 property UseKatjushaType : Boolean read FUseKatjushaType write FUseKatjushaType;
662 property UseSkin: Boolean read FUseSkin;
664 property ShowMail: Boolean read FShowMail write FShowMail;
665 property ResRange : Longint read FResRange write FResRange;
666 property ResRangeHold : Boolean read FResRangeHold write FResRangeHold;
667 property ThreadRange : TGikoThreadRange read FThreadRange write FThreadRange;
668 property UnActivePopup: Boolean read FUnActivePopup write FUnActivePopup;
669 property ResPopupHeaderBold: Boolean read FResPopupHeaderBold write FResPopupHeaderBold;
671 property LogFolder: string read FLogFolder write WriteLogFolder;
672 property LogFolderP: string read FLogFolderP;
673 property NewLogFolder: string read FNewLogFolder write FNewLogFolder;
675 property BBSColumnWidth[index: Integer]: Integer read GetBBSColumnWidth write SetBBSColumnWidth;
676 property CategoryColumnWidth[index: Integer]: Integer read GetCategoryColumnWidth write SetCategoryColumnWidth;
677 property BoardColumnWidth[index: Integer]: Integer read GetBoardColumnWidth write SetBoardColumnWidth;
679 property BBSColumnOrder : TGikoBBSColumnList read FBBSColumnOrder write FBBSColumnOrder;
680 property CategoryColumnOrder : TGikoCategoryColumnList read FCategoryColumnOrder write FCategoryColumnOrder;
681 property BoardColumnOrder : TGikoBoardColumnList read FBoardColumnOrder write FBoardColumnOrder;
683 property SoundName[index: Integer]: string read GetSoundName;
684 property SoundViewName[index: Integer]: string read GetSoundViewName;
685 property SoundFileName[index: Integer]: string read GetSoundFileName write SetSoundFileName;
687 property BBSSortIndex: Integer read FBBSSortIndex write FBBSSortIndex;
688 property BBSSortOrder: Boolean read FBBSSortOrder write FBBSSortOrder;
689 property CategorySortIndex: Integer read FCategorySortIndex write FCategorySortIndex;
690 property CategorySortOrder: Boolean read FCategorySortOrder write FCategorySortOrder;
691 property BoardSortIndex: Integer read FBoardSortIndex write FBoardSortIndex;
692 property BoardSortOrder: Boolean read FBoardSortOrder write FBoardSortOrder;
694 property DatOchiSortIndex: Integer read FDatOchiSortIndex write FDatOchiSortIndex;
695 property DatOchiSortOrder: Boolean read FDatOchiSortOrder write FDatOchiSortOrder;
697 //property BoardURL2ch: string read FBoardURL2ch write FBoardURL2ch;
698 property BoardURLs: TStringList read FBoardURLs write FBoardURLs;
699 property BoardURLSelected: Integer read FBoardURLSelected write FBoardURLSelected;
700 property UserID: string read FUserID write FUserID;
701 property Password: string read FPassword write FPassword;
702 property AutoLogin: Boolean read FAutoLogin write FAutoLogin;
703 property ForcedLogin: Boolean read FForcedLogin write FForcedLogin;
704 property DolibURL: string read FDolibURL write FDolibURL;
706 property URLApp: Boolean read FURLApp write FURLApp;
707 property URLAppFile: string read FURLAppFile write FURLAppFile;
709 property OpenMailer: Boolean read FOpenMailer write FOpenMailer;
711 property DeleteMsg: Boolean read FDeleteMsg write FDeleteMsg;
713 property MainCoolSet[Index: Integer]: TCoolSet read GetMainCoolSet write SetMainCoolSet;
714 property ListCoolSet[Index: Integer]: TCoolSet read GetBoardCoolSet write SetBoardCoolSet;
715 property BrowserCoolSet[Index: Integer]: TCoolSet read GetBrowserCoolSet write SetBrowserCoolSet;
717 property ListToolBarWrapable: Boolean read FListToolBarWrapable write FListToolBarWrapable;
718 property BrowserToolBarWrapable: Boolean read FBrowserToolBarWrapable write FBrowserToolBarWrapable;
720 property PopupPosition: TGikoPopupPosition read FPopupPosition write FPopupPosition;
722 property URLDisplay: Boolean read FURLDisplay write FURLDisplay;
723 property AddressBarTabStop: Boolean read FAddressBarTabStop write FAddressBarTabStop;
724 property LinkAddAddressBar: Boolean read FLinkAddAddressBar write FLinkAddAddressBar;
725 property AddressHistoryCount: Integer read FAddressHistoryCount write FAddressHistoryCount;
727 property PreviewVisible: Boolean read FPreviewVisible write FPreviewVisible;
728 property PreviewSize: TGikoPreviewSize read FPreviewSize write FPreviewSize;
729 property PreviewWait: Integer read FPreviewWait write FPreviewWait;
730 property BrowserAutoMaximize: TGikoBrowserAutoMaximize read FBrowserAutoMaximize write FBrowserAutoMaximize;
732 property ListIconVisible: Boolean read FListIconVisible write FListIconVisible;
733 property CreationTimeLogs: Boolean read FCreationTimeLogs write FCreationTimeLogs;
734 property FutureThread: Boolean read FFutureThread write FFutureThread;
736 property UseMachineTime: Boolean read FUseMachineTime write FUseMachineTime;
737 property TimeAdjustSec: Integer read FTimeAdjustSec write FTimeAdjustSec;
738 property TimeAdjust: Boolean read FTimeAdjust write FTimeAdjust;
741 property AbonDeleterlo : Boolean read FAbonDeleterlo write FAbonDeleterlo;
742 property AbonReplaceul : Boolean read FAbonReplaceul write FAbonReplaceul;
743 property PopUpAbon : Boolean read FPopUpAbon write FPopUpAbon;
744 property ShowNGLinesNum : Boolean read FShowNGLinesNum write FShowNGLinesNum;
745 property AddResAnchor : Boolean read FAddResAnchor write FAddResAnchor;
746 property DeleteSyria : Boolean read FDeleteSyria write FDeleteSyria;
747 property IgnoreKana : Boolean read FIgnoreKana write FIgnoreKana;
748 //
\83X
\83\8c\83b
\83h
\8di
\8d\9e\83t
\83B
\81[
\83\8b\83h
\82Ì
\95\9d
749 property SelectComboBoxWidth : Integer read FSelectComboBoxWidth write FSelectComboBoxWidth;
751 //
\8dÅ
\8cã
\82É
\91I
\91ð
\82³
\82ê
\82½
\83I
\83v
\83V
\83\87\83\93\83_
\83C
\83A
\83\8d\83O
\82Ì
\83^
\83u
752 property OptionDialogTabIndex : Integer read FOptionDialogTabIndex write FOptionDialogTabIndex;
754 //
\8dÅ
\8cã
\82É
\91I
\91ð
\82³
\82ê
\82½
\83L
\83\83\83r
\83l
\83b
\83g
755 property CabinetIndex : Integer read FCabinetIndex write FCabinetIndex;
757 //
\8fI
\97¹
\8e\9e\82É
\8am
\94F
\83_
\83C
\83A
\83\8d\83O
\82ð
\95\
\8e¦
\82·
\82é
\82©
758 property ShowDialogForEnd : Boolean read FShowDialogForEnd write FShowDialogForEnd;
759 property ShowDialogForAllTabClose: Boolean read FShowDialogForAllTabClose write FShowDialogForAllTabClose;
760 //
\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©
761 property UseOddColorOddResNum: Boolean read FUseOddColorOddResNum write FUseOddColorOddResNum;
762 property OddColor: TColor read FOddColor write FOddColor;
763 property UnFocusedBold : Boolean read FUnFocusedBold write FUnFocusedBold;
764 property UseSamba: Boolean read FUseSamba write FUseSamba;
765 property ResAnchorJamp: Boolean read FResAnchorJamp write FResAnchorJamp;
768 property SpaceToNBSP : Boolean read FSpaceToNBSP write FSpaceToNBSP;
769 property AmpToCharRef : Boolean read FAmpToCharRef write FAmpToCharRef;
771 property SelectInterval : Integer read FSelectInterval write FSelectInterval;
773 property TabAutoLoadSave: Boolean read FTabAutoLoadSave write FTabAutoLoadSave;
774 //
\83^
\83u
\82Ì
\95\9c\8c³
\82Æ
\82©
\97p
775 property LastCloseTabURL: String read FLastCloseTabURL write FLastCloseTabURL;
776 //property Gengo: TStringList read F2chLanguage write F2chLanguage;
777 property GengoSupport : Boolean read F2chSupport write F2chSupport;
778 property KuroutSettingTabIndex: Integer read FKuroutSettingTabIndex write FKuroutSettingTabIndex;
779 //!
\83}
\83E
\83X
\83W
\83F
\83X
\83`
\83\83\81[
780 property Gestures : TGestureModel read FGestures write FGestures;
781 //!
\83}
\83E
\83X
\83W
\83F
\83X
\83`
\83\83\81[
\82ð
\8eg
\97p
\82·
\82é
\82©
\82Ç
\82¤
\82©
782 property GestureEnabled : Boolean read FGestureEnabled write FGestureEnabled;
783 property GestureIgnoreContext : Boolean read FGestureIgnoreContext write FGestureIgnoreContext;
784 //
\83t
\83V
\83A
\83i
\83g
\83\89\83b
\83v
\90Ý
\92è
785 property LocalTrapAtt : Boolean read FLocalTrapAtt write FLocalTrapAtt;
786 property RemoteTrapAtt : Boolean read FRemoteTrapAtt write FRemoteTrapAtt;
787 property ReadTimeOut: Integer read FReadTimeOut write FReadTimeOut;
788 //!
\8eg
\97p
\82·
\82é
\83X
\83p
\83\80\83t
\83B
\83\8b\83^
789 property SpamFilterAlgorithm : TGikoSpamFilterAlgorithm
790 read FSpamFilterAlgorithm write FSpamFilterAlgorithm;
791 property Mute: Boolean read FMute write FMute;
792 property UseUndecided: Boolean read FUseUndecided write FUseUndecided;
794 property BeUserID: string read FBeUserID write FBeUserID;
795 property BeCode: string read FBeCode write FBeCode;
796 property BeAutoLogin: Boolean read FBeAutoLogin write FBeAutoLogin;
797 property BeLogin: Boolean read FBeLogin write FBeLogin;
798 property MaxRecordCount : Integer read FMaxRecordCount write FMaxRecordCount;
799 //!
\83X
\83\8c\83b
\83h
\88ê
\97\97\83_
\83E
\83\93\83\8d\81[
\83h
\8cã
\82É
\83X
\83\8c\83b
\83h
\96¼
\82Å
\8f¸
\8f\87\83\
\81[
\83g
\82·
\82é
\82©
800 property AutoSortThreadList : Boolean read FAutoSortThreadList write FAutoSortThreadList;
801 //! InputAssist
\83t
\83H
\81[
\83\80\82Ì
\88Ê
\92u
802 property InputAssistFormLeft :Integer read FInputAssistFormLeft write FInputAssistFormLeft;
803 property InputAssistFormTop :Integer read FInputAssistFormTop write FInputAssistFormTop;
804 //! InputAssist
\83t
\83H
\81[
\83\80\82Ì
\83T
\83C
\83Y
805 property InputAssistFormWidth: Integer read FInputAssistFormWidth write FInputAssistFormWidth;
806 property InputAssistFormHeight: Integer read FInputAssistFormHeight write FInputAssistFormHeight;
807 //! Cookie
\82É
\95t
\89Á
\82·
\82é
\8cÅ
\92è
\83R
\81[
\83h
808 property FixedCookie: String read FFixedCookie write FFixedCookie;
809 //!
\83\8a\83\93\83N
\88Ú
\93®
\97\9a\97ð
\82Ì
\95Û
\8e\9d\90\94
810 property MoveHistorySize : Integer read FMoveHistorySize write SetMoveHistorySize;
811 //!
\8dÅ
\8f¬
\89»
\8e\9e\82É
\83^
\83X
\83N
\83g
\83\8c\83C
\82É
\8ai
\94[
\82·
\82é
\82©
812 property StoredTaskTray : Boolean read FStoredTaskTray write FStoredTaskTray;
813 //!
\83u
\83\89\83E
\83U
\83^
\83u
\82Ì
\83\8b\81[
\83v
\82ð
\8b\96\89Â
\82·
\82é
814 property LoopBrowserTabs : Boolean read FLoopBrowserTabs write FLoopBrowserTabs;
815 //! 100
\83\8c\83X
\95\
\8e¦
\82Ì
\90æ
\93ª
\95\
\8e¦
\83\8c\83X
\90\94
816 property HeadResCount : Integer read FHeadResCount write FHeadResCount;
817 //! 100
\83\8c\83X
\95\
\8e¦
\90\94\81i
\8ag
\92£
\97p
\81j
818 property ResRangeExCount: Integer read FResRangeExCount write FResRangeExCount;
819 //!
\8aÖ
\98A
\83L
\81[
\83\8f\81[
\83h
\92Ç
\89Á
\83t
\83\89\83O
820 property AddKeywordLink: Boolean read FAddKeywordLink write FAddKeywordLink;
821 //! dat
\82Ì
\92u
\8a·
\82ð
\97L
\8cø
\82É
\82·
\82é
\82©
822 property ReplaceDat: Boolean read FReplaceDat write FReplaceDat;
823 //! sent.ini
\83t
\83@
\83C
\83\8b\82Ì
\83T
\83C
\83Y
\81i
\92P
\88ÊMB
\81j
824 property SentIniFileSize: Integer read FSentIniFileSize write FSentIniFileSize;
825 //!
\83\8a\83\93\83NURL
\8eæ
\93¾
\82Ì
\91Î
\8fÛ
\8ag
\92£
\8eq
826 property ExtList: String read FExtList write FExtList;
827 //! Skin
\83t
\83@
\83C
\83\8b\8aÇ
\97\9d
828 property SkinFiles: TSkinFiles read FSkinFiles;
829 //!
\83C
\83\93\83f
\83b
\83N
\83X
\93Ç
\82Ý
\8d\9e\82Ý
\8e\9edat
\83t
\83@
\83C
\83\8b\83`
\83F
\83b
\83N
830 property CheckDatFile: Boolean read FCheckDatFile write FCheckDatFile;
831 property LimitResCountMessage: Boolean read FLimitResCountMessage write FLimitResCountMessage;
832 //!
\83\8c\83X
\83|
\83b
\83v
\83A
\83b
\83v
\95\
\8e¦
\88Ê
\92udeltaX
833 property RespopupDeltaX: Integer read FRespopupDeltaX write FRespopupDeltaX;
834 //!
\83\8c\83X
\83|
\83b
\83v
\83A
\83b
\83v
\95\
\8e¦
\88Ê
\92udeltaY
835 property RespopupDeltaY: Integer read FRespopupDeltaY write FRespopupDeltaY;
836 //!
\83\8c\83X
\83|
\83b
\83v
\83A
\83b
\83v
\83^
\83C
\83}
\81[
837 property RespopupWait: Integer read FRespopupWait write FRespopupWait;
838 property RespopupMailTo: Boolean read FRespopupMailTo write FRespopupMailTo;
839 //!
\8cë
\94\9a\83`
\83F
\83b
\83N
840 property UseGobakuCheck: Boolean read FUseGobakuCheck write FUseGobakuCheck;
845 // MAIN_COOLBAND_COUNT = 4; //
\83\81\83C
\83\93CoolBand
\82Ì
\90\94
846 // LIST_COOLBAND_COUNT = 2; //
\94ÂCoolBand
\82Ì
\90\94
847 // BROWSER_COOLBAND_COUNT = 3; //
\83u
\83\89\83E
\83UCoolBand
\82Ì
\90\94
849 BOARD_FILE_NAME = 'board.2ch';
850 CUSTOMBOARD_FILE_NAME = 'custom.2ch';
851 BOARD_DIR_NAME = 'Board';
852 KEY_SETTING_FILE_NAME = 'key.ini';
853 EKEY_SETTING_FILE_NAME = 'Ekey.ini';
854 TEMP_FOLDER = 'Temp';
855 OUTBOX_FILE_NAME = 'outbox.ini';
856 SENT_FILE_NAME = 'sent.ini';
857 CONFIG_DIR_NAME = 'config';
858 CSS_DIR_NAME = 'css';
859 SKIN_DIR_NAME = 'skin';
860 NGWORDs_DIR_NAME : String = 'NGwords';
861 BOARD_PLUGIN_DIR_NAME = 'BoardPlugin';
862 SAMBATIME_FILE_NAME : String = 'Samba.ini';
863 IGNORE_FILE_NAME : String = 'Ignore.txt';
864 // DOLIB_LOGIN_URL = '/~tora3n2c/futen.cgi';
865 MAX_POPUP_RES : Integer = 10;
866 GESTURE_FILE_NAME = 'Gestures.ini';
867 SPAMFILTER_FILE_NAME = 'SpamFilter.ini';
868 LANGUAGE_FILE_NAME = 'language.ini';
869 INPUTASSIST_FILE_NAME = 'InputAssist.ini';
871 REPLACE_FILE_NAME = 'replace.ini';
872 EXT_PREVIEW_FILE_NAME = 'extpreview.ini';
877 Math, UCryptAuto, UBase64, Windows,GikoUtil;
887 INI_FILE_NAME: string = 'gikoNavi.ini';
888 BOARD_URL_INI_FILE_NAME: string = 'url.ini';
889 DEFAULT_FONT_NAME: string = '
\82l
\82r
\82o
\83S
\83V
\83b
\83N';
890 DEFAULT_FONT_SIZE: Integer = 9;
891 DEFAULT_FONT_COLOR: string = 'clWindowText';
892 DEFAULT_WINDOW_COLOR: string = 'clWindow';
893 DEFAULT_TAB_FONT_NAME: string = '
\82l
\82r
\82o
\83S
\83V
\83b
\83N';
894 DEFAULT_TAB_FONT_SIZE: Integer = 9;
895 DEFAULT_2CH_BOARD_URL1: string = 'http://menu.2ch.net/bbsmenu.html';
896 GIKO_ENCRYPT_TEXT: string = 'gikoNaviEncryptText';
899 SOUND_NAME: array[0..4] of TSoundName = (
900 (Name: 'New'; ViewName: '
\8eæ
\93¾
\90¬
\8c÷'; FileName: ''),
901 (Name: 'NewDiff'; ViewName: '
\8eæ
\93¾
\90¬
\8c÷(
\8d·
\95ª)'; FileName: ''),
902 (Name: 'NoChange'; ViewName: '
\96¢
\8dX
\90V'; FileName: ''),
903 // (Name: 'RoundEnd'; ViewName: '
\8f\84\89ñ
\8fI
\97¹(
\8eæ
\93¾
\82 \82è)'; FileName: ''),
904 // (Name: 'RoundNone'; ViewName: '
\8f\84\89ñ
\8fI
\97¹(
\8eæ
\93¾
\82È
\82µ)'; FileName: ''),
905 (Name: 'ResEnd'; ViewName: '
\83\8c\83X
\91\97\90M
\8a®
\97¹'; FileName: ''),
906 (Name: 'Error'; ViewName: '
\83G
\83\89\81['; FileName: ''));
908 constructor TGikoBBSColumnList.Create;
913 destructor TGikoBBSColumnList.Destroy;
918 function TGikoBBSColumnList.GetItem( index : integer ) : TGikoBBSColumnID;
920 Result := TGikoBBSColumnID( inherited Items[ index ] );
923 procedure TGikoBBSColumnList.SetItem( index : integer; value : TGikoBBSColumnID);
925 inherited Items[ index ] := Pointer( value );
928 function TGikoBBSColumnList.Add( value : TGikoBBSColumnID ) : Integer;
930 Result := inherited Add( Pointer( value ) );
933 constructor TGikoCategoryColumnList.Create;
938 destructor TGikoCategoryColumnList.Destroy;
943 function TGikoCategoryColumnList.GetItem( index : integer ) : TGikoCategoryColumnID;
945 Result := TGikoCategoryColumnID( inherited Items[ index ] );
948 procedure TGikoCategoryColumnList.SetItem( index : integer; value : TGikoCategoryColumnID);
950 inherited Items[ index ] := Pointer( value );
953 function TGikoCategoryColumnList.Add( value : TGikoCategoryColumnID ) : Integer;
955 Result := inherited Add( Pointer( value ) );
958 constructor TGikoBoardColumnList.Create;
963 destructor TGikoBoardColumnList.Destroy;
968 function TGikoBoardColumnList.GetItem( index : integer ) : TGikoBoardColumnID;
970 Result := TGikoBoardColumnID( inherited Items[ index ] );
973 procedure TGikoBoardColumnList.SetItem( index : integer; value : TGikoBoardColumnID);
975 inherited Items[ index ] := Pointer( value );
978 function TGikoBoardColumnList.Add( value : TGikoBoardColumnID ) : Integer;
980 Result := inherited Add( Pointer( value ) );
983 //
\83R
\83\93\83X
\83g
\83\89\83N
\83^
984 constructor TSetting.Create();
986 FNameList := TStringList.Create;
987 FMailList := TStringList.Create;
988 FSelectTextList := TStringList.Create;
989 FBoardURLs := TStringList.Create;
990 FBBSColumnOrder := TGikoBBSColumnList.Create;
991 FCategoryColumnOrder := TGikoCategoryColumnList.Create;
992 FBoardColumnOrder := TGikoBoardColumnList.Create;
993 FGestures := TGestureModel.Create;
994 FSkinFiles := TSkinFiles.Create;
995 FNameList.Duplicates := dupIgnore;
996 FMailList.Duplicates := dupIgnore;
997 FBoardURLs.Duplicates := dupIgnore;
998 FSelectTextList.Duplicates := dupIgnore;
1000 ReadBoardURLsFile();
1003 //
\83f
\83X
\83g
\83\89\83N
\83^
1004 destructor TSetting.Destroy();
1006 FBoardColumnOrder.Free;
1007 FCategoryColumnOrder.Free;
1008 FBBSColumnOrder.Free;
1009 FSelectTextList.Free;
1018 //
\8f\89\8aú
\89»
\83t
\83@
\83C
\83\8b\96¼
\8eæ
\93¾
\81i
\83p
\83X
\81{
\83t
\83@
\83C
\83\8b\96¼
\81j
1019 function TSetting.GetFileName(): string;
1021 Result := GetAppDir + INI_FILE_NAME;
1024 //
\94Â
\8dX
\90V
\97pURL
\90Ý
\92è
\83t
\83@
\83C
\83\8b\96¼
\81i
\83p
\83X
\81{
\83t
\83@
\83C
\83\8b\96¼
\81j
1025 function TSetting.GetBoardURLFileName(): string;
1027 Result := GetAppDir + BOARD_URL_INI_FILE_NAME;
1030 //
\90Ý
\92è
\83t
\83@
\83C
\83\8b\93Ç
\8d\9e
1031 procedure TSetting.ReadSettingFile();
1040 Exists := FileExists(GetFileName);
1041 ini := TMemIniFile.Create(GetFileName);
1043 //
\8eó
\90M
\83o
\83b
\83t
\83@
\83T
\83C
\83Y
1044 FRecvBufferSize := ini.ReadInteger('HTTP', 'RecvBufferSize', 4096);
1046 FProtocol := ini.ReadBool('HTTP', 'Protocol', True);
1047 //
\83v
\83\8d\83L
\83V
\90Ú
\91±HTTP1.1
\8eg
\97p
1048 FProxyProtocol := ini.ReadBool('HTTP', 'ProxyProtocol', False);
1050 //
\83v
\83\8d\83L
\83V
\90Ý
\92è
\93Ç
\82Ý
\8d\9e\82Ý
1051 ReadProxySettings( ini );
1053 //
\8ae
\8eí
\83E
\83B
\83\93\83h
\83E
\82Ì
\90Ý
\92è
\93Ç
\82Ý
\8d\9e\82Ý
1054 ReadWindowSettings( ini );
1056 FWindowTop := ini.ReadInteger('WindowSize', 'Top', -1);
1057 FWindowLeft := ini.ReadInteger('WindowSize', 'Left', -1);
1058 FWindowHeight := ini.ReadInteger('WindowSize', 'Height', -1);
1059 FWindowWidth := ini.ReadInteger('WindowSize', 'Width', -1);
1060 FWindowMax := ini.ReadBool('WindowSize', 'Max', false);
1062 if FWindowHeight <= 0 then FWindowHeight := 400;
1063 if FWindowWidth <= 0 then FWindowWidth := 600;
1065 FListStyle := TViewStyle(ini.ReadInteger('ViewStyle', 'ListView', Ord(vsReport)));
1067 FEditWindowTop := ini.ReadInteger('EditorWindowSize', 'Top', -1);
1068 FEditWindowLeft := ini.ReadInteger('EditorWindowSize', 'Left', -1);
1069 FEditWindowHeight := ini.ReadInteger('EditorWindowSize', 'Height', -1);
1070 FEditWindowWidth := ini.ReadInteger('EditorWindowSize', 'Width', -1);
1071 FEditWindowMax := ini.ReadBool('EditorWindowSize', 'Max', False);
1072 FEditWindowStay := ini.ReadBool('EditorWindowSize', 'Stay', False);
1073 FEditWindowTranslucent := ini.ReadBool('EditorWindowSize', 'Translucent', False);
1075 FOptionDialogTabIndex := ini.ReadInteger('OptionDialog', 'TabIndex', 0);
1077 //
\83c
\81[
\83\8b\83o
\81[
1078 FStdToolBarVisible := ini.ReadBool('ToolBar', 'StdVisible', True);
1079 FAddressBarVisible := ini.ReadBool('ToolBar', 'AddressVisible', True);
1080 FLinkBarVisible := ini.ReadBool('ToolBar', 'LinkVisible', True);
1081 FListToolBarVisible := ini.ReadBool('ToolBar', 'ListVisible', True);
1082 FListNameBarVisible := ini.ReadBool('ToolBar', 'ListNameVisible', True);
1083 FBrowserToolBarVisible := ini.ReadBool('ToolBar', 'BrowserVisible', True);
1084 FBrowserNameBarVisible := ini.ReadBool('ToolBar', 'BrowserNameVisible', True);
1085 //
\83c
\81[
\83\8b\83o
\81[Wrapable
1086 FListToolBarWrapable := ini.ReadBool('ToolBar', 'ListWrapable', False);
1087 FBrowserToolBarWrapable := ini.ReadBool('ToolBar', 'BrowserWrapable', False);
1089 FBrowserTabVisible := ini.ReadBool('Tab', 'BrowserTabVisible', True);
1090 FBrowserTabPosition := TGikoTabPosition(ini.ReadInteger('Tab', 'BrowserTabPosition', Ord(gtpTop)));
1091 FBrowserTabAppend := TGikoTabAppend(ini.ReadInteger('Tab', 'BrowserTabAppend', Ord(gtaFirst)));
1092 FBrowserTabStyle := TGikoTabStyle(ini.ReadInteger('Tab', 'BrowserTabStyle', Ord(gtsFlat)));
1094 FMessageBarVisible := ini.ReadBool('MessageBar', 'Visible', True);
1095 FMessegeBarHeight := ini.ReadInteger('MessageBar', 'Height', 30);
1097 FStatusBarVisible := ini.ReadBool('StatusBar', 'Visible', True);
1099 FCabinetVisible := ini.ReadBool('Cabinet', 'Visible', True);
1100 FCabinetWidth := ini.ReadInteger('Cabinet', 'Width', 200);
1101 FCabinetIndex := ini.ReadInteger('Cabinet', 'Index', 0);
1103 FListOrientation := TGikoListOrientation(ini.ReadInteger('List', 'Orientation', Ord(gloHorizontal)));
1104 FListHeight := ini.ReadInteger('List', 'Height', 180);
1105 FListHeightState := TGikoListState(ini.ReadInteger('List', 'HeightState', Ord(glsNormal)));
1106 FListWidth := ini.ReadInteger('List', 'Width', 180);
1107 FListWidthState := TGikoListState(ini.ReadInteger('List', 'WidthState', Ord(glsNormal)));
1108 // FListHeightMax := ini.ReadBool('List', 'HeightMax', False);
1109 // FListWidthMax := ini.ReadBool('List', 'WidthMax', False);
1111 //
\93ü
\97Í
\8d\80\96Ú
\82Ì
\97\9a\97ð
\82ð
\93Ç
\82Ý
\8d\9e\82Þ
1112 ReadInputHisotrys( ini );
1114 //
\83\8a\83X
\83g
\83J
\83\89\83\80\95\9d
1115 ReadListColumnWidth( ini );
1117 //
\83J
\83e
\83S
\83\8a\83\8a\83X
\83g
\83J
\83\89\83\80\8f\87\8f\98
1118 ReadOrdColumn( ini );
1120 //
\83\8a\83X
\83g
\94Ô
\8d\86
1121 FListViewNo := ini.ReadBool('Function', 'ListViewNo', True);
1123 UseCSS := ini.ReadBool('CSS', 'UseCSS', True);
1124 //CSS
\83t
\83@
\83C
\83\8b\96¼
1125 CSSFileName := ini.ReadString('CSS', 'FileName', 'default.css');
1126 //
\82©
\82µ
\82ã
\81`
\82µ
\82á
\82Ì
\83X
\83L
\83\93\82ð
\8eg
\82¤
\82©
1127 FUseKatjushaType := ini.ReadBool('CSS', 'UseKatjushaType', false);
1129 //Mail
\97\93\95\
\8e¦
1130 FShowMail := ini.ReadBool('Thread', 'ShowMail', True);
1131 //
\83\8c\83X
\95\
\8e¦
\94Í
\88Í
1132 if ini.ReadBool('Thread', 'OnlyAHundredRes',false) then
1133 FResRange := 100 //
\8cÃ
\82¢
\90Ý
\92è
\82Ì
\8cÝ
\8a·
\97p
1135 FResRange := ini.ReadInteger( 'Thread', 'ResRange', Ord( grrAll ) );
1136 FResRangeHold := ini.ReadBool( 'Thread', 'ResRangeHold', False );
1137 FHeadResCount := ini.ReadInteger('Thread', 'HeadResCount', 1);
1138 FResRangeExCount:= ini.ReadInteger('Thread','ResRangeExCount', 100);
1139 //
\83X
\83\8c\83b
\83h
\88ê
\97\97\95\
\8e¦
\94Í
\88Í
1140 FThreadRange := TGikoThreadRange( ini.ReadInteger('ThreadList', 'ThreadRange', Ord( gtrAll )) );
1141 //
\94ñ
\83A
\83N
\83e
\83B
\83u
\8e\9e\83\8c\83X
\83|
\83b
\83v
\83A
\83b
\83v
\95\
\8e¦
1142 FUnActivePopup := ini.ReadBool('Thread', 'UnActivePopup', False);
1143 //
\83\8c\83X
\83|
\83b
\83v
\83A
\83b
\83v
\83w
\83b
\83_
\81[
\83{
\81[
\83\8b\83h
1144 FResPopupHeaderBold := ini.ReadBool('Thread', 'ResPopupHeaderBold', True);
1145 //
\8dí
\8f\9c\8am
\94F
1146 FDeleteMsg := ini.ReadBool('Function', 'LogDeleteMessage', True);
1148 FShowDialogForEnd := ini.ReadBool('Function','ShowDialogForEnd',false);
1150 FShowDialogForAllTabClose := ini.ReadBool('Function','ShowDialogForAllTabClose',false);
1152 FUseSamba := ini.ReadBool('Function','UseSamba', True);
1154 ResAnchorJamp := ini.ReadBool('Function', 'ResAnchoJamp', True);
1155 //
\83\8d\83O
\83t
\83H
\83\8b\83_
1156 LogFolder := ini.ReadString('Folder', 'LogFolder', GetAppDir + 'Log');
1160 //
\95¡
\90\94\93o
\98^
\82Å
\82«
\82é
\82æ
\82¤
\82É
\82µ
\82ÄFBoardURLs
\82É
\82µ
\82½
\81@2003/10/05
1161 //FBoardURL2ch := ini.ReadString('BoardURL', '2ch', DEFAULT_2CH_BOARD_URL);
1163 //
\94F
\8fØ
\97p
\83\86\81[
\83UID
\81E
\83p
\83X
\83\8f\81[
\83h
1164 FUserID := ini.ReadString('Attestation', 'UserID', '');
1165 FPassword := Decrypt(ini.ReadString('Attestation', 'Password', ''));
1166 FAutoLogin := ini.ReadBool('Attestation', 'AutoLogin', False);
1167 FForcedLogin := ini.ReadBool('Attestation', 'FForcedLogin', False);
1168 // FDolibURL := ini.ReadString('Attestation', 'FDolibURL', DOLIB_LOGIN_URL);
1170 //URL
\83N
\83\8a\83b
\83N
\8e\9e\8bN
\93®
\83A
\83v
\83\8a
1171 FURLApp := ini.ReadBool('URLApp', 'Select', False);
1172 FURLAppFile := ini.ReadString('URLApp', 'File', '');
1174 //mailto
\83N
\83\8a\83b
\83N
\8e\9e\93®
\8dì
1175 FOpenMailer := ini.ReadBool('Mailto', 'Open', True);
1177 //
\83|
\83b
\83v
\83A
\83b
\83v
\88Ê
\92u
1178 FPopupPosition := TGikoPopupPosition(ini.ReadInteger('Browser', 'PopupPosition', Ord(gppRightTop)));
1179 //
\83o
\83^56
\88È
\91O
\82©
\82ç
\82Ì
\83A
\83b
\83v
\83f
\81[
\83g
\91Î
\8dô
1180 if (FPopupPosition = gppCenter) then begin
1181 FPopupPosition := gppTop;
1183 FRespopupDeltaX := ini.ReadInteger('Browser', 'RespopupDelteX', 5);
1184 FRespopupDeltaY := ini.ReadInteger('Browser', 'RespopupDelteY', 5);
1185 FRespopupWait := ini.ReadInteger('Browser', 'RespopupWait', 1000);
1186 FRespopupMailTo := ini.ReadBool('Browser', 'RespopupMailTo', true);
1188 //
\83A
\83h
\83\8c\83X
\83o
\81[
1189 FURLDisplay := ini.ReadBool('AddressBar', 'URLDisplay', False);
1190 FAddressBarTabStop := ini.ReadBool('AddressBar', 'TabStop', True);
1191 FLinkAddAddressBar := ini.ReadBool('AddressBar', 'LinkAdd', False);
1192 FAddressHistoryCount := ini.ReadInteger('AddressBar', 'HistoryCount', 100);
1194 //
\89æ
\91\9c\83v
\83\8c\83r
\83\85\81[
1195 FPreviewVisible := ini.ReadBool('Browser', 'PreviewVisible', True);
1196 FPreviewSize := TGikoPreviewSize(ini.ReadInteger('Browser', 'PreviewSize', Ord(gpsMedium)));
1197 FPreviewWait := ini.ReadInteger('Browser', 'PreviewWait', 500);
1199 //
\83u
\83\89\83E
\83U
1200 FBrowserAutoMaximize := TGikoBrowserAutoMaximize(
1201 ini.ReadInteger('Window', 'BrowserAutoMaximize', Ord(gbmDoubleClick)) );
1203 //
\83X
\83\8c\83b
\83h
\88ê
\97\97\8dX
\90V
\83A
\83C
\83R
\83\93
1204 FListIconVisible := ini.ReadBool('ThreadList', 'StateIconVisible', True);
1205 FCreationTimeLogs := ini.ReadBool('ThreadList', 'CreationTimeLogs', True);
1206 FFutureThread := ini.ReadBool('ThreadList', 'FutureThread', True);
1207 FSelectInterval := ini.ReadInteger('ThreadList', 'SelectInterval', 110);
1208 //
\83\
\81[
\83g
\8f\87
1209 FBBSSortIndex := ini.ReadInteger('ThreadList', 'BBSSortIndex', 0);
1210 FBBSSortOrder := ini.ReadBool('ThreadList', 'BBSSortOrder', True);
1211 FCategorySortIndex := ini.ReadInteger('ThreadList', 'CategorySortIndex', 0);
1212 FCategorySortOrder := ini.ReadBool('ThreadList', 'CategorySortOrder', True);
1213 FBoardSortIndex := ini.ReadInteger('ThreadList', 'BoardSortIndex', 0);
1214 FBoardSortOrder := ini.ReadBool('ThreadList', 'BoardSortOrder', True);
1215 // DL
\8cã
\82Ì
\8e©
\93®
\83\
\81[
\83g
1216 FAutoSortThreadList := ini.ReadBool('ThreadList', 'AutoSort', False);
1217 //Dat
\97\8e\82¿
\83X
\83\8c\83\
\81[
\83g
\8f\87
1218 FDatOchiSortIndex := ini.ReadInteger('ThreadList', 'DatOchiSortIndex', -1);
1219 FDatOchiSortOrder := ini.ReadBool('ThreadList', 'DatOchiSortOrder', False);
1221 //
\8f\91\82«
\8d\9e\82Ý
\8e\9e\83}
\83V
\83\93\8e\9e\8d\8f\8eg
\97p
\90Ý
\92è
1222 FUseMachineTime := ini.ReadBool('PostTime', 'UseMachineTime', False);
1223 FTimeAdjustSec := ini.ReadInteger('PostTime', 'TimeAdjustSec', 0);
1224 FTimeAdjust := ini.ReadBool('PostTime', 'TimeAdjust', True);
1226 //
\83T
\83E
\83\93\83h
1227 if Exists then begin
1228 SetCurrentDir(ExtractFilePath(Application.ExeName));
1229 for i := 0 to GetSoundCount - 1 do begin
1230 SoundFileName[i] := ini.ReadString('Sound', SoundName[i], '');
1231 //
\91\8a\91Î
\8eQ
\8fÆ
\91Î
\8dô
1232 //
\83t
\83@
\83C
\83\8b\82Ì
\91¶
\8dÝ
\83`
\83F
\83b
\83N
1233 if not FileExists(ExpandFileName(SoundFileName[i])) then begin
1234 SoundFileName[i] := '';
1239 SoundFileName[0] := s + '
\8eæ
\93¾
\90¬
\8c÷.wav';
1240 SoundFileName[1] := s + '
\8eæ
\93¾
\90¬
\8c÷(
\8d·
\95ª).wav';
1241 SoundFileName[2] := s + '
\96¢
\8dX
\90V.wav';
1242 SoundFileName[3] := '';
1243 SoundFileName[4] := s + '
\83G
\83\89\81[.wav';
1246 //
\83N
\81[
\83\8b\83o
\81[
1247 for i := 0 to MAIN_COOLBAND_COUNT - 1 do begin
1248 CoolSet.FCoolID := ini.ReadInteger('MainCoolBar', 'ID' + IntToStr(i), -1);
1249 CoolSet.FCoolWidth := ini.ReadInteger('MainCoolBar', 'Width' + IntToStr(i), -1);
1250 CoolSet.FCoolBreak := ini.ReadBool('MainCoolBar', 'Break' + IntToStr(i), False);
1251 MainCoolSet[i] := CoolSet;
1253 FSelectComboBoxWidth := ini.ReadInteger( 'ListCoolBar', 'SelectWidth', 127 );
1254 for i := 0 to LIST_COOLBAND_COUNT - 1 do begin
1255 CoolSet.FCoolID := ini.ReadInteger('ListCoolBar', 'ID' + IntToStr(i), -1);
1256 CoolSet.FCoolWidth := ini.ReadInteger('ListCoolBar', 'Width' + IntToStr(i), -1);
1257 CoolSet.FCoolBreak := ini.ReadBool('ListCoolBar', 'Break' + IntToStr(i), False);
1258 ListCoolSet[i] := CoolSet;
1260 for i := 0 to BROWSER_COOLBAND_COUNT - 1 do begin
1261 CoolSet.FCoolID := ini.ReadInteger('BrowserCoolBar', 'ID' + IntToStr(i), -1);
1262 CoolSet.FCoolWidth := ini.ReadInteger('BrowserCoolBar', 'Width' + IntToStr(i), -1);
1263 CoolSet.FCoolBreak := ini.ReadBool('BrowserCoolBar', 'Break' + IntToStr(i), False);
1264 BrowserCoolSet[i] := CoolSet;
1268 FAbonDeleterlo := ini.ReadBool('Abon','Deleterlo',false);
1269 FAbonReplaceul := ini.ReadBool('Abon','Replaceul',false);
1270 FPopUpAbon := ini.ReadBool('Abon','Popup',false);
1271 FShowNGLinesNum := ini.ReadBool('Abon','ShowNGLines',false);
1272 FAddResAnchor := ini.ReadBool('Abon','AddResAnchor',false);
1273 FDeleteSyria := ini.ReadBool('Abon','DeleteSyria',false);
1274 FIgnoreKana := ini.ReadBool('Abon','IgnoreKana',false);
1277 FSpaceToNBSP := ini.ReadBool( 'Editor', 'SpaceToNBSP', False );
1278 FAmpToCharRef := ini.ReadBool( 'Editor', 'AmpToCharRef', False );
1279 FUseGobakuCheck := ini.ReadBool( 'Editor', 'UseGobakuCheck', True );
1281 //Tab
\8e©
\93®
\95Û
\91¶
\81A
\93Ç
\82Ý
\8d\9e\82Ý
1282 FTabAutoLoadSave := ini.ReadBool('TabAuto', 'TabAutoLoadSave', False);
1283 FLastCloseTabURL := ini.ReadString('Thread', 'LastCloseTabURL', '');
1284 FKuroutSettingTabIndex := ini.ReadInteger('OptionDialog', 'KuroutTabIndex' , 0);
1286 //
\83}
\83E
\83X
\83W
\83F
\83X
\83`
\83\83\81[
1287 FGestureEnabled := ini.ReadBool( 'Guesture', 'Enabled', False );
1288 FGestureIgnoreContext := ini.ReadBool( 'Guesture', 'IgnoreContext', False );
1289 //2ch
\8c¾
\8cê
\83T
\83|
1290 F2chSupport := ini.ReadBool('2chSupport', 'Support', False);
1293 FLocalTrapAtt := ini.ReadBool('Trap', 'LocalTrap', False);
1294 FRemoteTrapAtt := ini.ReadBool('Trap', 'RemoteTrap', False);
1295 FReadTimeOut := ini.ReadInteger('HTTP', 'ReadTimeOut', 10000);
1297 //
\8eg
\97p
\82·
\82é
\83X
\83p
\83\80\83t
\83B
\83\8b\83^
1298 FSpamFilterAlgorithm := TGikoSpamFilterAlgorithm(
1299 ini.ReadInteger( 'Abon', 'SpamFilterAlgorithm', Ord( gsfaNone ) ) );
1300 FMute := ini.ReadBool('Function', 'Mute', false);
1301 FUseUndecided := ini.ReadBool('ThreadList', 'UseUndecided', False);
1304 //
\94F
\8fØ
\97p
\83\86\81[
\83UID
\81E
\94F
\8fØ
\83R
\81[
\83h
1305 FBeUserID := ini.ReadString('Be', 'UserID', '');
1306 FBeCode := Decrypt(ini.ReadString('Be', 'Code', ''));
1307 FBeAutoLogin := ini.ReadBool('Be', 'AutoLogin', False);
1308 //
\97\9a\97ð
\82Ì
\8dÅ
\91å
\95Û
\91¶
\8c\8f\90\94
1309 FMaxRecordCount := Max(ini.ReadInteger('Recode', 'Max', 100), 1);
1311 //
\93ü
\97Í
\83A
\83V
\83X
\83g
1312 FInputAssistFormTop := ini.ReadInteger('IAtWindowsSize', 'Top', 0);
1313 FInputAssistFormLeft := ini.ReadInteger('IAtWindowsSize', 'Left', 0);
1314 FInputAssistFormWidth := ini.ReadInteger('IAtWindowsSize', 'Width', 400);
1315 FInputAssistFormHeight := ini.ReadInteger('IAtWindowsSize', 'Height', 460);
1317 // Cookie
\82É
\95t
\89Á
\82·
\82é
\8cÅ
\92è
\83R
\81[
\83h
1318 FFixedCookie := ini.ReadString('Cookie', 'fixedString', FIXED_COOKIE);
1320 //
\83\8a\83\93\83N
\88Ú
\93®
\97\9a\97ð
\82Ì
\8dÅ
\91å
\95Û
\8e\9d\90\94
1321 FMoveHistorySize := ini.ReadInteger('MoveHisotry', 'Max', 20);
1323 FStoredTaskTray := ini.ReadBool('Function', 'StroedTaskTray', false);
1324 FLoopBrowserTabs := ini.ReadBool('Function', 'LoopBrowserTabs', false);
1325 FAddKeywordLink := ini.ReadBool('Thread', 'AddKeywordLink', false);
1326 if not (ini.ValueExists('Thread', 'ReplaceDat')) then begin
1327 msg := '
\83Z
\83L
\83\85\83\8a\83e
\83B
\83\
\83t
\83g
\82Ì
\8cë
\94½
\89\9e\91Î
\8dô
\82ð
\82µ
\82Ü
\82·
\82©
\81H'+ #13#10 +
1328 '
\81i
\90\84\8f§:
\82Í
\82¢
\81j'+ #13#10+'
\8fÚ
\8d×
\90Ý
\92è
\82©
\82ç
\95Ï
\8dX
\82Å
\82«
\82Ü
\82·
\81B';
1329 if MsgBox(Application.Handle,
1330 msg, '
\83M
\83R
\83i
\83r', MB_YESNO or MB_ICONQUESTION) = IDYES then begin
1331 FReplaceDat := True;
1334 FReplaceDat := ini.ReadBool('Thread', 'ReplaceDat', False);
1337 FSentIniFileSize := ini.ReadInteger('Function', 'SentIniFileSize', 3);
1338 FExtList := ini.ReadString('Function', 'ExtList', '*.gif;*.jpg;*.jpeg;*.png;*.zip;*.rar');
1340 FCheckDatFile := ini.ReadBool('ThreadList', 'CheckDatFile', True);
1341 FLimitResCountMessage := ini.ReadBool('Thread', 'LimitResCountMessage', True);
1345 //
\83M
\83R
\83i
\83r
\8dX
\90V
\82Å
\97\98\97p
\82µ
\82½
\83C
\83\93\83X
\83g
\81[
\83\89\82Ì
\8dí
\8f\9c
1346 s := ini.ReadString('Update', 'Remove0', '');
1347 if (FileExists(s)) then begin
1348 SysUtils.DeleteFile(s);
1349 //
\8dí
\8f\9c\82É
\8e¸
\94s
\82µ
\82Ä
\82à
\96³
\8e\8b\82·
\82é
1350 ini.DeleteKey('Update', 'Remove0');
1358 //
\94Â
\8dX
\90V
\97pURL
\93Ç
\82Ý
\8d\9e\82Ý
1359 procedure TSetting.ReadBoardURLsFile();
1365 if not FileExists(GetBoardURLFileName()) then
1367 ini := TMemIniFile.Create(GetBoardURLFileName());
1369 urlNum := ini.ReadInteger('URL','count',0);
1370 BoardURLSelected := ini.ReadInteger('URL','selected',0);
1371 for i := 0 to urlNum - 1 do begin
1372 FBoardURLs.Append(ini.ReadString('URL',IntToStr(i+1),''));
1379 //
\90Ý
\92è
\83t
\83@
\83C
\83\8b\95Û
\91¶(system)
1380 procedure TSetting.WriteSystemSettingFile();
1384 ini := TMemIniFile.Create(GetFileName());
1386 //
\8eó
\90M
\83o
\83b
\83t
\83@
\83T
\83C
\83Y
1387 ini.WriteInteger('HTTP', 'RecvBufferSize', FRecvBufferSize);
1389 ini.WriteBool('HTTP', 'Protocol', FProtocol);
1390 //
\83v
\83\8d\83L
\83V
\90Ú
\91±HTTP1.1
\8eg
\97p
1391 ini.WriteBool('HTTP', 'ProxyProtocol', FProxyProtocol);
1393 ini.WriteBool('ReadProxy', 'Proxy', FReadProxy);
1394 ini.WriteString('ReadProxy', 'Address', FReadProxyAddress);
1395 ini.WriteInteger('ReadProxy', 'Port', FReadProxyPort);
1396 ini.WriteString('ReadProxy', 'UserID', FReadProxyUserID);
1397 ini.WriteString('ReadProxy', 'Password', FReadProxyPassword);
1399 ini.WriteBool('WriteProxy', 'Proxy', FWriteProxy);
1400 ini.WriteString('WriteProxy', 'Address', FWriteProxyAddress);
1401 ini.WriteInteger('WriteProxy', 'Port', FWriteProxyPort);
1402 ini.WriteString('WriteProxy', 'UserID', FWriteProxyUserID);
1403 ini.WriteString('WriteProxy', 'Password', FWriteProxyPassword);
1405 ini.WriteString('Window', 'BrowserFontName', FBrowserFontName);
1406 ini.WriteInteger('Window', 'BrowserFontSize', FBrowserFontSize);
1407 ini.WriteInteger('Window', 'BrowserFontSize', FBrowserFontSize);
1408 ini.WriteInteger('Window', 'BrowserFontBold', FBrowserFontBold);
1409 ini.WriteInteger('Window', 'BrowserFontItalic', FBrowserFontItalic);
1410 ini.WriteInteger('Window', 'BrowserFontColor', FBrowserFontColor);
1411 ini.WriteInteger('Window', 'BrowserBackColor', FBrowserBackColor);
1413 ini.WriteString('Window', 'CabinetFontName', FCabinetFontName);
1414 ini.WriteInteger('Window', 'CabinetFontSize', FCabinetFontSize);
1415 ini.WriteString('Window', 'CabinetFontColor', ColorToString(FCabinetFontColor));
1416 ini.WriteBool('Window', 'CabinetFontBold', FCabinetFontBold);
1417 ini.WriteBool('Window', 'CabinetFontItalic', FCabinetFontItalic);
1418 ini.WriteString('Window', 'CabinetBackColor', ColorToString(FCabinetBackColor));
1420 ini.WriteString('Window', 'ListFontName', FListFontName);
1421 ini.WriteInteger('Window', 'ListFontSize', FListFontSize);
1422 ini.WriteString('Window', 'ListFontColor', ColorToString(FListFontColor));
1423 ini.WriteString('Window', 'ListBackColor', ColorToString(FListBackColor));
1424 ini.WriteBool('Window', 'ListFontBold', FListFontBold);
1425 ini.WriteBool('Window', 'ListFontItalic', FListFontItalic);
1426 ini.WriteBool('Window','UseOddColor',FUseOddColorOddResNum);
1427 ini.WriteString('Window', 'OddColor',ColorToString(FOddColor));
1428 ini.WriteBool('Window','UnFocusedBold', FUnFocusedBold);
1430 ini.WriteString('Window', 'EditorFontName', FEditorFontName);
1431 ini.WriteInteger('Window', 'EditorFontSize', FEditorFontSize);
1432 ini.WriteString('Window', 'EditorFontColor', ColorToString(FEditorFontColor));
1433 ini.WriteString('Window', 'EditorBackColor', ColorToString(FEditorBackColor));
1435 ini.WriteString('Window', 'BrowserTabFontName', FBrowserTabFontName);
1436 ini.WriteInteger('Window', 'BrowserTabFontSize', FBrowserTabFontSize);
1437 ini.WriteBool('Window', 'BrowserTabFontBold', FBrowserTabFontBold);
1438 ini.WriteBool('Window', 'BrowserTabFontItalic', FBrowserTabFontItalic);
1440 ini.WriteString('Window', 'HintFontName', FHintFontName);
1441 ini.WriteInteger('Window', 'HintFontSize', FHintFontSize);
1442 ini.WriteString('Window', 'HintFontColor', ColorToString(FHintFontColor));
1443 ini.WriteString('Window', 'HintBackColor', ColorToString(FHintBackColor));
1451 //
\90Ý
\92è
\83t
\83@
\83C
\83\8b\95Û
\91¶(window)
1452 procedure TSetting.WriteWindowSettingFile();
1457 wkList : TStringList;
1459 ini := TMemIniFile.Create(GetFileName());
1461 ini.WriteInteger('WindowSize', 'Top', WindowTop);
1462 ini.WriteInteger('WindowSize', 'Left', WindowLeft);
1463 ini.WriteInteger('WindowSize', 'Height', WindowHeight);
1464 ini.WriteInteger('WindowSize', 'Width', WindowWidth);
1465 ini.WriteBool('WindowSize', 'Max', WindowMax);
1467 ini.WriteInteger('ViewStyle', 'ListView', Ord(ListStyle));
1469 ini.WriteInteger('EditorWindowSize', 'Top', EditWindowTop);
1470 ini.WriteInteger('EditorWindowSize', 'Left', EditWindowLeft);
1471 ini.WriteInteger('EditorWindowSize', 'Height', EditWindowHeight);
1472 ini.WriteInteger('EditorWindowSize', 'Width', EditWindowWidth);
1473 ini.WriteBool('EditorWindowSize', 'Max', EditWindowMax);
1474 ini.WriteBool('EditorWindowSize', 'Stay', EditWindowStay);
1475 ini.WriteBool('EditorWindowSize', 'Translucent', EditWindowTranslucent);
1477 ini.WriteInteger('OptionDialog', 'TabIndex', FOptionDialogTabIndex);
1479 //
\93ü
\97Í
\83A
\83V
\83X
\83g
1480 ini.WriteInteger('IAtWindowsSize', 'Top', FInputAssistFormTop);
1481 ini.WriteInteger('IAtWindowsSize', 'Left', FInputAssistFormLeft);
1482 ini.WriteInteger('IAtWindowsSize', 'Width', FInputAssistFormWidth);
1483 ini.WriteInteger('IAtWindowsSize', 'Height', FInputAssistFormHeight);
1485 //
\83c
\81[
\83\8b\83o
\81[
1486 ini.WriteBool('ToolBar', 'StdVisible', FStdToolBarVisible);
1487 ini.WriteBool('ToolBar', 'AddressVisible', FAddressBarVisible);
1488 ini.WriteBool('ToolBar', 'LinkVisible', FLinkBarVisible);
1489 ini.WriteBool('ToolBar', 'ListVisible', FListToolBarVisible);
1490 ini.WriteBool('ToolBar', 'ListNameVisible', FListNameBarVisible);
1491 ini.WriteBool('ToolBar', 'BrowserVisible', FBrowserToolBarVisible);
1492 ini.WriteBool('ToolBar', 'BrowserNameVisible', FBrowserNameBarVisible);
1493 //
\83c
\81[
\83\8b\83o
\81[Wrapable
1494 ini.WriteBool('ToolBar', 'ListWrapable', FListToolBarWrapable);
1495 ini.WriteBool('ToolBar', 'BrowserWrapable', FBrowserToolBarWrapable);
1498 ini.WriteBool('Tab', 'BrowserTabVisible', FBrowserTabVisible);
1499 ini.WriteInteger('Tab', 'BrowserTabPosition', Ord(FBrowserTabPosition));
1500 ini.WriteInteger('Tab', 'BrowserTabAppend', Ord(FBrowserTabAppend));
1501 ini.WriteInteger('Tab', 'BrowserTabStyle', Ord(FBrowserTabStyle));
1503 //
\83\81\83b
\83Z
\81[
\83W
\83o
\81[
1504 ini.WriteBool('MessageBar', 'Visible', FMessageBarVisible);
1505 ini.WriteInteger('MessageBar', 'Height', FMessegeBarHeight);
1507 //
\83X
\83e
\81[
\83^
\83X
\83o
\81[
1508 ini.WriteBool('StatusBar', 'Visible', FStatusBarVisible);
1510 //
\83L
\83\83\83r
\83l
\83b
\83g
1511 ini.WriteBool('Cabinet', 'Visible', FCabinetVisible);
1512 ini.WriteInteger('Cabinet', 'Width', FCabinetWidth);
1513 ini.WriteInteger('Cabinet', 'Index', FCabinetIndex);
1515 //
\83\8a\83X
\83g
\82Ì
\83T
\83C
\83Y
\82Æ
\90\82\92¼
\90\85\95½
1516 ini.WriteInteger('List', 'Orientation', Ord(FListOrientation));
1517 ini.WriteInteger('List', 'Height', FListHeight);
1518 ini.WriteInteger('List', 'HeightState', Ord(FListHeightState));
1519 ini.WriteInteger('List', 'Width', FListWidth);
1520 ini.WriteInteger('List', 'WidthState', Ord(FListWidthState));
1521 // ini.WriteBool('List', 'HeightMax', FListHeightMax);
1522 // ini.WriteBool('List', 'WidthMax', FListWidthMax);
1525 // ini.WriteInteger('Window', 'BrowserFontSize', BrowserFontSize);
1527 //
\83\8a\83X
\83g
\94Ô
\8d\86\95\
\8e¦
1528 ini.WriteBool('Function', 'ListViewNo', FListViewNo);
1530 ini.WriteBool('CSS', 'UseCSS', FUseCSS);
1531 //
\82©
\82µ
\82ã
\81`
\82µ
\82á
\82Ì
\83X
\83L
\83\93\82ð
\8eg
\82¤
\82©
1532 ini.WriteBool('CSS', 'UseKatjushaType', FUseKatjushaType);
1533 //CSS
\83t
\83@
\83C
\83\8b\96¼
1534 ini.WriteString('CSS', 'FileName', FSkinFiles.FileName);
1535 //Mail
\97\93\95\
\8e¦
1536 ini.WriteBool('Thread', 'ShowMail', FShowMail);
1537 //
\83\8c\83X
\95\
\8e¦
\94Í
\88Í
1538 ini.DeleteKey( 'Thread', 'OnlyAHundredRes' ); //
\8cÃ
\82¢
\90Ý
\92è
\82Ì
\8dí
\8f\9c
1539 ini.WriteInteger('Thread', 'ResRange', FResRange);
1540 ini.WriteBool('Thread', 'ResRangeHold', FResRangeHold);
1541 ini.WriteInteger('Thread', 'HeadResCount', FHeadResCount);
1542 ini.WriteInteger('Thread','ResRangeExCount', FResRangeExCount);
1543 //
\83X
\83\8c\83b
\83h
\88ê
\97\97\95\
\8e¦
\94Í
\88Í
1544 ini.WriteInteger('ThreadList', 'ThreadRange', Ord( FThreadRange ));
1545 //
\83\8d\83O
\8dí
\8f\9c\8am
\94F
1546 ini.WriteBool('Function', 'LogDeleteMessage', FDeleteMsg);
1548 ini.WriteBool('Function','ShowDialogForEnd',FShowDialogForEnd);
1550 ini.WriteBool('Function','ShowDialogForAllTabClose', FShowDialogForAllTabClose);
1552 ini.WriteBool('Function','UseSamba', FUseSamba);
1554 ini.WriteBool('Function', 'ResAnchoJamp', ResAnchorJamp);
1556 //
\94ñ
\83A
\83N
\83e
\83B
\83u
\8e\9e\83|
\83b
\83v
\83A
\83b
\83v
\95\
\8e¦
1557 ini.WriteBool('Thread', 'UnActivePopup', FUnActivePopup);
1558 //
\83\8c\83X
\83|
\83b
\83v
\83A
\83b
\83v
\83w
\83b
\83_
\81[
\83{
\81[
\83\8b\83h
1559 ini.WriteBool('Thread', 'ResPopupHeaderBold', FResPopupHeaderBold);
1560 //ini.WriteString('BoardURL', '2ch', FBoardURL2ch);
1562 //
\94F
\8fØ
\97p
\83\86\81[
\83UID
\81E
\83p
\83X
\83\8f\81[
\83h
1563 ini.WriteString('Attestation', 'UserID', FUserID);
1564 ini.WriteString('Attestation', 'Password', Encrypt(FPassword));
1565 ini.WriteBool('Attestation', 'AutoLogin', FAutoLogin);
1566 ini.WriteBool('Attestation', 'FForcedLogin', FForcedLogin);
1567 ini.WriteString('Attestation', 'FDolibURL', FDolibURL);
1569 //URL
\83N
\83\8a\83b
\83N
\8e\9e\8bN
\93®
\83A
\83v
\83\8a
1570 ini.WriteBool('URLApp', 'Select', FURLApp);
1571 ini.WriteString('URLApp', 'File', FURLAppFile);
1573 //mailto
\83N
\83\8a\83b
\83N
\8e\9e\93®
\8dì
1574 ini.WriteBool('Mailto', 'Open', FOpenMailer);
1576 //
\83|
\83b
\83v
\83A
\83b
\83v
\88Ê
\92u
1577 ini.WriteInteger('Browser', 'PopupPosition', Ord(FPopupPosition));
1578 ini.WriteInteger('Browser', 'RespopupDelteX', FRespopupDeltaX);
1579 ini.WriteInteger('Browser', 'RespopupDelteY', FRespopupDeltaY);
1580 ini.WriteInteger('Browser', 'RespopupWait', FRespopupWait);
1581 ini.WriteBool('Browser', 'RespopupMailTo', FRespopupMailTo);
1583 //
\83A
\83h
\83\8c\83X
\83o
\81[
1584 ini.WriteBool('AddressBar', 'URLDisplay', FURLDisplay);
1585 ini.WriteBool('AddressBar', 'TabStop', FAddressBarTabStop);
1586 ini.WriteBool('AddressBar', 'LinkAdd', FLinkAddAddressBar);
1587 ini.WriteInteger('AddressBar', 'HistoryCount', FAddressHistoryCount);
1589 //
\89æ
\91\9c\83v
\83\8c\83r
\83\85\81[
1590 ini.WriteBool('Browser', 'PreviewVisible', FPreviewVisible);
1591 ini.WriteInteger('Browser', 'PreviewSize', Ord(FPreviewSize));
1592 ini.WriteInteger('Browser', 'PreviewWait', FPreviewWait);
1594 ini.WriteInteger('Window', 'BrowserAutoMaximize', Ord( BrowserAutoMaximize ) );
1596 //
\83X
\83\8c\83b
\83h
\88ê
\97\97\8dX
\90V
\83A
\83C
\83R
\83\93
1597 ini.WriteBool('ThreadList', 'StateIconVisible', FListIconVisible);
1598 ini.WriteBool('ThreadList', 'CreationTimeLogs',FCreationTimeLogs);
1599 ini.WriteBool('ThreadList', 'FutureThread', FFutureThread);
1600 ini.WriteInteger('ThreadList', 'SelectInterval', FSelectInterval);
1601 //
\83\
\81[
\83g
\8f\87
1602 ini.WriteInteger('ThreadList', 'BBSSortIndex', FBBSSortIndex);
1603 ini.WriteBool('ThreadList', 'BBSSortOrder', FBBSSortOrder);
1604 ini.WriteInteger('ThreadList', 'CategorySortIndex', FCategorySortIndex);
1605 ini.WriteBool('ThreadList', 'CategorySortOrder', FCategorySortOrder);
1606 ini.WriteInteger('ThreadList', 'BoardSortIndex', FBoardSortIndex);
1607 ini.WriteBool('ThreadList', 'BoardSortOrder', FBoardSortOrder);
1608 ini.WriteInteger('ThreadList', 'DatOchiSortIndex', FDatOchiSortIndex);
1609 ini.WriteBool('ThreadList', 'DatOchiSortOrder', FDatOchiSortOrder);
1610 // DL
\8cã
\82Ì
\8e©
\93®
\83\
\81[
\83g
1611 ini.WriteBool('ThreadList', 'AutoSort', FAutoSortThreadList);
1613 //
\8f\91\82«
\8d\9e\82Ý
\8e\9e\83}
\83V
\83\93\8e\9e\8d\8f\8eg
\97p
\90Ý
\92è
1614 ini.WriteBool('PostTime', 'UseMachineTime', FUseMachineTime);
1615 ini.WriteInteger('PostTime', 'TimeAdjustSec', FTimeAdjustSec);
1616 ini.WriteBool('PostTime', 'TimeAdjust', FTimeAdjust);
1618 //
\83\8a\83X
\83g
\83J
\83\89\83\80\95\9d
1619 for i := 0 to Length(FBBSColumnWidth) - 1 do begin
1620 ini.WriteInteger('BBSColumnWidth', 'ID' + IntToStr(i), FBBSColumnWidth[i]);
1622 for i := 0 to Length(FCategoryColumnWidth) - 1 do begin
1623 ini.WriteInteger('CategoryColumnWidth', 'ID' + IntToStr(i), FCategoryColumnWidth[i]);
1625 for i := 0 to Length(FBoardColumnWidth) - 1 do begin
1626 ini.WriteInteger('BoardColumnWidth', 'ID' + IntToStr(i), FBoardColumnWidth[i]);
1629 wkList := TStringList.Create;
1631 //
\83J
\83e
\83S
\83\8a\83\8a\83X
\83g
\8f\87\8f\98
1632 ini.ReadSection( 'BBSColumnOrder', wkList );
1633 for i := wkList.Count - 1 downto 0 do
1634 ini.DeleteKey( 'BBSColumnOrder', wkList[ i ] );
1635 for i := 0 to FBBSColumnOrder.Count - 1 do
1636 ini.WriteInteger( 'BBSColumnOrder', 'ID' + IntToStr( i ), Ord( FBBSColumnOrder[ i ] ) );
1638 //
\94Â
\83\8a\83X
\83g
\8f\87\8f\98
1639 ini.ReadSection( 'CategoryColumnOrder', wkList );
1640 for i := wkList.Count - 1 downto 0 do
1641 ini.DeleteKey( 'CategoryColumnOrder', wkList[ i ] );
1642 for i := 0 to FCategoryColumnOrder.Count - 1 do
1643 ini.WriteInteger( 'CategoryColumnOrder', 'ID' + IntToStr( i ), Ord( FCategoryColumnOrder[ i ] ) );
1645 //
\83X
\83\8c\83\8a\83X
\83g
\8f\87\8f\98
1646 ini.ReadSection( 'BoardColumnOrder', wkList );
1647 for i := wkList.Count - 1 downto 0 do
1648 ini.DeleteKey( 'BoardColumnOrder', wkList[ i ] );
1649 for i := 0 to FBoardColumnOrder.Count - 1 do
1650 ini.WriteInteger( 'BoardColumnOrder', 'ID' + IntToStr( i ), Ord( FBoardColumnOrder[ i ] ) );
1655 //
\83T
\83E
\83\93\83h
1656 for i := 0 to GetSoundCount - 1 do begin
1657 if not FileExists(SoundFileName[i]) then
1658 SoundFileName[i] := '';
1659 ini.WriteString('Sound', SoundName[i], SoundFileName[i]);
1663 ini.EraseSection('MainCoolBar');
1664 for i := 0 to MAIN_COOLBAND_COUNT - 1 do begin
1665 CoolSet := MainCoolSet[i];
1666 ini.WriteInteger('MainCoolBar', 'ID' + IntToStr(i), CoolSet.FCoolID);
1667 ini.WriteInteger('MainCoolBar', 'Width' + IntToStr(i), CoolSet.FCoolWidth);
1668 ini.WriteBool('MainCoolBar', 'Break' + IntToStr(i), CoolSet.FCoolBreak);
1670 ini.EraseSection('ListCoolBar');
1671 ini.WriteInteger( 'ListCoolBar', 'SelectWidth', FSelectComboBoxWidth );
1672 for i := 0 to LIST_COOLBAND_COUNT - 1 do begin
1673 CoolSet := ListCoolSet[i];
1674 ini.WriteInteger('ListCoolBar', 'ID' + IntToStr(i), CoolSet.FCoolID);
1675 ini.WriteInteger('ListCoolBar', 'Width' + IntToStr(i), CoolSet.FCoolWidth);
1676 ini.WriteBool('ListCoolBar', 'Break' + IntToStr(i), CoolSet.FCoolBreak);
1678 ini.EraseSection('BrowserCoolBar');
1679 for i := 0 to BROWSER_COOLBAND_COUNT - 1 do begin
1680 CoolSet := BrowserCoolSet[i];
1681 ini.WriteInteger('BrowserCoolBar', 'ID' + IntToStr(i), CoolSet.FCoolID);
1682 ini.WriteInteger('BrowserCoolBar', 'Width' + IntToStr(i), CoolSet.FCoolWidth);
1683 ini.WriteBool('BrowserCoolBar', 'Break' + IntToStr(i), CoolSet.FCoolBreak);
1687 ini.WriteBool('Abon','Deleterlo',FAbonDeleterlo);
1688 ini.WriteBool('Abon','Replaceul',FAbonReplaceul);
1689 ini.WriteBool('Abon','Popup',FPopUpAbon);
1690 ini.WriteBool('Abon','ShowNGLines',FShowNGLinesNum);
1691 ini.WriteBool('Abon','AddResAnchor',FAddResAnchor);
1692 ini.WriteBool('Abon','DeleteSyria',FDeleteSyria);
1693 ini.WriteBool('Abon','IgnoreKana', FIgnoreKana);
1696 ini.WriteBool( 'Editor', 'SpaceToNBSP', FSpaceToNBSP );
1697 ini.WriteBool( 'Editor', 'AmpToCharRef', FAmpToCharRef );
1698 ini.WriteBool( 'Editor', 'UseGobakuCheck', FUseGobakuCheck );
1700 //
\83^
\83u
\8e©
\93®
\95Û
\91¶
1701 ini.WriteBool('TabAuto', 'TabAutoLoadSave', FTabAutoLoadSave);
1702 ini.WriteString('Thread', 'LastCloseTabURL', FLastCloseTabURL);
1704 ini.WriteInteger('OptionDialog', 'KuroutTabIndex', FKuroutSettingTabIndex);
1706 //
\82É
\82¿
\82á
\82ñ
\8cê
\88Ä
\93à
\8b@
\94\
1707 ini.WriteBool('2chSupport', 'Support', F2chSupport);
1709 //
\83}
\83E
\83X
\83W
\83F
\83X
\83`
\83\83\81[
\82ð
\8eg
\97p
\82·
\82é
\82©
\82Ç
\82¤
\82©
1710 ini.WriteBool( 'Guesture', 'Enabled', FGestureEnabled );
1711 ini.WriteBool( 'Guesture', 'IgnoreContext', FGestureIgnoreContext );
1713 ini.WriteBool('Trap', 'LocalTrap', FLocalTrapAtt);
1714 ini.WriteBool('Trap', 'RemoteTrap', FRemoteTrapAtt);
1715 ini.WriteInteger('HTTP', 'ReadTimeOut', FReadTimeOut);
1717 //
\8eg
\97p
\82·
\82é
\83X
\83p
\83\80\83t
\83B
\83\8b\83^
1718 ini.WriteInteger( 'Abon', 'SpamFilterAlgorithm', Ord( FSpamFilterAlgorithm ) );
1719 ini.WriteBool('Function', 'Mute', FMute);
1720 ini.WriteBool('ThreadList', 'UseUndecided', FUseUndecided);
1722 //
\94F
\8fØ
\97p
\83\86\81[
\83UID
\81E
\83p
\83X
\83\8f\81[
\83h
1723 ini.WriteString('Be', 'UserID', FBeUserID);
1724 ini.WriteString('Be', 'Code', Encrypt(FBeCode));
1725 ini.WriteBool('Be', 'AutoLogin', FBeAutoLogin);
1727 //
\97\9a\97ð
\82Ì
\8dÅ
\91å
\95Û
\91¶
\8c\8f\90\94
1728 ini.WriteInteger('Recode', 'Max', FMaxRecordCount);
1729 //
\8cÅ
\92è
\82ÌCookie
\95¶
\8e\9a\97ñ
1730 ini.WriteString('Cookie', 'fixedString', FFixedCookie);
1732 //
\83\8a\83\93\83N
\88Ú
\93®
\97\9a\97ð
\82Ì
\8dÅ
\91å
\95Û
\8e\9d\90\94
1733 ini.WriteInteger('MoveHisotry', 'Max', FMoveHistorySize);
1735 ini.WriteBool('Function', 'StroedTaskTray', FStoredTaskTray);
1736 ini.WriteBool('Function', 'LoopBrowserTabs', FLoopBrowserTabs);
1737 ini.WriteBool('Thread', 'AddKeywordLink', FAddKeywordLink);
1738 ini.WriteBool('Thread', 'ReplaceDat', FReplaceDat);
1739 ini.WriteInteger('Function', 'SentIniFileSize', FSentIniFileSize);
1740 ini.WriteString('Function', 'ExtList', FExtList);
1741 ini.WriteBool('ThreadList', 'CheckDatFile', FCheckDatFile);
1742 ini.WriteBool('Thread', 'LimitResCountMessage', FLimitResCountMessage);
1750 //
\90Ý
\92è
\83t
\83@
\83C
\83\8b\95Û
\91¶(name & mail)
1751 procedure TSetting.WriteNameMailSettingFile();
1756 ini := TMemIniFile.Create(GetFileName());
1758 ini.EraseSection('Name');
1759 ini.EraseSection('Mail');
1760 ini.EraseSection('SelectText');
1761 for i := 0 to FNameList.Count - 1 do begin
1762 ini.WriteString('Name', Format('%.2d', [i + 1]), FNameList[i]);
1766 for i := 0 to FMailList.Count - 1 do begin
1767 ini.WriteString('Mail', Format('%.2d', [i + 1]), FMailList[i]);
1771 for i := 0 to FSelectTextList.Count - 1 do begin
1772 ini.WriteString('SelectText', Format('%.2d', [i + 1]), FSelectTextList[i]);
1782 procedure TSetting.WriteFolderSettingFile();
1786 ini := TMemIniFile.Create(GetFileName());
1788 if GetAppDir + 'Log' = NewLogFolder then
1789 ini.DeleteKey('Folder', 'LogFolder')
1791 ini.WriteString('Folder', 'LogFolder', NewLogFolder);
1797 //
\94Â
\8dX
\90V
\97pBoardURL
\82ð
\95Û
\91¶
1798 procedure TSetting.WriteBoardURLSettingFile();
1804 ini := TMemIniFile.Create(GetBoardURLFileName());
1806 oldcount := ini.ReadInteger('URL','count',FBoardURLs.Count);
1807 ini.WriteInteger('URL','count',FBoardURLs.Count);
1808 ini.WriteInteger('URL','selected',BoardURLSelected);
1809 for i := 0 to FBoardURLs.Count -1 do begin
1810 ini.WriteString('URL',IntToStr(i+1),FBoardURLs.Strings[i]);
1812 if oldcount > FBoardURLs.Count then begin
1813 for i := FBoardURLs.Count to oldcount do begin
1814 ini.DeleteKey('URL',IntToStr(i+1));
1824 //
\83\8a\83X
\83g
\83J
\83\89\83\80\83w
\83b
\83_
\81[
1825 function TSetting.GetBBSColumnWidth(index: Integer): Integer;
1827 Result := IfThen(index in [0..Length(FBBSColumnWidth) - 1], FBBSColumnWidth[index], 0);
1830 function TSetting.GetCategoryColumnWidth(index: Integer): Integer;
1832 Result := IfThen(index in [0..Length(FCategoryColumnWidth) - 1], FCategoryColumnWidth[index], 0);
1835 function TSetting.GetBoardColumnWidth(index: Integer): Integer;
1837 Result := IfThen(index in [0..Length(FBoardColumnWidth) - 1], FBoardColumnWidth[index], 0);
1843 procedure TSetting.SetBBSColumnWidth(index: Integer; value: Integer);
1845 if index in [0..Length(FBBSColumnWidth) - 1] then
1846 FBBSColumnWidth[index] := value;
1849 procedure TSetting.SetCategoryColumnWidth(index: Integer; value: Integer);
1851 if index in [0..Length(FCategoryColumnWidth) - 1] then
1852 FCategoryColumnWidth[index] := value;
1855 procedure TSetting.SetBoardColumnWidth(index: Integer; value: Integer);
1857 if index in [0..Length(FBoardColumnWidth) - 1] then
1858 FBoardColumnWidth[index] := value;
1861 function TSetting.GetSoundCount: Integer;
1863 Result := Length(SOUND_NAME);
1866 function TSetting.GetSoundName(Index: Integer): string;
1868 if (Index < GetSoundCount) and (Index >= 0) then
1869 Result := SOUND_NAME[Index].Name
1874 function TSetting.GetSoundViewName(Index: Integer): string;
1876 if (Index < GetSoundCount) and (Index >= 0) then
1877 Result := SOUND_NAME[Index].ViewName
1882 function TSetting.GetSoundFileName(Index: Integer): string;
1884 if (Index < GetSoundCount) and (Index >= 0) then
1885 Result := SOUND_NAME[Index].FileName
1890 procedure TSetting.SetSoundFileName(Index: Integer; value: string);
1892 if (Index < GetSoundCount) and (Index >= 0) then
1893 SOUND_NAME[Index].FileName := value;
1896 function TSetting.FindSoundFileName(Name: string): string;
1900 for i := 0 to GetSoundCount - 1 do begin
1901 if SoundName[i] = Name then begin
1902 SysUtils.SetCurrentDir(GetAppDir);
1903 Result := ExpandFileName(SoundFileName[i]);
1910 function TSetting.Encrypt(s: string): string;
1912 cryptObj: THogeCryptAuto;
1913 inputStream, outputStream: TStringStream;
1915 inputStream := TStringStream.Create(s);
1916 outputStream := TStringStream.Create('');
1917 cryptObj := THogeCryptAuto.Create;
1920 cryptObj.Encrypt(inputStream, GIKO_ENCRYPT_TEXT, outputStream);
1922 //
\83o
\83C
\83i
\83\8a\82È
\82Ì
\82Å
\95K
\97v
\82É
\89\9e\82¶
\82Ä
\83e
\83L
\83X
\83g
\82É
\95Ï
\8a·
1923 Result := HogeBase64Encode(outputStream.DataString);
1931 function TSetting.Decrypt(s: string): string;
1933 cryptObj: THogeCryptAuto;
1934 inputStream, outputStream: TStringStream;
1937 inputStream := TStringStream.Create(HogeBase64Decode(s));
1942 outputStream := TStringStream.Create('');
1943 cryptObj := THogeCryptAuto.Create;
1946 cryptObj.Decrypt(inputStream, GIKO_ENCRYPT_TEXT, outputStream);
1947 Result := outputStream.DataString;
1955 function TSetting.GetMainCoolSet(Index: Integer): TCoolSet;
1957 if Index in [0..MAIN_COOLBAND_COUNT - 1] then
1958 Result := FMainCoolBar[Index]
1960 Result.FCoolID := -1;
1961 Result.FCoolWidth := -1;
1962 Result.FCoolBreak := False;
1966 function TSetting.GetBoardCoolSet(Index: Integer): TCoolSet;
1968 if Index in [0..LIST_COOLBAND_COUNT - 1] then
1969 Result := FListCoolBar[Index]
1971 Result.FCoolID := -1;
1972 Result.FCoolWidth := -1;
1973 Result.FCoolBreak := False;
1977 function TSetting.GetBrowserCoolSet(Index: Integer): TCoolSet;
1979 if Index in [0..BROWSER_COOLBAND_COUNT - 1] then
1980 Result := FBrowserCoolBar[Index]
1982 Result.FCoolID := -1;
1983 Result.FCoolWidth := -1;
1984 Result.FCoolBreak := False;
1988 procedure TSetting.SetMainCoolSet(Index: Integer; CoolSet: TCoolSet);
1990 if Index in [0..MAIN_COOLBAND_COUNT - 1] then
1991 FMainCoolBar[Index] := CoolSet;
1994 procedure TSetting.SetBoardCoolSet(Index: Integer; CoolSet: TCoolSet);
1996 if Index in [0..LIST_COOLBAND_COUNT - 1] then
1997 FListCoolBar[Index] := CoolSet;
2000 procedure TSetting.SetBrowserCoolSet(Index: Integer; CoolSet: TCoolSet);
2002 if Index in [0..BROWSER_COOLBAND_COUNT - 1] then
2003 FBrowserCoolBar[Index] := CoolSet;
2006 //url.ini
\82ª
\82È
\82¢
\82Æ
\82«
\82É
\90¶
\90¬
\82·
\82é
2007 procedure TSetting.MakeURLIniFile();
2011 ini := TMemIniFile.Create(GetBoardURLFileName());
2013 //
\8dX
\90VURL
\82Ì
\90\94
2014 ini.WriteInteger('URL','count',1);
2015 //
\83f
\83t
\83H
\83\8b\83g
\82Å
\8eg
\97p
\82·
\82é
\82t
\82q
\82k
\82Ì
\83C
\83\93\83f
\83b
\83N
\83X
2016 ini.WriteInteger('URL','selected',1);
2017 //
\88È
\89º
\95K
\97v
\82È
\90\94\82¾
\82¯
\81A
\8dX
\90V
\82t
\82q
\82k
\82ð
\92Ç
\89Á
2018 ini.WriteString('URL','1',DEFAULT_2CH_BOARD_URL1);
2019 //ini.WriteString('URL','2',DEFAULT_2CH_BOARD_URL2);
2026 (*************************************************************************
2027 *
\83{
\81[
\83h
\83t
\83@
\83C
\83\8b\96¼
\8eæ
\93¾
\81i
\83p
\83X
\81{
\83t
\83@
\83C
\83\8b\96¼
\81j
2028 *************************************************************************)
2029 function TSetting.GetBoardFileName: string;
2031 Result := GetConfigDir + BOARD_FILE_NAME;
2034 (*************************************************************************
2035 *
\83{
\81[
\83h
\83t
\83@
\83C
\83\8b\96¼
\8eæ
\93¾
\81i
\83p
\83X
\81{
\83t
\83@
\83C
\83\8b\96¼
\81j
2036 *************************************************************************)
2037 function TSetting.GetCustomBoardFileName: string;
2039 Result := GetConfigDir + CUSTOMBOARD_FILE_NAME;
2042 (*************************************************************************
2043 *
\83{
\81[
\83h
\83f
\83B
\83\8c\83N
\83g
\83\8a\8eæ
\93¾(\
\82Å
\8fI
\82í
\82é)
2044 *************************************************************************)
2045 function TSetting.GetBoardDir: string;
2047 Result := IncludeTrailingPathDelimiter(GetConfigDir + BOARD_DIR_NAME);
2050 (*************************************************************************
2051 *
\83e
\83\93\83|
\83\89\83\8a\83t
\83H
\83\8b\83_
\81[
\96¼
\8eæ
\93¾
2052 *************************************************************************)
2053 function TSetting.GetHtmlTempFileName: string;
2055 Result := TEMP_FOLDER;
2059 (*************************************************************************
2060 *
\8eÀ
\8ds
\83t
\83@
\83C
\83\8b\83t
\83H
\83\8b\83_
\8eæ
\93¾(
\8dÅ
\8cã
\82É\
\82ª
\82 \82é)
2061 *************************************************************************)
2062 function TSetting.GetAppDir: string;
2064 Result := ExtractFilePath(Application.ExeName);
2067 (*************************************************************************
2068 *TempHtml
\83t
\83@
\83C
\83\8b\96¼
\8eæ
\93¾
\81i
\83p
\83X
\81{
\83t
\83@
\83C
\83\8b\96¼
\81j
2069 *************************************************************************)
2070 function TSetting.GetTempFolder: string;
2072 Result := GetAppDir + TEMP_FOLDER;
2075 (*************************************************************************
2076 *sent.ini
\83t
\83@
\83C
\83\8b\96¼
\8eæ
\93¾
\81i
\83p
\83X
\81{
\83t
\83@
\83C
\83\8b\96¼
\81j
2077 *************************************************************************)
2078 function TSetting.GetSentFileName: string;
2080 Result := GetAppDir + SENT_FILE_NAME;
2083 (*************************************************************************
2084 *outbox.ini
\83t
\83@
\83C
\83\8b\96¼
\8eæ
\93¾
\81i
\83p
\83X
\81{
\83t
\83@
\83C
\83\8b\96¼
\81j
2085 *************************************************************************)
2086 function TSetting.GetOutBoxFileName: string;
2088 Result := GetAppDir + OUTBOX_FILE_NAME;
2091 (*************************************************************************
2092 *Config
\83t
\83H
\83\8b\83_
\8eæ
\93¾(\
\82Å
\8fI
\82í
\82é)
2093 *************************************************************************)
2094 function TSetting.GetConfigDir: string;
2096 Result := IncludeTrailingPathDelimiter(GetAppDir + CONFIG_DIR_NAME);
2098 (*************************************************************************
2099 *CSS
\83t
\83H
\83\8b\83_
\8eæ
\93¾(\
\82Å
\8fI
\82í
\82é)
2100 *************************************************************************)
2101 function TSetting.GetStyleSheetDir: string;
2103 Result := IncludeTrailingPathDelimiter(GetConfigDir + CSS_DIR_NAME);
2105 (*************************************************************************
2106 *skin
\83t
\83H
\83\8b\83_
\8eæ
\93¾(\
\82Å
\8fI
\82í
\82é)
2107 *************************************************************************)
2108 function TSetting.GetSkinDir: string;
2110 Result := IncludeTrailingPathDelimiter(GetConfigDir + SKIN_DIR_NAME);
2112 (*************************************************************************
2113 *NG
\83\8f\81[
\83h
\83f
\83B
\83\8c\83N
\83g
\83\8a\8eæ
\93¾(\
\82Å
\8fI
\82í
\82é)
2114 *************************************************************************)
2115 function TSetting.GetNGWordsDir: string;
2117 Result := IncludeTrailingPathDelimiter(GetConfigDir + NGWORDs_DIR_NAME);
2119 (*************************************************************************
2120 *Board
\83v
\83\89\83O
\83C
\83\93\83f
\83B
\83\8c\83N
\83g
\83\8a\8eæ
\93¾(\
\82Å
\8fI
\82í
\82é)
2121 *************************************************************************)
2122 function TSetting.GetBoardPlugInDir: string;
2124 Result := IncludeTrailingPathDelimiter(GetConfigDir + BOARD_PLUGIN_DIR_NAME);
2127 procedure TSetting.SetUseCSS( value: Boolean );
2131 // Windows
\93I
\82É
\83t
\83@
\83C
\83\8b\83p
\83X
\82Ì
\91å
\95¶
\8e\9a\8f¬
\95¶
\8e\9a\82Ì
\88á
\82¢
\82Í
\96³
\8e\8b\82³
\82ê
\82é
\82Ì
\82Å
\81A
2132 //
\83R
\83R
\82Å
\82Ì
\94»
\92è
\82Å
\82à
\91å
\95¶
\8e\9a\8f¬
\95¶
\8e\9a\82Ì
\88á
\82¢
\82Í
\96³
\8e\8b\82·
\82é
\81B
2135 (Pos( AnsiLowerCase(GetSkinDir), AnsiLowerCase(FSkinFiles.FileName) ) > 0) and
2136 FileExists( FSkinFiles.GetSkinHeaderFileName );
2140 procedure TSetting.SetCSSFileName( fileName: string );
2142 FSkinFiles.FileName := fileName;
2143 // Windows
\93I
\82É
\83t
\83@
\83C
\83\8b\83p
\83X
\82Ì
\91å
\95¶
\8e\9a\8f¬
\95¶
\8e\9a\82Ì
\88á
\82¢
\82Í
\96³
\8e\8b\82³
\82ê
\82é
\82Ì
\82Å
\81A
2144 //
\83R
\83R
\82Å
\82Ì
\94»
\92è
\82Å
\82à
\91å
\95¶
\8e\9a\8f¬
\95¶
\8e\9a\82Ì
\88á
\82¢
\82Í
\96³
\8e\8b\82·
\82é
\81B
2147 (Pos( AnsiLowerCase(GetSkinDir), AnsiLowerCase(FSkinFiles.FileName) ) > 0) and
2148 FileExists( FSkinFiles.GetSkinHeaderFileName );
2151 (*************************************************************************
2152 *samba
\90Ý
\92è
\83t
\83@
\83C
\83\8b\96¼
\8eæ
\93¾
2153 *************************************************************************)
2154 function TSetting.GetSambaFileName: string;
2156 Result := GetAppDir + SAMBATIME_FILE_NAME;
2158 //
\94Â
\8dX
\90V
\8f\9c\8aO
\83J
\83e
\83S
\83\8a\83\8a\83X
\83g
\95Û
\91¶
\83t
\83@
\83C
\83\8b
2159 function TSetting.GetIgnoreFileName: string;
2161 Result := GetConfigDir + IGNORE_FILE_NAME;
2164 //!
\83}
\83E
\83X
\83W
\83F
\83X
\83`
\83\83\81[
\83t
\83@
\83C
\83\8b\83p
\83X
2165 function TSetting.GetGestureFileName: string;
2167 Result := GetConfigDir + GESTURE_FILE_NAME;
2170 //!
\83X
\83p
\83\80\83t
\83B
\83\8b\83^
\8aw
\8fK
\97\9a\97ð
\83t
\83@
\83C
\83\8b\83p
\83X
2171 function TSetting.GetSpamFilterFileName: string;
2173 Result := GetConfigDir + SPAMFILTER_FILE_NAME;
2176 function TSetting.GetLanguageFileName: string;
2178 Result := GetConfigDir + LANGUAGE_FILE_NAME;
2180 procedure TSetting.WriteLogFolder(AVal : String);
2183 FLogFolderP := IncludeTrailingPathDelimiter(LogFolder);
2185 function TSetting.GetMainKeyFileName: String;
2187 Result := GetConfigDir + KEY_SETTING_FILE_NAME;
2189 function TSetting.GetEditorKeyFileName: String;
2191 Result := GetConfigDir + EKEY_SETTING_FILE_NAME;
2193 function TSetting.GetInputAssistFileName : String;
2195 Result := GetConfigDir + INPUTASSIST_FILE_NAME;
2197 function TSetting.GetReplaceFileName: String;
2199 Result := GetConfigDir + REPLACE_FILE_NAME;
2201 function TSetting.GetExtprevieFileName: String;
2203 Result := GetConfigDir + EXT_PREVIEW_FILE_NAME;
2205 procedure TSetting.SetMoveHistorySize(AVal : Integer);
2207 if (AVal > 0) then begin
2208 FMoveHistorySize := AVal;
2212 \brief
\83v
\83\8d\83L
\83V
\90Ý
\92è
\93Ç
\82Ý
\8d\9e\82Ý
2213 \param memIni ini
\83t
\83@
\83C
\83\8b
2215 procedure TSetting.ReadProxySettings(memIni: TMemIniFile);
2217 READ_SECTION = 'ReadProxy';
2218 WRITE_SECTION= 'WriteProxy';
2219 PROXY_KEY = 'Proxy';
2220 ADDRE_KEY = 'Address';
2223 PASS_KEY = 'Password';
2225 if (memIni <> nil) then begin
2226 FReadProxy := memIni.ReadBool(READ_SECTION, PROXY_KEY, false);
2227 FReadProxyAddress := memIni.ReadString(READ_SECTION, ADDRE_KEY, '');
2228 FReadProxyPort := memIni.ReadInteger(READ_SECTION, PORT_KEY, 0);
2229 FReadProxyUserID := memIni.ReadString(READ_SECTION, UID_KEY, '');
2230 FReadProxyPassword := memIni.ReadString(READ_SECTION, PASS_KEY, '');
2232 FWriteProxy := memIni.ReadBool(WRITE_SECTION, PROXY_KEY, false);
2233 FWriteProxyAddress := memIni.ReadString(WRITE_SECTION, ADDRE_KEY, '');
2234 FWriteProxyPort := memIni.ReadInteger(WRITE_SECTION, PORT_KEY, 0);
2235 FWriteProxyUserID := memIni.ReadString(WRITE_SECTION, UID_KEY, '');
2236 FWriteProxyPassword := memIni.ReadString(WRITE_SECTION, PASS_KEY, '');
2240 \brief
\8ae
\8eí
\83E
\83B
\83\93\83h
\83E
\90Ý
\92è
\93Ç
\82Ý
\8d\9e\82Ý
2241 \param menIni ini
\83t
\83@
\83C
\83\8b
2243 procedure TSetting.ReadWindowSettings(memIni: TMemIniFile);
2245 WINDOW_SECTION = 'Window';
2247 if (memIni <> nil) then begin
2248 FBrowserFontName := memIni.ReadString(WINDOW_SECTION, 'BrowserFontName', '');
2249 FBrowserFontSize := memIni.ReadInteger(WINDOW_SECTION, 'BrowserFontSize', 0);
2250 FBrowserFontBold := memIni.ReadInteger(WINDOW_SECTION, 'BrowserFontBold', 0);
2251 FBrowserFontItalic := memIni.ReadInteger(WINDOW_SECTION, 'BrowserFontItalic', 0);
2252 FBrowserFontColor := memIni.ReadInteger(WINDOW_SECTION, 'BrowserFontColor', -1);
2253 FBrowserBackColor := memIni.ReadInteger(WINDOW_SECTION, 'BrowserBackColor', -1);
2255 FCabinetFontName := memIni.ReadString(WINDOW_SECTION, 'CabinetFontName', DEFAULT_FONT_NAME);
2256 FCabinetFontSize := memIni.ReadInteger(WINDOW_SECTION, 'CabinetFontSize', DEFAULT_FONT_SIZE);
2257 FCabinetFontBold := memIni.ReadBool(WINDOW_SECTION, 'CabinetFontBold', False);
2258 FCabinetFontItalic := memIni.ReadBool(WINDOW_SECTION, 'CabinetFontItalic', False);
2259 FCabinetFontColor := StringToColor(memIni.ReadString(WINDOW_SECTION, 'CabinetFontColor', DEFAULT_FONT_COLOR));
2260 FCabinetBackColor := StringToColor(memIni.ReadString(WINDOW_SECTION, 'CabinetBackColor', DEFAULT_WINDOW_COLOR));
2262 FListFontName := memIni.ReadString(WINDOW_SECTION, 'ListFontName', DEFAULT_FONT_NAME);
2263 FListFontSize := memIni.ReadInteger(WINDOW_SECTION, 'ListFontSize', DEFAULT_FONT_SIZE);
2264 FListFontBold := memIni.ReadBool(WINDOW_SECTION, 'ListFontBold', False);
2265 FListFontItalic := memIni.ReadBool(WINDOW_SECTION, 'ListFontItalic', False);
2266 FListFontColor := StringToColor(memIni.ReadString(WINDOW_SECTION, 'ListFontColor', DEFAULT_FONT_COLOR));
2267 FListBackColor := StringToColor(memIni.ReadString(WINDOW_SECTION, 'ListBackColor', DEFAULT_WINDOW_COLOR));
2268 FUseOddColorOddResNum := memIni.ReadBool(WINDOW_SECTION,'UseOddColor', False);
2269 FOddColor := StringToColor(memIni.ReadString(WINDOW_SECTION, 'OddColor', DEFAULT_WINDOW_COLOR));
2270 FUnFocusedBold := memIni.ReadBool(WINDOW_SECTION,'UnFocusedBold', False);
2272 FEditorFontName := memIni.ReadString(WINDOW_SECTION, 'EditorFontName', DEFAULT_FONT_NAME);
2273 FEditorFontSize := memIni.ReadInteger(WINDOW_SECTION, 'EditorFontSize', DEFAULT_FONT_SIZE);
2274 FEditorFontBold := memIni.ReadBool(WINDOW_SECTION, 'EditorFontBold', False);
2275 FEditorFontItalic := memIni.ReadBool(WINDOW_SECTION, 'EditorFontItalic', False);
2276 FEditorFontColor := StringToColor(memIni.ReadString(WINDOW_SECTION, 'EditorFontColor', DEFAULT_FONT_COLOR));
2277 FEditorBackColor := StringToColor(memIni.ReadString(WINDOW_SECTION, 'EditorBackColor', DEFAULT_WINDOW_COLOR));
2279 FBrowserTabFontName := memIni.ReadString(WINDOW_SECTION, 'BrowserTabFontName', DEFAULT_TAB_FONT_NAME);
2280 FBrowserTabFontSize := memIni.ReadInteger(WINDOW_SECTION, 'BrowserTabFontSize', DEFAULT_TAB_FONT_SIZE);
2281 FBrowserTabFontBold := memIni.ReadBool(WINDOW_SECTION, 'BrowserTabFontBold', False);
2282 FBrowserTabFontItalic := memIni.ReadBool(WINDOW_SECTION, 'BrowserTabFontItalic', False);
2284 FHintFontName := memIni.ReadString(WINDOW_SECTION, 'HintFontName', Screen.HintFont.Name);
2285 FHintFontSize := memIni.ReadInteger(WINDOW_SECTION, 'HintFontSize', Screen.HintFont.Size);
2286 //FHintFontBold := memIni.ReadBool(WINDOW_SECTION, 'HintFontBold', False);
2287 //FHintFontItalic := memIni.ReadBool(WINDOW_SECTION, 'HintFontItalic', False);
2288 FHintFontColor := StringToColor(memIni.ReadString(WINDOW_SECTION, 'HintFontColor', DEFAULT_FONT_COLOR));
2289 FHintBackColor := StringToColor(memIni.ReadString(WINDOW_SECTION, 'HintBackColor', 'clInfoBk'));
2293 \brief
\93ü
\97Í
\97\9a\97ð
\93Ç
\82Ý
\8d\9e\82Ý
\81i
\8c\9f\8dõ
\81{
\83\81\81[
\83\8b\97\93\81{
\96¼
\91O
\81j
2294 \param memIni ini
\83t
\83@
\83C
\83\8b
2296 procedure TSetting.ReadInputHisotrys(memIni: TMemIniFile);
2298 SECTIONS : array[0..2] of string = ('Name', 'Mail', 'SelectText');
2300 wkList : TStringList;
2303 listArray : array[0..2] of TStringList;
2305 if (memIni <> nil) then begin
2306 listArray[0] := FNameList;
2307 listArray[1] := FMailList;
2308 listArray[2] := FSelectTextList;
2309 wkList := TStringList.Create;
2311 for i := 0 to High(listArray) do begin
2312 memIni.ReadSection(SECTIONS[i], wkList);
2313 for j := 0 to wkList.Count -1 do begin
2314 wkStr := memIni.ReadString(SECTIONS[i], wkList[j], '');
2315 if (wkStr <> '') and
2316 (listArray[i].IndexOf(wkStr) = -1) then begin
2317 listArray[i].Add(wkStr);
2327 \breif
\83\8a\83X
\83g
\83J
\83\89\83\80\95\9d\93Ç
\82Ý
\8d\9e\82Ý
2328 \param memIni ini
\83t
\83@
\83C
\83\8b
2330 procedure TSetting.ReadListColumnWidth(memIni: TMemIniFile);
2332 SECTIONS : array[0..2] of string =
2333 ('BBSColumnWidth', 'CategoryColumnWidth', 'BoardColumnWidth');
2334 DEFAULT_BBS_WIDTH: array[0..0] of Integer = (140);
2335 DEFAULT_CATEGORY_WIDTH: array[0..2] of Integer = (150, 80, 130);
2336 DEFAULT_BOARD_WIDTH: array[0..10] of Integer = (350, 60, 60, 60, 60, 60, 80, 130, 130, 130, 60);
2337 MAX_WIDTH: Integer = 2000;
2339 wkList : TStringList;
2342 if (memIni <> nil) then begin
2343 //
\83\8a\83X
\83g
\83J
\83\89\83\80\95\9d
2344 wkList := TStringList.Create;
2346 memIni.ReadSection(SECTIONS[0], wkList);
2347 if Length(FBBSColumnWidth) <> wkList.Count then begin
2348 memIni.EraseSection(SECTIONS[0]);
2350 for i := 0 to High(FBBSColumnWidth) do begin
2351 BBSColumnWidth[i] := memIni.ReadInteger(SECTIONS[0],
2352 'ID' + IntToStr(i), DEFAULT_BBS_WIDTH[i]);
2353 if BBSColumnWidth[i] > MAX_WIDTH then
2354 BBSColumnWidth[i] := DEFAULT_BBS_WIDTH[i];
2356 memIni.ReadSection(SECTIONS[1], wkList);
2357 if Length(FCategoryColumnWidth) <> wkList.Count then begin
2358 memIni.EraseSection(SECTIONS[1]);
2360 for i := 0 to High(FCategoryColumnWidth) do begin
2361 CategoryColumnWidth[i] := memIni.ReadInteger(SECTIONS[1],
2362 'ID' + IntToStr(i), DEFAULT_CATEGORY_WIDTH[i]);
2363 if CategoryColumnWidth[i] > MAX_WIDTH then
2364 CategoryColumnWidth[i] := DEFAULT_CATEGORY_WIDTH[i];
2366 memIni.ReadSection(SECTIONS[2], wkList);
2367 if Length(FBoardColumnWidth) <> wkList.Count then begin
2368 memIni.EraseSection(SECTIONS[2]);
2370 for i := 0 to High(FBoardColumnWidth) do begin
2371 BoardColumnWidth[i] := memIni.ReadInteger(SECTIONS[2],
2372 'ID' + IntToStr(i), DEFAULT_BOARD_WIDTH[i]);
2373 if BoardColumnWidth[i] > MAX_WIDTH then
2374 BoardColumnWidth[i] := DEFAULT_BOARD_WIDTH[i];
2381 //!
\83J
\83e
\83S
\83\8a\83\8a\83X
\83g
\83J
\83\89\83\80\8f\87\8f\98\93Ç
\82Ý
\8d\9e\82Ý
2382 procedure TSetting.ReadOrdColumn(memIni: TMemIniFile);
2384 wkList : TStringList;
2386 i, id, code : Integer;
2388 if (memIni <> nil) then begin
2389 wkList := TStringList.Create;
2391 memIni.ReadSection( 'BBSColumnOrder', wkList );
2392 for i := 0 to wkList.Count - 1 do begin
2393 wkStr := memIni.ReadString( 'BBSColumnOrder', 'ID' + IntToStr( i ), '' );
2394 Val( wkStr, id, code );
2396 FBBSColumnOrder.Add( TGikoBBSColumnID( id ) );
2398 if FBBSColumnOrder.Count = 0 then begin
2399 //
\90Ý
\92è
\82ª
\96³
\82¢
\82Ì
\82Å
\8dì
\90¬
2400 for i := 0 to Integer( High( TGikoBBSColumnID ) ) do
2401 FBBSColumnOrder.Add( TGikoBBSColumnID( i ) );
2404 memIni.ReadSection( 'CategoryColumnOrder', wkList );
2405 for i := 0 to wkList.Count - 1 do begin
2406 wkStr := memIni.ReadString( 'CategoryColumnOrder', 'ID' + IntToStr( i ), '' );
2407 Val( wkStr, id, code );
2409 FCategoryColumnOrder.Add( TGikoCategoryColumnID( id ) );
2411 if FCategoryColumnOrder.Count = 0 then begin
2412 //
\90Ý
\92è
\82ª
\96³
\82¢
\82Ì
\82Å
\8dì
\90¬
2413 for i := 0 to Integer( High( TGikoCategoryColumnID ) ) do
2414 FCategoryColumnOrder.Add( TGikoCategoryColumnID( i ) );
2417 memIni.ReadSection( 'BoardColumnOrder', wkList );
2418 for i := 0 to wkList.Count - 1 do begin
2419 wkStr := memIni.ReadString( 'BoardColumnOrder', 'ID' + IntToStr( i ), '' );
2420 Val( wkStr, id, code );
2422 FBoardColumnOrder.Add( TGikoBoardColumnID( id ) );
2424 if FBoardColumnOrder.Count = 0 then begin
2425 //
\90Ý
\92è
\82ª
\96³
\82¢
\82Ì
\82Å
\8dì
\90¬
2426 for i := 0 to Integer( High( TGikoBoardColumnID ) ) do begin
2427 //
\90¨
\82¢
\82Ì
\83J
\83\89\83\80\82Í
\83f
\83t
\83H
\83\8b\83g
\82Å
\94ñ
\95\
\8e¦
\82É
\82·
\82é
2428 if ( i <> Ord(gbcVigor) ) then begin
2429 FBoardColumnOrder.Add( TGikoBoardColumnID( i ) );
2439 function TSetting.GetCSSFileName: string;
2441 Result := FSkinFiles.FileName;