mmsharing/mmshui/tsrc/ut_ui/src/musuipropertyobserveradapter.cpp
branchRCL_3
changeset 33 bc78a40cd63c
parent 0 f0cf47e981f9
equal deleted inserted replaced
32:73a1feb507fb 33:bc78a40cd63c
       
     1 /*
       
     2 * Copyright (c) 2009 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:
       
    15 *
       
    16 */
       
    17 
       
    18 #include "musuipropertyobserveradapter.h"
       
    19 
       
    20 
       
    21 
       
    22 CMusUiPropertyObserverAdapter::CMusUiPropertyObserverAdapter()
       
    23     {
       
    24     //iCalledObserver = ENone;
       
    25     }
       
    26 
       
    27 
       
    28 CMusUiPropertyObserverAdapter::~CMusUiPropertyObserverAdapter()
       
    29     {
       
    30     }
       
    31 
       
    32 
       
    33 void CMusUiPropertyObserverAdapter::ResourcePropertyChanged( const TUint aKey, const TInt aValue )
       
    34     {
       
    35     iCalledObserver = EResourcePropertyChanged;
       
    36     User::LeaveIfError( iErrorCode );
       
    37     }
       
    38 
       
    39 
       
    40 void CMusUiPropertyObserverAdapter::SessionPropertyChanged( const TUint aKey, const TInt aValue )
       
    41     {
       
    42     iCalledObserver = ESessionPropertyChanged;
       
    43     User::LeaveIfError( iErrorCode );
       
    44     }
       
    45 
       
    46 
       
    47 void CMusUiPropertyObserverAdapter::HandleError( const TInt aReason )
       
    48     {
       
    49     iCalledObserver = EHandleError;
       
    50     User::LeaveIfError( iErrorCode );
       
    51     }