* 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

@@ -18,11 +18,16 @@ namespace Kp2aUnitTests
{
if (Offline)
throw new IOException("offline");
_builtIn.DeleteFile(ioc);
_builtIn.Delete(ioc);
}
public IFileStorageSetup RequiredSetup { get { return null; } }
public void Delete(IOConnectionInfo ioc)
{
throw new NotImplementedException();
}
public bool CheckForFileChangeFast(IOConnectionInfo ioc, string previousFileVersion)
{
if (Offline)
@@ -101,5 +106,15 @@ namespace Kp2aUnitTests
{
return _builtIn.RequiresCredentials(ioc);
}
public void CreateDirectory(IOConnectionInfo ioc)
{
throw new NotImplementedException();
}
public IEnumerable<FileDescription> ListContents(IOConnectionInfo ioc)
{
throw new NotImplementedException();
}
}
}