X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fshared%2FCONFIG.pas;h=7ecc51e70fb180944e2dd2c36b48ce917bb3f1a3;hb=17560801e4b1071897d5e87c1fac53443b209596;hp=2d1a5f2ac1cacd1f2a666a96fb009fe804656d69;hpb=5472594f32e33da0c66606ec9eebc8f798ef6b54;p=d2df-sdl.git diff --git a/src/shared/CONFIG.pas b/src/shared/CONFIG.pas index 2d1a5f2..7ecc51e 100644 --- a/src/shared/CONFIG.pas +++ b/src/shared/CONFIG.pas @@ -13,7 +13,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . *) -{$MODE DELPHI} +{$INCLUDE a_modes.inc} unit CONFIG; { @@ -24,6 +24,9 @@ CONFIG.PAS interface +uses + mempool; + type TParam = record Param: ShortString; @@ -31,7 +34,7 @@ type Section: Word; end; - TConfig = class(TObject) + TConfig = class(TPoolObject) private FParams: array of TParam; FSections: array of ShortString; @@ -58,7 +61,7 @@ type implementation uses - SysUtils, BinEditor; + SysUtils, utils; { TConfig }