MVccCchObserver Class Reference

class MVccCchObserver

Observer class for CVccCchMonitor

The class that defines observer interfaces. Used to get notifications when CCH states changes.
   class CMyClass : public CBase, public MVccCchObserver
       {
   public:
       ...
       void CchServiceStatusChanged( TServiceStatus aStatus );
       ...
       }

   void MyClass::CchServiceStatusChanged( TServiceStatus aStatus )
       {
       if ( aStatus == MVccCchObserver::EServiceUnavailable )
           {
           ServiceNotWorking();
           }
       else
           {
           ServiceWorking();
           }
       }
vcchotrigger.lib
Since
S60 v3.2
Public Member Functions
voidCchServiceStatusChanged(TServiceStatus)
Public Member Enumerations
enumTServiceStatus { EServiceUnavailable = 0, EServiceAvailable }

Member Functions Documentation

CchServiceStatusChanged(TServiceStatus)

voidCchServiceStatusChanged(TServiceStatusaStatus)[pure virtual]

Observer interface. Called when the CCH status has been changed.

Since
S60 v3.2

Parameters

TServiceStatus aStatusStatus of the service availability.

Member Enumerations Documentation

Enum TServiceStatus

Service status

Enumerators

EServiceUnavailable = 0
EServiceAvailable