1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/media/webrtc/signaling/include/CC_CallServerInfo.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,50 @@ 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 +#include <vector> 1.13 + 1.14 +extern "C" 1.15 +{ 1.16 +#include "ccapi_types.h" 1.17 +} 1.18 + 1.19 +namespace CSF 1.20 +{ 1.21 + class ECC_API CC_CallServerInfo 1.22 + { 1.23 + public: 1.24 + NS_INLINE_DECL_THREADSAFE_REFCOUNTING(CC_CallServerInfo) 1.25 + protected: 1.26 + CC_CallServerInfo() { } 1.27 + 1.28 + public: 1.29 + //Base class needs dtor to be declared as virtual 1.30 + virtual ~CC_CallServerInfo() {}; 1.31 + 1.32 + /** 1.33 + gets call server name 1.34 + 1.35 + @returns name of the call server 1.36 + */ 1.37 + virtual std::string getCallServerName() = 0; 1.38 + 1.39 + /** 1.40 + gets call server mode 1.41 + 1.42 + @returns - mode of the call server 1.43 + */ 1.44 + virtual cc_cucm_mode_t getCallServerMode() = 0; 1.45 + 1.46 + /** 1.47 + gets calls erver name 1.48 + 1.49 + @returns status of the call server 1.50 + */ 1.51 + virtual cc_ccm_status_t getCallServerStatus() = 0; 1.52 + }; 1.53 +};