summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2013-09-18 12:34:10 +0200
committerThomas Tanghus <thomas@tanghus.net>2013-09-23 23:57:39 +0200
commit4d3e7fa78a3c4692a7dc8587dd6e126866fc9870 (patch)
treee8e50deff79beccd630020f538b1db7110725397
parent200e9691deea447e9380912bea38630c98bf863f (diff)
downloadnextcloud-server-4d3e7fa78a3c4692a7dc8587dd6e126866fc9870.tar.gz
nextcloud-server-4d3e7fa78a3c4692a7dc8587dd6e126866fc9870.zip
Add getUserFolder/getAppFolder to Server.
-rw-r--r--lib/public/iservercontainer.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/public/iservercontainer.php b/lib/public/iservercontainer.php
index 4478a4e8a6c..dcf8c162e6f 100644
--- a/lib/public/iservercontainer.php
+++ b/lib/public/iservercontainer.php
@@ -87,6 +87,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
*
* @return \OCP\ISession