[asterisk-scf-commits] asterisk-scf/integration/slice.git branch "session-decorator" created.
Commits to the Asterisk SCF project code repositories
asterisk-scf-commits at lists.digium.com
Tue Jun 28 17:59:28 CDT 2011
branch "session-decorator" has been created
at f1a8af8d8e9ffc51c67e011440147fe7e56f9c10 (commit)
- Log -----------------------------------------------------------------
commit f1a8af8d8e9ffc51c67e011440147fe7e56f9c10
Author: Mark Michelson <mmichelson at digium.com>
Date: Tue Jun 28 17:59:16 2011 -0500
Add slice for session decorators.
diff --git a/slice/AsteriskSCF/SessionCommunications/SessionCommunicationsExtensionPointsIf.ice b/slice/AsteriskSCF/SessionCommunications/SessionCommunicationsExtensionPointsIf.ice
new file mode 100644
index 0000000..6fccbde
--- /dev/null
+++ b/slice/AsteriskSCF/SessionCommunications/SessionCommunicationsExtensionPointsIf.ice
@@ -0,0 +1,54 @@
+/*
+ * Asterisk SCF -- An open-source communications framework.
+ *
+ * Copyright (C) 2010, Digium, Inc.
+ *
+ * See http://www.asterisk.org for more information about
+ * the Asterisk SCF project. Please do not directly contact
+ * any of the maintainers of this project for assistance;
+ * the project provides a web site, mailing lists and IRC
+ * channels for your use.
+ *
+ * This program is free software, distributed under the terms of
+ * the GNU General Public License Version 2. See the LICENSE.txt file
+ * at the top of the source tree.
+ */
+
+#pragma once
+
+#include <AsteriskSCF/SessionCommunications/SessionCommunicationsIf.ice>
+#include <AsteriskSCF/System/Hook/HookIf.ice>
+
+module AsteriskSCF
+{
+
+module SessionCommunications
+{
+
+module ExtensionPoints
+{
+
+["suppress"]
+module V1
+{
+
+ const string SessionDecoratorLocatorCategory = "SessionDecorator";
+
+ interface SessionDecoratorHook
+ {
+ AsteriskSCF::System::Hook::V1::HookResult decorateSession(AsteriskSCF::SessionCommunications::V1::Session* realSession, out AsteriskSCF::SessionCommunications::V1::Session* decorator);
+ };
+
+ sequence<SessionDecoratorHook*> SessionDecoratorHookSeq;
+
+ interface SessionDecoratorExtensionPoint
+ {
+ void addDecorator(SessionDecoratorHook* hook);
+ void removeDecorator(SessionDecoratorHook* hook);
+ void clearDecorators();
+ };
+
+}; /* End of module V1 */
+}; /* End of module ExtensionPoints */
+}; /* End of module SessionCommunications */
+}; /* End of module AsteriskSCF */
-----------------------------------------------------------------------
--
asterisk-scf/integration/slice.git
More information about the asterisk-scf-commits
mailing list