michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef _CCAPIAPI_FEATURE_INFO_H_ michael@0: #define _CCAPIAPI_FEATURE_INFO_H_ michael@0: michael@0: #include "ccapi_types.h" michael@0: michael@0: michael@0: /** michael@0: * Get the physical button number on which this feature is configured michael@0: * @param feature - feature reference handle michael@0: * @return cc_int32_t - button assgn to the feature michael@0: */ michael@0: cc_int32_t CCAPI_featureInfo_getButton(cc_featureinfo_ref_t feature); michael@0: michael@0: /** michael@0: * Get the featureID michael@0: * @param feature - feature reference handle michael@0: * @return cc_int32_t - button assgn to the feature michael@0: */ michael@0: cc_int32_t CCAPI_featureInfo_getFeatureID(cc_featureinfo_ref_t feature); michael@0: /** michael@0: * Get the feature Name michael@0: * @param feature - feature reference handle michael@0: * @return cc_string_t - handle of the feature created michael@0: */ michael@0: cc_string_t CCAPI_featureInfo_getDisplayName(cc_featureinfo_ref_t feature); michael@0: michael@0: /** michael@0: * Get the speeddial Number michael@0: * @param feature - feature reference handle michael@0: * @return cc_string_t - handle of the feature created michael@0: */ michael@0: cc_string_t CCAPI_featureInfo_getSpeedDialNumber(cc_featureinfo_ref_t feature); michael@0: michael@0: /** michael@0: * Get the contact michael@0: * @param feature - feature reference handle michael@0: * @return cc_string_t - handle of the feature created michael@0: */ michael@0: cc_string_t CCAPI_featureInfo_getContact(cc_featureinfo_ref_t feature); michael@0: michael@0: /** michael@0: * Get the retrieval prefix michael@0: * @param feature - feature reference handle michael@0: * @return cc_string_t - handle of the feature created michael@0: */ michael@0: cc_string_t CCAPI_featureInfo_getRetrievalPrefix(cc_featureinfo_ref_t feature); michael@0: michael@0: /** michael@0: * Get BLF state michael@0: * @param feature - feature reference handle michael@0: * @return cc_string_t - handle of the feature created michael@0: */ michael@0: cc_blf_state_t CCAPI_featureInfo_getBLFState(cc_featureinfo_ref_t feature); michael@0: michael@0: /** michael@0: * Get the feature option mask michael@0: * @param feature - feature reference handle michael@0: * @return cc_int32_t - button assgn to the feature michael@0: */ michael@0: cc_int32_t CCAPI_featureInfo_getFeatureOptionMask(cc_featureinfo_ref_t feature); michael@0: michael@0: michael@0: #endif /* _CCAPIAPI_FEATURE_INFO_H_ */