From 4d3e7fa78a3c4692a7dc8587dd6e126866fc9870 Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Wed, 18 Sep 2013 12:34:10 +0200 Subject: [PATCH] Add getUserFolder/getAppFolder to Server. --- lib/public/iservercontainer.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/lib/public/iservercontainer.php b/lib/public/iservercontainer.php index 4478a4e8a6..dcf8c162e6 100644 --- a/lib/public/iservercontainer.php +++ b/lib/public/iservercontainer.php @@ -86,6 +86,20 @@ interface IServerContainer { */ function getCache(); + /** + * Returns a view to ownCloud's files folder + * + * @return \OCP\Files\Folder + */ + function getUserFolder(); + + /** + * Returns an app-specific view in ownClouds data directory + * + * @return \OCP\Files\Folder + */ + function getAppFolder(); + /** * Returns the current session *