Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
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/. */
5 #ifndef _CC_SIPCC_DEVICE_H
6 #define _CC_SIPCC_DEVICE_H
8 #include "CC_Device.h"
9 #include "common/Wrapper.h"
10 #include <map>
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);
21 CC_SIPCCDevice (cc_device_handle_t aDeviceHandle);
23 public:
25 static CC_DevicePtr createDevice ();
27 virtual CC_DeviceInfoPtr getDeviceInfo ();
28 virtual std::string toString();
30 virtual CC_CallPtr createCall();
32 virtual void enableVideo(bool enable);
33 virtual void enableCamera(bool enable);
34 virtual void setDigestNamePasswd (char *name, char *pw);
36 private:
37 cc_device_handle_t deviceHandle;
39 };
40 };
42 #endif