summaryrefslogtreecommitdiffstats
path: root/lib/public/appframework/http/icallbackresponse.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/appframework/http/icallbackresponse.php')
-rw-r--r--lib/public/appframework/http/icallbackresponse.php28
1 files changed, 28 insertions, 0 deletions
diff --git a/lib/public/appframework/http/icallbackresponse.php b/lib/public/appframework/http/icallbackresponse.php
new file mode 100644
index 00000000000..4a392ed081d
--- /dev/null
+++ b/lib/public/appframework/http/icallbackresponse.php
@@ -0,0 +1,28 @@
+<?php
+/**
+ * @author Bernhard Posselt
+ * @copyright 2015 Bernhard Posselt <dev@bernhard-posselt.com>
+ *
+ * This file is licensed under the Affero General Public License version 3 or
+ * later.
+ * See the COPYING-README file.
+ */
+
+namespace OCP\AppFramework\Http;
+
+
+/**
+ * Interface ICallbackResponse
+ *
+ * @package OCP\AppFramework\Http
+ */
+interface ICallbackResponse {
+
+ /**
+ * Outputs the content that should be printed
+ *
+ * @param IOutput a small wrapper that handles output
+ */
+ function callback(IOutput $output);
+
+}