summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-12-22 09:05:23 +0100
committerMorris Jobke <hey@morrisjobke.de>2014-12-22 09:05:23 +0100
commitc17b9ec068fe39eaaca178e35e910d920da231ea (patch)
treef4cb796f52d8954d04a1b2ab58276b41ec67e136 /lib/public
parent92c8cd3933e90c0886095be7e49e311d2a2cb69f (diff)
parent8e37214346656f00cedaa39700d21c327b1f41d0 (diff)
downloadnextcloud-server-c17b9ec068fe39eaaca178e35e910d920da231ea.tar.gz
nextcloud-server-c17b9ec068fe39eaaca178e35e910d920da231ea.zip
Merge pull request #12983 from owncloud/root-iface
Add an interface for the root folder so apps have an interface to deal with storage
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/files/irootfolder.php32
1 files changed, 32 insertions, 0 deletions
diff --git a/lib/public/files/irootfolder.php b/lib/public/files/irootfolder.php
new file mode 100644
index 00000000000..a34f64f81ed
--- /dev/null
+++ b/lib/public/files/irootfolder.php
@@ -0,0 +1,32 @@
+<?php
+/**
+ * ownCloud
+ *
+ * @author Bernhard Posselt
+ * @copyright 2014 Bernhard Posselt <dev@bernhard-posselt.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU AFFERO GENERAL PUBLIC LICENSE for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+
+
+namespace OCP\Files;
+
+use OC\Hooks\Emitter;
+
+
+interface IRootFolder extends Folder, Emitter {
+
+}
+