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: #include "CSFLog.h" michael@0: #include "CC_Common.h" michael@0: michael@0: #include "CC_SIPCCCallServerInfo.h" michael@0: michael@0: extern "C" michael@0: { michael@0: #include "ccapi_device_info.h" michael@0: } michael@0: michael@0: using namespace std; michael@0: using namespace CSF; michael@0: michael@0: CC_SIPCCCallServerInfo::CC_SIPCCCallServerInfo (cc_callserver_ref_t call_serverinfo) : callserverinfo_ref(call_serverinfo) michael@0: { michael@0: } michael@0: michael@0: CSF_IMPLEMENT_WRAP(CC_SIPCCCallServerInfo, cc_callserver_ref_t); michael@0: michael@0: CC_SIPCCCallServerInfo::~CC_SIPCCCallServerInfo() michael@0: { michael@0: } michael@0: michael@0: string CC_SIPCCCallServerInfo::getCallServerName() michael@0: { michael@0: return CCAPI_DeviceInfo_getCallServerName(callserverinfo_ref); michael@0: } michael@0: michael@0: cc_cucm_mode_t CC_SIPCCCallServerInfo::getCallServerMode() michael@0: { michael@0: return CCAPI_DeviceInfo_getCallServerMode(callserverinfo_ref); michael@0: } michael@0: michael@0: cc_ccm_status_t CC_SIPCCCallServerInfo::getCallServerStatus() michael@0: { michael@0: return CCAPI_DeviceInfo_getCallServerStatus(callserverinfo_ref); michael@0: }