Просмотр исходного кода

* Add some constants for Delphi compatibility

Michaël Van Canneyt 1 год назад
Родитель
Сommit
44cf5d776f
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      rtl/objpas/rtlconst.inc

+ 5 - 0
rtl/objpas/rtlconst.inc

@@ -567,6 +567,11 @@ ResourceString
   SMsgDlgYes = '&Yes';
   SMsgDlgYesToAll = 'Yes to a&ll';
 
+  // Constants for Delphi compatibility
+  sAttributeExists = 'Attribute ''%s'' already exists';
+  sDeviceExists = 'Device ''%s'' already exists';
+  sCannotManuallyConstructDevice = 'Manual construction of TDeviceInfo is not supported'; 
+  SArgumentOutOfRange = 'Argument out of range';
 
 implementation