cellular/telephonysettings/tsrc/public/basic/PhoneSettingsTest/inc/PhoneSettingsTestPsetRequestObserver.h
changeset 0 ff3b6d0fd310
child 19 7d48bed6ce0c
equal deleted inserted replaced
-1:000000000000 0:ff3b6d0fd310
       
     1 /*
       
     2 * Copyright (c) 2002 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: Declaration of CPhoneSettingsTestPsetRequestObserver class.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef PHONESETTINGSTESTPSETREQUESTOBSERVER_H
       
    21 #define PHONESETTINGSTESTPSETREQUESTOBSERVER_H
       
    22 
       
    23 #include <e32base.h>
       
    24 #include <MPsetRequestObs.h> 
       
    25 
       
    26 // CLASS DECLARATION
       
    27 
       
    28 NONSHARABLE_CLASS(CPhoneSettingsTestPsetRequestObserver) : 
       
    29     public CBase, 
       
    30     public MPsetRequestObserver 
       
    31     {
       
    32 
       
    33     public: 
       
    34         /**
       
    35         * Two-phased constructor.
       
    36         */
       
    37         static CPhoneSettingsTestPsetRequestObserver* NewL();
       
    38 
       
    39         /**
       
    40         * Destructor.
       
    41         */
       
    42         virtual ~CPhoneSettingsTestPsetRequestObserver();
       
    43 
       
    44     private:
       
    45 
       
    46         /**
       
    47         * C++ default constructor.
       
    48         */
       
    49         CPhoneSettingsTestPsetRequestObserver();
       
    50 
       
    51         /**
       
    52         * By default Symbian 2nd phase constructor is private.
       
    53         */
       
    54         void ConstructL();    
       
    55     
       
    56     public: // Functions 
       
    57     
       
    58         /**
       
    59         * Informs the receiver that request has been completed.
       
    60         */
       
    61         virtual void RequestComplete();
       
    62 
       
    63         /**
       
    64         * Informs the receiver that request state has changed.
       
    65         * @param new status, or when finished KErrNone or error code.
       
    66         */
       
    67         virtual void RequestStatusChanged( TInt aNewStatus );    
       
    68     };
       
    69 
       
    70 #endif      // PHONESETTINGSTESTPSETREQUESTOBSERVER_H
       
    71 
       
    72 // End of File