mirror of
https://github.com/claunia/apprepodbmgr.git
synced 2025-12-16 19:24:42 +00:00
Added fields to DB to store virus scanning and crack status of files.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
//
|
||||
//
|
||||
// Author:
|
||||
// Natalia Portillo claunia@claunia.com
|
||||
//
|
||||
@@ -786,7 +786,7 @@ public partial class dlgAdd : Dialog
|
||||
|
||||
long counter = 0;
|
||||
fileView.Clear();
|
||||
foreach(KeyValuePair<string, DBFile> kvp in Context.hashes)
|
||||
foreach(KeyValuePair<string, DBOSFile> kvp in Context.hashes)
|
||||
{
|
||||
UpdateProgress(null, "Updating table", counter, Context.hashes.Count);
|
||||
fileView.AppendValues(kvp.Key, kvp.Value.Sha256, true, "green", "black");
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//
|
||||
//
|
||||
// Author:
|
||||
// Natalia Portillo claunia@claunia.com
|
||||
//
|
||||
@@ -217,7 +217,7 @@ namespace osrepodbmgr
|
||||
|
||||
void FillFilesCombos()
|
||||
{
|
||||
foreach(KeyValuePair<string, DBFile> files in Context.hashes)
|
||||
foreach(KeyValuePair<string, DBOSFile> files in Context.hashes)
|
||||
{
|
||||
lstFilesForDisc.AppendValues(files.Key);
|
||||
lstFilesForDisk.AppendValues(files.Key);
|
||||
@@ -228,7 +228,7 @@ namespace osrepodbmgr
|
||||
{
|
||||
// TODO: Check that files are not already added as disks
|
||||
lstFilesForDisc.Clear();
|
||||
foreach(KeyValuePair<string, DBFile> files in Context.hashes)
|
||||
foreach(KeyValuePair<string, DBOSFile> files in Context.hashes)
|
||||
lstFilesForDisc.AppendValues(files.Key);
|
||||
}
|
||||
|
||||
@@ -236,7 +236,7 @@ namespace osrepodbmgr
|
||||
{
|
||||
// TODO: Check that files are not already added as discs
|
||||
lstFilesForDisk.Clear();
|
||||
foreach(KeyValuePair<string, DBFile> files in Context.hashes)
|
||||
foreach(KeyValuePair<string, DBOSFile> files in Context.hashes)
|
||||
lstFilesForDisk.AppendValues(files.Key);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user