First version of Dropbox-Support (not yet really functional - no possible to select the file to open)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user