media/webrtc/signaling/include/ECC_Observer.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/media/webrtc/signaling/include/ECC_Observer.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,27 @@
     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 +#pragma once
     1.9 +
    1.10 +#include "CC_Common.h"
    1.11 +#include "ECC_Types.h"
    1.12 +
    1.13 +namespace CSF
    1.14 +{
    1.15 +	/**
    1.16 +	 * These callbacks relate to CallControlManager's "value add" features relating to authentication,
    1.17 +	 * configuration, setup, service health and management of SIP.
    1.18 +	 *
    1.19 +	 * They do not relate to call control - see also CC_Observer.
    1.20 +	 */
    1.21 +	class ECC_API ECC_Observer
    1.22 +	{
    1.23 +	public:
    1.24 +		virtual void onAvailablePhoneEvent (AvailablePhoneEventType::AvailablePhoneEvent event,
    1.25 +											const PhoneDetailsPtr availablePhoneDetails) = 0;
    1.26 +
    1.27 +		virtual void onAuthenticationStatusChange (AuthenticationStatusEnum::AuthenticationStatus) = 0;
    1.28 +		virtual void onConnectionStatusChange(ConnectionStatusEnum::ConnectionStatus status) = 0;
    1.29 +	};
    1.30 +}

mercurial