X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=AbonUnit.pas;h=7ed49585b7655987e7486bd5fa77d7adb8b3552f;hb=refs%2Fheads%2FBb57;hp=9a93cb08aa0d01f9dc81cf45ea58fb1e4119c846;hpb=de2ee435d1cb9623055edc3b02c57fa4d3b5a488;p=gikonavigoeson%2Fgikonavi.git diff --git a/AbonUnit.pas b/AbonUnit.pas index 9a93cb0..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,496 +10,938 @@ 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‚Æ‚·‚é - procedure SetTokens(index: integer ; argline:String); - + { Private éŒ¾ } + Froot : String; + Flistpath : String; + FNGwordpath : String; + Ftokens : array of array of string; + FAbonRes : TIndiviAbonList; + FAbonString : String; + FpAbons : PChar; + FpAbone : PChar; + FDeleterlo : Boolean; //&rlo;‚ðí‚é‚© //’ljÁ&lro;‚àí‚é + FReplaceul :Boolean ; //