phoneengine/callhandling/inc/cpesupplementaryservicesmonitor.h
changeset 37 ba76fc04e6c2
child 51 f39ed5e045e0
equal deleted inserted replaced
36:2eacb6118286 37:ba76fc04e6c2
       
     1 /*
       
     2 * Copyright (c) 2002-2007 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  This file contains the header file of the CPESupplementaryServicesMonitor object
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CPESUPPLEMENTARYSERVICESMONITOR_H
       
    20 #define CPESUPPLEMENTARYSERVICESMONITOR_H
       
    21 
       
    22 //INCLUDES
       
    23 #include <e32base.h>
       
    24 #include <pevirtualengine.h>
       
    25 #include <mccessobserver.h>
       
    26  
       
    27 // CONSTANTS
       
    28 // None.
       
    29 
       
    30 // MACROS
       
    31 // None.
       
    32 
       
    33 // DATA TYPES
       
    34 // None.
       
    35 
       
    36 // FUNCTION PROTOTYPES
       
    37 // None.
       
    38 
       
    39 // FORWARD DECLARATIONS
       
    40 class MPEMessageSender;
       
    41 class MPEDataStore;
       
    42 
       
    43 // CLASS DECLARATION
       
    44 
       
    45 /**
       
    46 * Monitors Supplementary Services
       
    47 *
       
    48 * @lib CallHandling.lib
       
    49 * @since Series60_4.0
       
    50 */
       
    51 class CPESupplementaryServicesMonitor  
       
    52         : public MCCESsObserver,
       
    53           public CBase
       
    54     {
       
    55     public:    //Constructors and descructor
       
    56 
       
    57         /**
       
    58         * C++ default constructor.
       
    59         */
       
    60         CPESupplementaryServicesMonitor( 
       
    61             MPEMessageSender& aOwner,
       
    62             MPEDataStore& aDataStore );
       
    63         
       
    64         /**
       
    65         * Destructor.
       
    66         */
       
    67         virtual ~CPESupplementaryServicesMonitor();
       
    68 
       
    69     public:
       
    70                                         
       
    71         /**
       
    72         From MCCESsObserver
       
    73         */
       
    74         IMPORT_C void BarringEventOccurred( const MCCESsObserver::TCCESsBarringEvent aBarringEvent );
       
    75 
       
    76         /**
       
    77         From MCCESsObserver
       
    78         */
       
    79         IMPORT_C void CLIEventOccurred( const MCCESsObserver::TCCESsCLIEvent aCallLineEvent );
       
    80 
       
    81         /**
       
    82         From MCCESsObserver
       
    83         */
       
    84         IMPORT_C void CallForwardEventOccurred( 
       
    85                             const MCCESsObserver::TCCESsCallForwardEvent aCallForwardEvent,
       
    86                             const TDesC& aRemoteAddress );
       
    87 
       
    88         /**
       
    89         From MCCESsObserver
       
    90         */
       
    91         IMPORT_C void CallCugEventOccurred( const MCCESsObserver::TCCESsCugEvent aCugEvent );
       
    92 
       
    93         /**
       
    94         From MCCESsObserver
       
    95         */
       
    96         IMPORT_C void NotifyCurrentActiveALSLine( TInt aLine );
       
    97 
       
    98     private:
       
    99         // Owner of this object
       
   100         MPEMessageSender& iOwner;
       
   101         // Data store
       
   102         MPEDataStore& iDataStore;
       
   103 
       
   104      };
       
   105 #endif // CPESUPPLEMENTARYSERVICESMONITOR_H
       
   106 
       
   107 // End of File