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: #pragma once michael@0: michael@0: #include "CC_Common.h" michael@0: michael@0: #include michael@0: michael@0: extern "C" michael@0: { michael@0: #include "ccapi_types.h" michael@0: } michael@0: michael@0: namespace CSF michael@0: { michael@0: class ECC_API CC_CallServerInfo michael@0: { michael@0: public: michael@0: NS_INLINE_DECL_THREADSAFE_REFCOUNTING(CC_CallServerInfo) michael@0: protected: michael@0: CC_CallServerInfo() { } michael@0: michael@0: public: michael@0: //Base class needs dtor to be declared as virtual michael@0: virtual ~CC_CallServerInfo() {}; michael@0: michael@0: /** michael@0: gets call server name michael@0: michael@0: @returns name of the call server michael@0: */ michael@0: virtual std::string getCallServerName() = 0; michael@0: michael@0: /** michael@0: gets call server mode michael@0: michael@0: @returns - mode of the call server michael@0: */ michael@0: virtual cc_cucm_mode_t getCallServerMode() = 0; michael@0: michael@0: /** michael@0: gets calls erver name michael@0: michael@0: @returns status of the call server michael@0: */ michael@0: virtual cc_ccm_status_t getCallServerStatus() = 0; michael@0: }; michael@0: };