cellular/telephonysettings/xqbindings/psetwrapper/tsrc/mocks/mock_cpsetrefreshhandler.h
branchRCL_3
changeset 20 987c9837762f
parent 19 7d48bed6ce0c
child 21 0a6dd2dc9970
equal deleted inserted replaced
19:7d48bed6ce0c 20:987c9837762f
     1 /** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 * All rights reserved.
       
     3 * This component and the accompanying materials are made available
       
     4 * under the terms of the License "Eclipse Public License v1.0"
       
     5 * which accompanies this distribution, and is available
       
     6 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 *
       
     8 * Initial Contributors:
       
     9 * Nokia Corporation - initial contribution.
       
    10 *
       
    11 * Contributors:
       
    12 *
       
    13 * Description:
       
    14 *
       
    15 */
       
    16 #ifndef CPSetRefreshHandler_h
       
    17 #define CPSetRefreshHandler_h
       
    18 
       
    19 #include <psetrefreshhandler.h> 
       
    20    
       
    21 class CPSetRefreshHandlerMock : public CPSetRefreshHandler
       
    22     {
       
    23     public:
       
    24         static CPSetRefreshHandlerMock* NewL();
       
    25         void NotifyFileChangeL( MSSSettingsRefreshObserver & aObserver, TSatElementaryFiles aObservedFile, TSatRefreshType aObservedRefreshType );
       
    26         void CancelNotify( );
       
    27         TInt ChangedCspSettings( TPSetChangedCspSetting & aChangedCspSettings, TPSetChangedCspSetting & aNewValues );
       
    28         
       
    29     public:
       
    30         void trigerAllowRefresh( 
       
    31                 const TSatRefreshType aType,
       
    32                 const TSatElementaryFiles aFiles  );
       
    33 
       
    34         void trigerRefresh( 
       
    35                 const TSatRefreshType aType,
       
    36                 const TSatElementaryFiles aFiles  );
       
    37         
       
    38         MSSSettingsRefreshObserver *m_observer;
       
    39     };
       
    40 
       
    41 #endif