First version of Dropbox-Support (not yet really functional - no possible to select the file to open)

This commit is contained in:
Philipp Crocoll
2013-09-15 20:08:14 +02:00
parent 042ee03f56
commit fbd3aafe71
60 changed files with 2175 additions and 306 deletions

View File

@@ -1,4 +1,5 @@
using System;
using System.Collections.Generic;
using System.IO;
using KeePassLib.Serialization;
using keepass2android.Io;
@@ -11,6 +12,7 @@ namespace Kp2aUnitTests
public bool Offline { get; set; }
public IEnumerable<string> SupportedProtocols { get { yield return "test"; } }
public void DeleteFile(IOConnectionInfo ioc)
{
@@ -19,6 +21,8 @@ namespace Kp2aUnitTests
_builtIn.DeleteFile(ioc);
}
public IFileStorageSetup RequiredSetup { get { return null; } }
public bool CheckForFileChangeFast(IOConnectionInfo ioc, string previousFileVersion)
{
if (Offline)
@@ -92,5 +96,10 @@ namespace Kp2aUnitTests
{
return _builtIn.GetFilenameWithoutPathAndExt(ioc);
}
public bool RequiresCredentials(IOConnectionInfo ioc)
{
return _builtIn.RequiresCredentials(ioc);
}
}
}