Move parsing to new class

This commit is contained in:
Matt Nadareski
2020-12-10 10:58:00 -08:00
parent 34b9005e58
commit 2ee6d13a77
16 changed files with 206 additions and 165 deletions

View File

@@ -705,7 +705,8 @@ CREATE TABLE IF NOT EXISTS dat (
// Parse the Dat if possible
logger.User($"Adding from '{dat.Name}'");
DatFile tempdat = DatFile.CreateAndParse(fullpath);
DatTool dt = new DatTool();
DatFile tempdat = dt.CreateAndParse(fullpath);
// If the Dat wasn't empty, add the information
SqliteCommand slc = null;