diff --git a/GBase/FileHandling/FileHandler.cs b/GBase/FileHandling/FileHandler.cs index 89376b6..cbc1952 100644 --- a/GBase/FileHandling/FileHandler.cs +++ b/GBase/FileHandling/FileHandler.cs @@ -7,6 +7,7 @@ using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using GBase.DataHandling.Factories; +using GBase.Interfaces; using GBase.Interfaces.DataHandling; using GBase.Interfaces.DataHandling.Xml; using GBase.Interfaces.FileHandling; @@ -48,6 +49,18 @@ namespace GBase.FileHandling return success; } + public Task AddEntry(T entry, IGBaseTable table) + { + //create new entry file + throw new NotImplementedException(); + } + + public Task RemoveEntry(T entry) + { + //remove entry file + throw new NotImplementedException(); + } + /// /// Set the value for the given property /// diff --git a/GBase/Interfaces/FileHandling/IFileHandler.cs b/GBase/Interfaces/FileHandling/IFileHandler.cs index 9e33882..ae3eb99 100644 --- a/GBase/Interfaces/FileHandling/IFileHandler.cs +++ b/GBase/Interfaces/FileHandling/IFileHandler.cs @@ -22,6 +22,10 @@ namespace GBase.Interfaces.FileHandling /// True if successful, false if not Task Init(string path, CancellationToken cancellationToken); + Task AddEntry(T entry, IGBaseTable table); + + Task RemoveEntry(T entry); + /// /// Set the value for the given property ///