media/webrtc/signaling/include/CC_FeatureInfo.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/media/webrtc/signaling/include/CC_FeatureInfo.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,76 @@
     1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.7 +
     1.8 +#pragma once
     1.9 +
    1.10 +#include "CC_Common.h"
    1.11 +
    1.12 +extern "C"
    1.13 +{
    1.14 +#include "ccapi_types.h"
    1.15 +}
    1.16 +
    1.17 +namespace CSF
    1.18 +{
    1.19 +    class ECC_API CC_FeatureInfo
    1.20 +    {
    1.21 +    public:
    1.22 +        NS_INLINE_DECL_THREADSAFE_REFCOUNTING(CC_FeatureInfo)
    1.23 +    protected:
    1.24 +        CC_FeatureInfo() { }
    1.25 +
    1.26 +    public:
    1.27 +        //Base class needs dtor to be declared as virtual
    1.28 +        virtual ~CC_FeatureInfo() {};
    1.29 +
    1.30 +        /**
    1.31 +           Get the physical button number on which this feature is configured
    1.32 +
    1.33 +           @return cc_int32_t - button assgn to the feature
    1.34 +         */
    1.35 +        virtual cc_int32_t getButton() = 0;
    1.36 +
    1.37 +        /**
    1.38 +           Get the featureID
    1.39 +
    1.40 +           @return cc_int32_t - button assgn to the feature
    1.41 +         */
    1.42 +        virtual cc_int32_t getFeatureID() = 0;
    1.43 +
    1.44 +        /**
    1.45 +           Get the feature Name
    1.46 +
    1.47 +           @return string - handle of the feature created
    1.48 +         */
    1.49 +        virtual std::string getDisplayName() = 0;
    1.50 +
    1.51 +        /**
    1.52 +           Get the speeddial Number
    1.53 +
    1.54 +           @return string - handle of the feature created
    1.55 +         */
    1.56 +        virtual std::string getSpeedDialNumber() = 0;
    1.57 +
    1.58 +        /**
    1.59 +           Get the contact
    1.60 +
    1.61 +           @return string - handle of the feature created
    1.62 +         */
    1.63 +        virtual std::string getContact() = 0;
    1.64 +
    1.65 +        /**
    1.66 +           Get the retrieval prefix
    1.67 +
    1.68 +           @return string - handle of the feature created
    1.69 +         */
    1.70 +        virtual std::string getRetrievalPrefix() = 0;
    1.71 +
    1.72 +        /**
    1.73 +           Get the feature option mask
    1.74 +
    1.75 +           @return cc_int32_t - button assgn to the feature
    1.76 +         */
    1.77 +        virtual cc_int32_t getFeatureOptionMask() = 0;
    1.78 +    };
    1.79 +};

mercurial