X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=AbonUnit.pas;h=7ed49585b7655987e7486bd5fa77d7adb8b3552f;hb=4e996b06dc4616d8c9bd469d5fec93cef695cd98;hp=3925ee37a61150146731d8068acd2f77d9be316c;hpb=cd03959a483d10653e7160654c3e871ca607b0c3;p=gikonavigoeson%2Fgikonavi.git diff --git a/AbonUnit.pas b/AbonUnit.pas index 3925ee3..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,83 +10,100 @@ uses Windows,Messages, ShellAPI, SysUtils, Classes,StdCtrls,StrUtils; type - TIndiviAbon = record - Res: Integer; - option: Integer; // 0:“§–¾ 1:’ʏ킠‚ځ[‚ñ - end; + 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; - Flistpath : String; - FNGwordpath : String; - Ftokens : array of array of string; - FAbonRes : array of TIndiviAbon; - FAbonString : String; -// FCutoffNum : Integer; //‚±‚̐”ˆÈã˜A‘±‚·‚铯‚¶‰pŽš‚ðNGƒ[ƒh‚Æ‚·‚é - FDeleterlo : Boolean; //&rlo;‚ðí‚é‚© //’ljÁ&lro;‚àí‚é - FReplaceul :Boolean ; //