[asterisk-scf-commits] asterisk-scf/release/slice.git branch "master" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Fri Feb 18 16:31:11 CST 2011


branch "master" has been updated
       via  3ecc809e33681d696a75670337140db4d51a8b5b (commit)
      from  093dd4f755efcb495b31bb805838690d22138039 (commit)

Summary of changes:
 AsteriskSCF/Media/MediaIf.ice           |   36 ++++++++++++++++++++++--------
 AsteriskSCF/SIP/SIPExtensionPointIf.ice |    2 +-
 2 files changed, 27 insertions(+), 11 deletions(-)


- Log -----------------------------------------------------------------
commit 3ecc809e33681d696a75670337140db4d51a8b5b
Author: Kevin P. Fleming <kpfleming at digium.com>
Date:   Fri Feb 18 16:30:14 2011 -0600

    Add 'visitor' metadata for some additional classes that are intended to be
    subclassed and passed around in collections.
    
    Modify 'visitor' metadata in SIPExtensionPointIf to use relative class name
    for visiting class.

diff --git a/AsteriskSCF/Media/MediaIf.ice b/AsteriskSCF/Media/MediaIf.ice
index 59e1846..4d22fe0 100644
--- a/AsteriskSCF/Media/MediaIf.ice
+++ b/AsteriskSCF/Media/MediaIf.ice
@@ -36,11 +36,19 @@ module V1
    /**
     * Forward declaration of the Frame class so we can define a sequence of them.
     */
+   ["visitor"] local class FrameVisitor
+   {
+   };
+
    class Frame;
 
    /**
     * Forward declaration of the Format class so we can define a sequence of them.
     */
+   ["visitor"] local class FormatVisitor
+   {
+   };
+
    class Format;
 
    /**
@@ -326,10 +334,20 @@ module V1
     * A generic media operation class that can be extended for adding parameters. The parameters are used to find
     * a component capable of performing the described operation.
     */
-   class MediaOperation
+   ["visitor"] local class MediaOperationVisitor
    {
    };
 
+   ["visitor:MediaOperationVisitor"] class MediaOperation
+   {
+   };
+
+   /**
+    * A sequence of media operations. These are ordered in the order in which they should be
+    * executed.
+    */
+   sequence<MediaOperation> MediaOperationSeq;
+
    /**
     * A transcoding media operation class that is used to transcode from one format to other.
     */
@@ -347,15 +365,13 @@ module V1
    };
 
    /**
-    * A sequence of media operations. These are ordered in the order in which they should be
-    * executed.
-    */
-   sequence<MediaOperation> MediaOperationSeq;
-
-   /**
     * A media operation query result class, this gets returned by a media operation service when queried.
     */
-   class MediaOperationQueryResult
+   ["visitor"] local class MediaOperationQueryResultVisitor
+   {
+   };
+
+   ["visitor:MediaOperationQueryResultVisitor"] class MediaOperationQueryResult
    {
       /**
        * A concrete class describing the operation that the media operation service can perform.
@@ -405,7 +421,7 @@ module V1
     * A generic frame class that contains common details about frames. Additional classes should extend this to provide
     * additional details about the frame.
     */
-   class Frame
+   ["visitor:FrameVisitor"] class Frame
    {
       /**
        * A concrete format class describing the format that this frame is in.
@@ -452,7 +468,7 @@ module V1
     * A generic format class that provides common information about formats. Additional classes should extend
     * this to provide additional details about the format.
     */
-   class Format
+   ["visitor:FormatVisitor"] class Format
    {
       /**
        * A string containing a human readable name for the format, this may not be unique and is
diff --git a/AsteriskSCF/SIP/SIPExtensionPointIf.ice b/AsteriskSCF/SIP/SIPExtensionPointIf.ice
index 65fcee5..b0db305 100644
--- a/AsteriskSCF/SIP/SIPExtensionPointIf.ice
+++ b/AsteriskSCF/SIP/SIPExtensionPointIf.ice
@@ -142,7 +142,7 @@ module V1
     {
     };
 
-    ["visitor:::AsteriskSCF::SIP::ExtensionPoint::V1::DigestChallengeVisitor"] class DigestChallenge
+    ["visitor:DigestChallengeVisitor"] class DigestChallenge
     {
 	string username;
 	string password;

-----------------------------------------------------------------------


-- 
asterisk-scf/release/slice.git



More information about the asterisk-scf-commits mailing list