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

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 2 * License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 4
michael@0 5 #ifndef _CC_SIPCC_LINEINFO_H
michael@0 6 #define _CC_SIPCC_LINEINFO_H
michael@0 7
michael@0 8 #include "CC_LineInfo.h"
michael@0 9
michael@0 10 #include "common/Wrapper.h"
michael@0 11
michael@0 12 namespace CSF
michael@0 13 {
michael@0 14 DECLARE_NS_PTR(CC_SIPCCLineInfo);
michael@0 15 class CC_SIPCCLineInfo : public CC_LineInfo
michael@0 16 {
michael@0 17 public:
michael@0 18 ~CC_SIPCCLineInfo ();
michael@0 19
michael@0 20 private:
michael@0 21 cc_lineinfo_ref_t lineinfo;
michael@0 22 CC_SIPCCLineInfo (cc_lineinfo_ref_t lineinfo);
michael@0 23 CSF_DECLARE_WRAP(CC_SIPCCLineInfo, cc_lineinfo_ref_t);
michael@0 24
michael@0 25 public:
michael@0 26 virtual std::string getName();
michael@0 27 virtual std::string getNumber();
michael@0 28 virtual cc_uint32_t getButton();
michael@0 29 virtual cc_line_feature_t getLineType();
michael@0 30 virtual bool getRegState();
michael@0 31 virtual bool isCFWDActive();
michael@0 32 virtual std::string getCFWDName();
michael@0 33 virtual std::vector<CC_CallPtr> getCalls (CC_LinePtr linePtr);
michael@0 34 virtual std::vector<CC_CallPtr> getCallsByState (CC_LinePtr linePtr, cc_call_state_t state);
michael@0 35 virtual bool getMWIStatus();
michael@0 36 virtual cc_uint32_t getMWIType();
michael@0 37 virtual cc_uint32_t getMWINewMsgCount();
michael@0 38 virtual cc_uint32_t getMWIOldMsgCount();
michael@0 39 virtual cc_uint32_t getMWIPrioNewMsgCount();
michael@0 40 virtual cc_uint32_t getMWIPrioOldMsgCount();
michael@0 41 virtual bool hasCapability(ccapi_call_capability_e capability);
michael@0 42 virtual std::bitset<CCAPI_CALL_CAP_MAX> getCapabilitySet();
michael@0 43 };
michael@0 44 };
michael@0 45
michael@0 46
michael@0 47 #endif

mercurial