Changeset 4 for trunk/Units/UVCS.pas
- Timestamp:
- Sep 1, 2014, 7:10:03 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Units/UVCS.pas
r2 r4 9 9 10 10 type 11 12 { TWorkingCopy } 13 11 14 TWorkingCopy = class 12 Path: string; 15 private 16 FPath: string; 17 procedure SetPath(AValue: string); 18 public 19 procedure Checkout; virtual; 20 procedure Update; virtual; 21 procedure CleanUp; virtual; 22 procedure Commit; virtual; 23 procedure Move; virtual; 24 procedure Merge; virtual; 25 procedure Refresh; virtual; 26 property Path: string read FPath write SetPath; 13 27 end; 14 28 … … 17 31 end; 18 32 33 19 34 implementation 35 36 37 { TWorkingCopy } 38 39 procedure TWorkingCopy.SetPath(AValue: string); 40 begin 41 if FPath=AValue then Exit; 42 FPath := AValue; 43 Refresh; 44 end; 45 46 procedure TWorkingCopy.Checkout; 47 begin 48 49 end; 50 51 procedure TWorkingCopy.Update; 52 begin 53 54 end; 55 56 procedure TWorkingCopy.CleanUp; 57 begin 58 59 end; 60 61 procedure TWorkingCopy.Commit; 62 begin 63 64 end; 65 66 procedure TWorkingCopy.Move; 67 begin 68 69 end; 70 71 procedure TWorkingCopy.Merge; 72 begin 73 74 end; 75 76 procedure TWorkingCopy.Refresh; 77 begin 78 79 end; 20 80 21 81 end.
Note:
See TracChangeset
for help on using the changeset viewer.