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 _CC_SIPCC_DEVICE_H michael@0: #define _CC_SIPCC_DEVICE_H michael@0: michael@0: #include "CC_Device.h" michael@0: #include "common/Wrapper.h" michael@0: #include michael@0: michael@0: namespace CSF michael@0: { michael@0: DECLARE_NS_PTR(CC_SIPCCDevice); michael@0: class CC_SIPCCDevice : public CC_Device michael@0: { michael@0: private: michael@0: CSF_DECLARE_WRAP(CC_SIPCCDevice, cc_device_handle_t); michael@0: static CC_DevicePtr create (const std::string & phoneConfigFileNameStr); michael@0: michael@0: CC_SIPCCDevice (cc_device_handle_t aDeviceHandle); michael@0: michael@0: public: michael@0: michael@0: static CC_DevicePtr createDevice (); michael@0: michael@0: virtual CC_DeviceInfoPtr getDeviceInfo (); michael@0: virtual std::string toString(); michael@0: michael@0: virtual CC_CallPtr createCall(); michael@0: michael@0: virtual void enableVideo(bool enable); michael@0: virtual void enableCamera(bool enable); michael@0: virtual void setDigestNamePasswd (char *name, char *pw); michael@0: michael@0: private: michael@0: cc_device_handle_t deviceHandle; michael@0: michael@0: }; michael@0: }; michael@0: michael@0: #endif