/[msmoney_db_parser]/trunk/libmsmoneyfile/MSCF_Parser.cs
ViewVC logotype

Diff of /trunk/libmsmoneyfile/MSCF_Parser.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/libmsmoneyfile/MSCF_Parser.cs	2015/09/18 13:17:49	9
+++ trunk/libmsmoneyfile/MSCF_Parser.cs	2015/09/18 13:22:18	10
@@ -1,4 +1,6 @@
+//#define IGNORE_MSMONEY_BACKUP_FILE_HEADER // when defined the header of a MSMoney Backup file will be ingored
 using System;
+using Enterprise.Logging;
 
 namespace libmsmoneyfile
 {
@@ -6,7 +8,13 @@
 	{
 		public MSCF_Parser (IMSMoneyFile file)
 		{
+			gLog.Debug.WriteLine ("Parsing MSMoney Bakup file from file: {0}", file.File);
 			msmoney_file = file;
+	#if !IGNORE_MSMONEY_BACKUP_FILE_HEADER
+			// parse the msmoney backup file header
+			gLog.Debug.WriteLine ("Parsing MSMoney Bakup header from file: {0}", file.File);
+#endif
+			MSISAM_Parser parser = new MSISAM_Parser (file);
 		}
 
 		#region IMSMoneyParser members

 

  ViewVC Help
Powered by ViewVC 1.1.22