diff --git a/src/shared/CONFIG.pas b/src/shared/CONFIG.pas
index 2d1a5f2ac1cacd1f2a666a96fb009fe804656d69..4aa7e659b79a47c6d0351c4002533414dc0c3fc9 100644 (file)
--- a/src/shared/CONFIG.pas
+++ b/src/shared/CONFIG.pas
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*)
-{$MODE DELPHI}
+{$INCLUDE a_modes.inc}
unit CONFIG;
-{
------------------------------------
-CONFIG.PAS ÂÅÐÑÈß ÎÒ 24.09.06
------------------------------------
-}
-
interface
+{$IFDEF USE_MEMPOOL}
+uses
+ mempool;
+{$ENDIF}
+
type
TParam = record
Param: ShortString;
Section: Word;
end;
- TConfig = class(TObject)
+ TConfig = class{$IFDEF USE_MEMPOOL}(TPoolObject){$ENDIF}
private
FParams: array of TParam;
FSections: array of ShortString;
implementation
uses
- SysUtils, BinEditor;
+ SysUtils, utils;
{ TConfig }