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

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rw-r--r--

Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     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_FEATUREINFO_H
     6 #define _CC_SIPCC_FEATUREINFO_H
     8 #include "CC_FeatureInfo.h"
    10 #include "common/Wrapper.h"
    12 namespace CSF
    13 {
    14 	DECLARE_NS_PTR(CC_SIPCCFeatureInfo);
    15     class CC_SIPCCFeatureInfo : public CC_FeatureInfo
    16     {
    17     private:
    18         cc_featureinfo_ref_t featureinfo_ref;
    19         CC_SIPCCFeatureInfo (cc_featureinfo_ref_t aFeatureInfo);
    20         CSF_DECLARE_WRAP(CC_SIPCCFeatureInfo, cc_featureinfo_ref_t);
    22     public:
    23         ~CC_SIPCCFeatureInfo();
    25     public:
    26         virtual cc_int32_t getButton();
    27         virtual cc_int32_t getFeatureID();
    28         virtual std::string getDisplayName();
    29         virtual std::string getSpeedDialNumber();
    30         virtual std::string getContact();
    31         virtual std::string getRetrievalPrefix();
    32         virtual cc_int32_t getFeatureOptionMask();
    33     };
    34 };
    36 #endif

mercurial