Changeset 34 for trunk/IDE/UApplicationInfo.pas
- Timestamp:
- Feb 13, 2012, 1:47:33 PM (13 years ago)
- Location:
- trunk/IDE
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IDE
- Property svn:ignore
-
old new 1 1 lib 2 2 backup 3 Transpascal.dbg 4 Transpascal.lps 5 Transpascal.exe
-
- Property svn:ignore
-
trunk/IDE/UApplicationInfo.pas
r24 r34 16 16 TApplicationInfo = class 17 17 private 18 function GetVersion: string;18 function GetVersion: string; 19 19 public 20 20 Name: string; … … 23 23 MinorVersion: Byte; 24 24 BugFixVersion: Byte; 25 VersionSufix: string; // alfa, beta, RC1, RC2, ... 25 26 CompanyName: string; 26 27 CompanyHomePage: string; 27 28 HomePage: string; 28 Author Name: string;29 AuthorsName: string; 29 30 EmailContact: string; 30 ReleaseDate: string; 31 ReleaseDate: TDateTime; 32 RegistryKey: string; 31 33 property Version: string read GetVersion; 32 34 end; … … 39 41 { TApplicationInfo } 40 42 41 function TApplicationInfo.GetVersion: string;43 function TApplicationInfo.GetVersion: string; 42 44 begin 43 Result := IntToStr(MajorVersion) + '.' + IntToStr(MinorVersion) + 44 '.' + IntToStr(BugFixVersion); 45 Result := IntToStr(MajorVersion) + '.' + IntToStr(MinorVersion); 46 if VersionSufix <> '' then Result := Result + ' ' + VersionSufix 47 else Result := Result + '.' + IntToStr(BugFixVersion); 45 48 end; 46 49 … … 52 55 Name := 'Transpascal IDE'; 53 56 Identification := 1; 54 ReleaseDate := '22.10.2010';57 ReleaseDate := EncodeDate(2012, 2, 13); 55 58 MajorVersion := 0; 56 59 MinorVersion := 1; 57 60 BugFixVersion := 0; 58 CompanyName := ''; 59 CompanyHomepage := ''; 60 HomePage := ''; 61 AuthorName := 'Chronos'; 62 EmailContact := ''; 61 VersionSufix := 'alfa'; 62 CompanyName := 'Chronosoft'; 63 CompanyHomepage := 'http://svn.zdechov.net/trac/LazFuck'; 64 HomePage := 'http://svn.zdechov.net/trac/LazFuck'; 65 AuthorsName := 'Chronos'; 66 EmailContact := 'robie@centrum.cz'; 67 RegistryKey := '\Software\Chronosoft\Transpascal'; 63 68 end; 64 69
Note:
See TracChangeset
for help on using the changeset viewer.