satengine/SatServer/Commands/SendSSCmd/inc/csatsendssbarringnouiobs.h
changeset 0 ff3b6d0fd310
child 19 7d48bed6ce0c
equal deleted inserted replaced
-1:000000000000 0:ff3b6d0fd310
       
     1 /*
       
     2 * Copyright (c) 2002-2006 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:  Implements MPsetBarringObserver.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CSATSENDSSBARRINGNOUIOBS_H
       
    20 #define CSATSENDSSBARRINGNOUIOBS_H
       
    21 
       
    22 #include <MPsetBarringObs.h>
       
    23 
       
    24 /**
       
    25 *  Implements MPsetBarringObserver and gets notifications of the barring process
       
    26 *
       
    27 *  @lib SendSsCmd
       
    28 *  @since S60 v3.1
       
    29 */
       
    30 class CSatSendSsBarringNoUiObs : public CBase,
       
    31                                  public MPsetBarringObserver
       
    32     {
       
    33 public:
       
    34 
       
    35     /**
       
    36      * C++ default constructor.
       
    37      */
       
    38     CSatSendSsBarringNoUiObs();
       
    39 
       
    40     /**
       
    41      * Destructor.
       
    42      */
       
    43     ~CSatSendSsBarringNoUiObs();
       
    44 
       
    45     /**
       
    46      * HandleBarringModeChangedL-function handles mode changed notes.
       
    47      * @param aType defines what kind of barring program is involved.
       
    48      * @param aStatus defines the status of the barring program.
       
    49      * @param aPlural Plural notes should be used.
       
    50      */
       
    51     void HandleBarringModeChangedL( TBarringProgram aType,
       
    52         TBarringStatus aStatus, TBool aPlural );
       
    53     
       
    54     /**
       
    55      * HandleBarringModeStatusL-function handles mode status notes.
       
    56      * @param aBsc defines what kind of basic service groups are involved.
       
    57      * @param aStatus defines the status of the barring program.
       
    58      */
       
    59     void HandleBarringModeStatusL( 
       
    60         TUint8 aBsc[KPSetNumberOfBsc], TBarringStatus aStatus );
       
    61     
       
    62     /**
       
    63      * HandleBarringErrorL-function handles errors in call barring requests.
       
    64      * @param aReason is the reason for error.
       
    65      */
       
    66     void HandleBarringErrorL( TInt aReason );
       
    67 
       
    68     /**
       
    69      * HandleCBRequestingL-function handles requesting notes.
       
    70      * @param aOngoing defines whether or not there is a request going on.
       
    71      * @param aInterrupted if ETrue, means that notemaster should be 
       
    72      *                     immediately deleted.
       
    73      */
       
    74     void HandleCBRequestingL( TBool aOngoing, TBool aInterrupted );
       
    75 
       
    76     /**
       
    77      * CbPasswordChangedL-function handles notes relating to cb password 
       
    78      * change requests.
       
    79      * @param aSuccess defines whether or not the change request was successfull.
       
    80      */
       
    81     void CbPasswordChangedL( TBool aSuccess );
       
    82 
       
    83     /**
       
    84      * SetEngineContact-function is used to
       
    85      * @param aEngineContact is a connection to the engine. 
       
    86      */
       
    87     void SetEngineContact( MPsetCallBarring* aBarringEngine );
       
    88     };
       
    89 
       
    90 #endif // CSATSENDSSBARRINGNOUIOBS_H