aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2019-11-26 10:45:22 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2019-11-26 10:45:22 +0200
commit58f7128ac32d80cb6baf9bee7389eeef889067ae (patch)
tree5e0f955c814f79800bd7115b677b5042f0a3ffa2 /Software/Visual_Studio/PPC/Tango.PPC.UI
parenta70419a35bac0e053278002856499430edbbb598 (diff)
downloadTango-58f7128ac32d80cb6baf9bee7389eeef889067ae.tar.gz
Tango-58f7128ac32d80cb6baf9bee7389eeef889067ae.zip
Working on backup/restore...
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.UI/BackupRestore/DefaultBackupManager.cs41
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.UI/Tango.PPC.UI.csproj1
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModelLocator.cs1
3 files changed, 0 insertions, 43 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/BackupRestore/DefaultBackupManager.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/BackupRestore/DefaultBackupManager.cs
deleted file mode 100644
index e73dde3ce..000000000
--- a/Software/Visual_Studio/PPC/Tango.PPC.UI/BackupRestore/DefaultBackupManager.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Tango.PPC.Common.Application;
-using Tango.PPC.Common.BackupRestore;
-
-namespace Tango.PPC.UI.BackupRestore
-{
- public class DefaultBackupManager : IBackupManager
- {
- public event EventHandler<BackupRestoreProgressEventArgs> Progress;
-
- public DefaultBackupManager(IPPCApplicationManager applicationManager)
- {
-
- }
-
- public Task CreateBackup(string filePath, BackupSettings settings)
- {
- throw new NotImplementedException();
- }
-
- public Task Restore(string filePath)
- {
- throw new NotImplementedException();
- }
-
- protected virtual void OnProgress(BackupRestoreStage stage, double progress = 0, double maxProgress = 100, bool isIntermediate = true)
- {
- Progress?.Invoke(this, new BackupRestoreProgressEventArgs()
- {
- Stage = stage,
- Progress = progress,
- MaxProgress = maxProgress,
- IsIntermediate = isIntermediate,
- });
- }
- }
-}
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Tango.PPC.UI.csproj b/Software/Visual_Studio/PPC/Tango.PPC.UI/Tango.PPC.UI.csproj
index ca7bad41e..c28a49584 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Tango.PPC.UI.csproj
+++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Tango.PPC.UI.csproj
@@ -115,7 +115,6 @@
<Link>GlobalVersionInfo.cs</Link>
</Compile>
<Compile Include="Authentication\DefaultAuthenticationProvider.cs" />
- <Compile Include="BackupRestore\DefaultBackupManager.cs" />
<Compile Include="Connectivity\DefaultConnectivityProvider.cs" />
<Compile Include="Connectivity\WiFiAuthenticationView.xaml.cs">
<DependentUpon>WiFiAuthenticationView.xaml</DependentUpon>
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModelLocator.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModelLocator.cs
index 688a9b376..cb448bb0e 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModelLocator.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModelLocator.cs
@@ -25,7 +25,6 @@ using Tango.PPC.Common.Threading;
using Tango.PPC.Common.UWF;
using Tango.PPC.Common.Web;
using Tango.PPC.UI.Authentication;
-using Tango.PPC.UI.BackupRestore;
using Tango.PPC.UI.Connectivity;
using Tango.PPC.UI.Modules;
using Tango.PPC.UI.Navigation;