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
void CchServiceStatusChanged ( TServiceStatus )
Public Member Enumerations
enum TServiceStatus { EServiceUnavailable  = 0, EServiceAvailable }

Member Functions Documentation

CchServiceStatusChanged(TServiceStatus)

void CchServiceStatusChanged ( TServiceStatus aStatus ) [pure virtual]

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

Since
S60 v3.2

Parameters

TServiceStatus aStatus Status of the service availability.

Member Enumerations Documentation

Enum TServiceStatus

Service status

Enumerators

EServiceUnavailable = 0
EServiceAvailable