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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/media/webrtc/signaling/src/softphonewrapper/CC_SIPCCDeviceInfo.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,37 @@
     1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.7 +
     1.8 +#ifndef _CC_SIPCC_DEVICEINFO_H
     1.9 +#define _CC_SIPCC_DEVICEINFO_H
    1.10 +
    1.11 +#include "CC_DeviceInfo.h"
    1.12 +
    1.13 +#include "common/Wrapper.h"
    1.14 +
    1.15 +namespace CSF
    1.16 +{
    1.17 +	DECLARE_NS_PTR(CC_SIPCCDeviceInfo);
    1.18 +    class CC_SIPCCDeviceInfo : public CC_DeviceInfo
    1.19 +    {
    1.20 +    private:
    1.21 +        CC_SIPCCDeviceInfo (cc_deviceinfo_ref_t aDeviceInfo);
    1.22 +        cc_deviceinfo_ref_t deviceinfo_ref;
    1.23 +
    1.24 +        CSF_DECLARE_WRAP(CC_SIPCCDeviceInfo, cc_deviceinfo_ref_t);
    1.25 +
    1.26 +    public:
    1.27 +        ~CC_SIPCCDeviceInfo();
    1.28 +
    1.29 +    public:
    1.30 +        virtual std::string getDeviceName();
    1.31 +        virtual cc_service_cause_t getServiceCause();
    1.32 +        virtual cc_service_state_t getServiceState();
    1.33 +        virtual std::vector<CC_CallPtr> getCalls();
    1.34 +        virtual std::vector<CC_LinePtr> getLines();
    1.35 +        virtual std::vector<CC_FeatureInfoPtr> getFeatures();
    1.36 +        virtual std::vector<CC_CallServerInfoPtr> getCallServers();
    1.37 +    };
    1.38 +};
    1.39 +
    1.40 +#endif

mercurial