DEADSOFTWARE

cleanup: clean boot sequence
[d2df-sdl.git] / src / engine / e_log.pas
index 7159c18445614beaff3ba4fc3f534df33d2cf474..0dcb0986b57df31edeef14c6a45b778012daa197 100644 (file)
@@ -19,13 +19,14 @@ unit e_log;
 
 interface
 
-uses
-  SysUtils;
+  uses SysUtils;
 
-type
-  TWriteMode = (WM_NEWFILE,  WM_OLDFILE);
-  TMsgType = (Fatal, Warning, Notify);
+  type
+    TWriteMode = (WM_NEWFILE,  WM_OLDFILE);
+    TMsgType = (Fatal, Warning, Notify);
 
+  procedure e_Log_Initialize;
+  procedure e_Log_Finalize;
 
 procedure e_InitLog (fFileName: String; fWriteMode: TWriteMode);
 procedure e_DeinitLog ();
@@ -58,6 +59,16 @@ var
   driverInited: Boolean = false;
 
 
+  procedure e_Log_Initialize;
+  begin
+  end;
+
+  procedure e_Log_Finalize;
+  begin
+    e_DeinitLog
+  end;
+
+
 function DecodeIPV4 (ip: LongWord): string;
 begin
   Result := Format('%d.%d.%d.%d', [ip and $FF, (ip shr 8) and $FF, (ip shr 16) and $FF, (ip shr 24)]);