media/webrtc/signaling/src/softphonewrapper/CC_SIPCCDevice.h

branch
TOR_BUG_9701
changeset 10
ac0c01689b40
equal deleted inserted replaced
-1:000000000000 0:0949228b83e1
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
5 #ifndef _CC_SIPCC_DEVICE_H
6 #define _CC_SIPCC_DEVICE_H
7
8 #include "CC_Device.h"
9 #include "common/Wrapper.h"
10 #include <map>
11
12 namespace CSF
13 {
14 DECLARE_NS_PTR(CC_SIPCCDevice);
15 class CC_SIPCCDevice : public CC_Device
16 {
17 private:
18 CSF_DECLARE_WRAP(CC_SIPCCDevice, cc_device_handle_t);
19 static CC_DevicePtr create (const std::string & phoneConfigFileNameStr);
20
21 CC_SIPCCDevice (cc_device_handle_t aDeviceHandle);
22
23 public:
24
25 static CC_DevicePtr createDevice ();
26
27 virtual CC_DeviceInfoPtr getDeviceInfo ();
28 virtual std::string toString();
29
30 virtual CC_CallPtr createCall();
31
32 virtual void enableVideo(bool enable);
33 virtual void enableCamera(bool enable);
34 virtual void setDigestNamePasswd (char *name, char *pw);
35
36 private:
37 cc_device_handle_t deviceHandle;
38
39 };
40 };
41
42 #endif

mercurial