Changeset 5 for trunk/UCore.pas
- Timestamp:
- Sep 1, 2014, 7:26:35 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UCore.pas
r4 r5 15 15 TCore = class(TDataModule) 16 16 AAbout: TAction; 17 ACommandUpdate: TAction; 18 ACommandCleanup: TAction; 19 ACommandCheckout: TAction; 20 ACommandCommit: TAction; 21 ACommandStatus: TAction; 17 22 AProjectClose: TAction; 18 23 ActionList1: TActionList; … … 24 29 ImageList1: TImageList; 25 30 OpenDialog1: TOpenDialog; 31 procedure ACommandCheckoutExecute(Sender: TObject); 32 procedure ACommandCleanupExecute(Sender: TObject); 33 procedure ACommandCommitExecute(Sender: TObject); 34 procedure ACommandUpdateExecute(Sender: TObject); 26 35 procedure AProjectCloseExecute(Sender: TObject); 27 36 procedure AProjectOpenExecute(Sender: TObject); … … 89 98 end; 90 99 100 procedure TCore.ACommandUpdateExecute(Sender: TObject); 101 begin 102 Project.WorkingCopy.Update; 103 end; 104 105 procedure TCore.ACommandCleanupExecute(Sender: TObject); 106 begin 107 Project.WorkingCopy.CleanUp; 108 end; 109 110 procedure TCore.ACommandCheckoutExecute(Sender: TObject); 111 begin 112 Project.WorkingCopy.Checkout; 113 end; 114 115 procedure TCore.ACommandCommitExecute(Sender: TObject); 116 begin 117 Project.WorkingCopy.Commit; 118 end; 119 91 120 end. 92 121
Note:
See TracChangeset
for help on using the changeset viewer.