Changeset 358
- Timestamp:
- May 2, 2012, 12:27:54 PM (13 years ago)
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
Common/StopWatch.pas
r252 r358 43 43 fIsHighResolution := QueryPerformanceFrequency(fFrequency) ; 44 44 {$ELSE} 45 raise Exception.Create('Not implemeneted');45 fIsHighResolution := False; 46 46 {$ENDIF} 47 47 if NOT fIsHighResolution then fFrequency := MSecsPerSec; … … 61 61 QueryPerformanceCounter(lInt) 62 62 {$ELSE} 63 raise Exception.Create('Not implemeneted')64 63 {$ENDIF} 65 64 else -
Common/UCommon.pas
r305 r358 45 45 function BCDToInt(Value: Byte): Byte; 46 46 function CompareByteArray(Data1, Data2: TArrayOfByte): Boolean; 47 {$IFDEF Windows}48 47 function GetUserName: string; 49 48 function LoggedOnUserNameEx(Format: TUserNameFormat): string; 50 {$ENDIF}51 49 function SplitString(var Text: string; Count: Word): string; 52 50 function GetBit(Variable: QWord; Index: Byte): Boolean; … … 285 283 L: LongWord; 286 284 begin 285 287 286 L := MAX_USERNAME_LENGTH + 2; 288 287 SetLength(Result, L); … … 317 316 end else Result := GetUserName; 318 317 end; 318 {$ELSE} 319 function GetUserName: string; 320 begin 321 Result := ''; 322 end; 323 324 function LoggedOnUserNameEx(Format: TUserNameFormat): string; 325 begin 326 Result := ''; 327 end; 328 319 329 {$ENDIF} 320 330 -
Generics/TemplateGenerics/Generic/GenericList.inc
r342 r358 24 24 FItems: array of TGListItem; 25 25 FCount: TGListIndex; 26 FUpdateCount: NativeInt;26 FUpdateCount: Integer; 27 27 FOnUpdate: TNotifyEvent; 28 28 function Get(Index: TGListIndex): TGListItem;
Note:
See TracChangeset
for help on using the changeset viewer.