X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=AbonUnit.pas;h=7ed49585b7655987e7486bd5fa77d7adb8b3552f;hb=refs%2Fheads%2FBb58;hp=1a00c942640beed3cb1ec565462d7f633653f5ee;hpb=9e98a46e630cb0ceb1cde2f9ae91a4c0d011d14c;p=gikonavigoeson%2Fgikonavi.git diff --git a/AbonUnit.pas b/AbonUnit.pas index 1a00c94..7ed4958 100644 --- a/AbonUnit.pas +++ b/AbonUnit.pas @@ -1,3 +1,8 @@ +{ +NO_ABON ‚ ‚ځ[‚ñÏ‚݂̃ŒƒX‚à•\Ž¦‚·‚é(‹­’²‚³‚ê‚é) +SPAM_FILTER_ENABLED ƒXƒpƒ€ƒtƒBƒ‹ƒ^‚ð‹@”\‚³‚¹‚é +} + unit AbonUnit; interface @@ -5,536 +10,934 @@ uses Windows,Messages, ShellAPI, SysUtils, Classes,StdCtrls,StrUtils; type + TIndiviAbon = class( TObject ) + private + FRes: Integer; + FOption: Integer; // 0:“§–¾ 1:’ʏ킠‚ځ[‚ñ + public + property Res : Integer read FRes write FRes; + property Option : Integer read FOption write FOption; + end; + + TIndiviAbonList = class( TList ) + private + FFilePath : string; //!< ƒtƒ@ƒCƒ‹ƒpƒX + FLearned : Integer; //!< ƒXƒpƒ€ŠwKÏ‚݃ŒƒX No + + function GetItem( index : Integer ) : TIndiviAbon; + procedure SetItem( index : Integer; value : TIndiviAbon ); + + public + destructor Destroy; override; + + property Items[ index : Integer ] : TIndiviAbon + read GetItem write SetItem; default; + procedure Sort; overload; + procedure LoadFromFile( const filePath : string ); + procedure Save; + end; + TAbon = class(TObject) private - { Private éŒ¾ } - Froot : String; - FNGwordpath : String; - Ftokens : array of array of string; - FAbonString : String; - FRetStrings : TStringList; - FCutoffNum : Integer; //‚±‚̐”ˆÈã˜A‘±‚·‚铯‚¶‰pŽš‚ðNGƒ[ƒh‚Æ‚·‚é - FDeleterlo : Boolean; //&rlo;‚ðí‚é‚© - FReplaceul :Boolean ; //