cellular/PsetNotesUi/Src/PsuiReqObserver.cpp
changeset 46 2fa1fa551b0b
parent 42 35488577e233
child 48 78df25012fda
equal deleted inserted replaced
42:35488577e233 46:2fa1fa551b0b
     1 /*
       
     2 * Copyright (c) 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:  Request observer.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // INCLUDE FILES
       
    20 #include <psuicontainer.h> 
       
    21 
       
    22 #include "psuireqobserver.h" 
       
    23   
       
    24 // MACROS
       
    25 
       
    26 // MEMBER FUNCTIONS
       
    27 
       
    28 // ---------------------------------------------------------------------------
       
    29 // Symbian OS two-phased constructor.
       
    30 // ---------------------------------------------------------------------------
       
    31 CPsuiReqObserver* CPsuiReqObserver::NewL( CPsuiNoteMaster& aNoteMaster )
       
    32     {  
       
    33     return new( ELeave ) CPsuiReqObserver( aNoteMaster );
       
    34     }
       
    35 
       
    36 CPsuiReqObserver::CPsuiReqObserver( CPsuiNoteMaster& aNoteMaster ):
       
    37     iNoteMaster(aNoteMaster)
       
    38     {
       
    39     }
       
    40 
       
    41 // ---------------------------------------------------------------------------
       
    42 // Destructor.
       
    43 // ---------------------------------------------------------------------------
       
    44 CPsuiReqObserver::~CPsuiReqObserver()
       
    45     {
       
    46     }
       
    47  
       
    48 // -----------------------------------------------------------------------------
       
    49 // CPsuiNoteMaster::MServiceRequestNoteCancelledL
       
    50 // Called when the Requesting note is cancelled by the user.
       
    51 // -----------------------------------------------------------------------------
       
    52 //
       
    53 void CPsuiReqObserver::MServiceRequestNoteCancelledL( TBool /*aCancelledWithEscape*/ )
       
    54     {
       
    55     iNoteMaster.RequestNoteCancelledL();
       
    56     }    
       
    57 // End of file