- Timestamp:
- May 31, 2012, 6:26:07 AM (12 years ago)
- Location:
- Common
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Common/Common.lpk
r368 r369 21 21 <Description Value="Various libraries"/> 22 22 <License Value="GNU/GPL"/> 23 <Version Minor=" 5"/>23 <Version Minor="6"/> 24 24 <Files Count="13"> 25 25 <Item1> -
Common/UJobProgressView.pas
r368 r369 49 49 TJob = class 50 50 private 51 FResultString: string;52 51 FTerminate: Boolean; 53 52 procedure SetTerminate(const AValue: Boolean); … … 211 210 var 212 211 I: Integer; 213 H: Integer;214 212 begin 215 213 Terminate := False; … … 277 275 end; 278 276 Form.ProgressBarPart.Hide; 277 if Assigned(FOnJobFinish) then 278 FOnJobFinish(CurrentJob); 279 279 if Terminate then Break; 280 280 EndTime := Now; 281 281 Finished := True; 282 if Assigned(FOnJobFinish) then283 FOnJobFinish(CurrentJob);284 282 Inc(I); 285 283 end; … … 427 425 I: Integer; 428 426 begin 427 if AValue = FTerminate then Exit; 429 428 for I := 0 to Jobs.Count - 1 do 430 429 TJob(Jobs[I]).Terminate := AValue; … … 440 439 EstimatedTimePart: TDateTime; 441 440 RemainingTime: TDateTime; 442 LabelEstimatedTimePartCaption: string;443 LabelEstimatedTimePartVisible: Boolean;444 441 begin 445 442 if Assigned(CurrentJob) then … … 480 477 481 478 procedure TJobProgressView.ReloadJobList; 482 var483 OldImageIndex: Integer;484 479 begin 485 480 UpdateHeight; … … 593 588 if FTerminate = AValue then Exit; 594 589 FTerminate := AValue; 595 if Assigned(Thread) then Thread.Terminate; 590 if AValue then begin 591 ProgressView.Terminate := AValue; 592 if Assigned(Thread) then Thread.Terminate; 593 end; 596 594 end; 597 595 -
Common/ULastOpenedList.pas
r366 r369 91 91 with Registry do 92 92 try 93 RootKey := Root; 93 94 OpenKey(Key, True); 94 95 for I := 0 to Count - 1 do -
Common/UThreading.pas
r305 r369 164 164 procedure Synchronize(Method: TMethodCall); 165 165 var 166 I: Integer;167 166 Thread: TVirtualThread; 168 167 begin
Note:
See TracChangeset
for help on using the changeset viewer.