summaryrefslogtreecommitdiffstats
path: root/lib/public/iservercontainer.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/iservercontainer.php')
-rw-r--r--lib/public/iservercontainer.php37
1 files changed, 37 insertions, 0 deletions
diff --git a/lib/public/iservercontainer.php b/lib/public/iservercontainer.php
index cbb9fdf6c2f..d3ee5d15dcc 100644
--- a/lib/public/iservercontainer.php
+++ b/lib/public/iservercontainer.php
@@ -75,6 +75,22 @@ interface IServerContainer {
* @return \OCP\Files\Folder
*/
function getAppFolder();
+ /**
+ * Returns the user session
+ *
+ * @return \OCP\IUserSession
+ */
+ function getUserSession();
+
+ /**
+ * @return \OCP\INavigationManager
+ */
+ function getNavigationManager();
+
+ /**
+ * @return \OCP\IConfig
+ */
+ function getConfig();
/**
* Returns an ICache instance
@@ -84,10 +100,31 @@ 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
*/
function getSession();
+ /**
+ * Returns the current session
+ *
+ * @return \OCP\IDBConnection
+ */
+ function getDatabaseConnection();
+
}