* Added file chooser to KP2A

* added functionality to file storage interface and (some) implementations to delete files/folders, create folders, list contents
-> Dropbox functionality implemented
This commit is contained in:
Philipp Crocoll
2013-09-28 07:46:44 +02:00
parent 15b7ca38c8
commit 74acd19092
40 changed files with 5346 additions and 1694 deletions

View File

@@ -30,11 +30,11 @@ namespace keepass2android.Io
}
}
public void DeleteFile(IOConnectionInfo ioc)
public void Delete(IOConnectionInfo ioc)
{
//todo check if directory
IOConnection.DeleteFile(ioc);
}
public bool CheckForFileChangeFast(IOConnectionInfo ioc, string previousFileVersion)
{
if (!ioc.IsLocalFile())
@@ -137,5 +137,17 @@ namespace keepass2android.Io
{
return (!ioc.IsLocalFile()) && (ioc.CredSaveMode != IOCredSaveMode.SaveCred);
}
public void CreateDirectory(IOConnectionInfo ioc)
{
//TODO
throw new NotImplementedException();
}
public IEnumerable<FileDescription> ListContents(IOConnectionInfo ioc)
{
//TODO
throw new NotImplementedException();
}
}
}