sysstatemgmt/systemstatereferenceplugins/test/tclayer/inc/adaptationcliwrapper.h
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 // Copyright (c) 2008-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 "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 // Contains wrapper helper functions for test code to control the test wrappers 
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file
       
    20  @test
       
    21  @internalComponent - Internal Symbian test code 
       
    22 */
       
    23 
       
    24 #ifndef ADAPTATIONCLIWRAPPER_H_
       
    25 #define ADAPTATIONCLIWRAPPER_H_
       
    26 
       
    27 class AdaptationCliWrapper
       
    28 {
       
    29 public:
       
    30 	static void SetRSsmAdaptationBaseNextConnectReturn(TInt aRet);
       
    31 	static TInt GetRSsmAdaptationBaseNextConnectReturn();
       
    32 	
       
    33 	static void SetRSsmRtcAdaptationNextValidity(TBool aValidity);
       
    34 	static TBool GetRSsmRtcAdaptationNextValidity();
       
    35 
       
    36 	static void SetRSsmRtcAdaptationNextValidityReturn(TInt aRet);
       
    37 	static TInt GetRSsmRtcAdaptationNextValidityReturn();	
       
    38 	
       
    39 	static void SetRSsmEmergencyCallReturnValue(TInt aRet);
       
    40 	static TInt GetRSsmEmergencyCallReturnValue();
       
    41 	
       
    42 	static void SetSimOwnedReturnValue(TInt aRet);
       
    43 	static TInt GetSimOwnedReturnValue();
       
    44 
       
    45 	static void SetSimOwned(TBool aOwned);
       
    46 	static TBool GetSimOwned();
       
    47 	
       
    48 	static void SetSimChangedReturnValue(TInt aRet);
       
    49 	static TInt GetSimChangedReturnValue();	
       
    50 
       
    51 	static void SetSimChanged(TBool aChanged);
       
    52 	
       
    53 	static void SetSimNotifyStatus(TRequestStatus* aStatus);
       
    54 	static TRequestStatus* GetSimNotifyStatus();
       
    55 	
       
    56 	static void SetSimEventPckg(TDes8* aPckg);
       
    57 	static TDes8* GetSimEventPckg();
       
    58 	
       
    59 private:
       
    60 	static TInt iSimChangedReturn;
       
    61 	static TInt iSimOwnedReturn;
       
    62 	static TRequestStatus* iSimNotifyStatus;
       
    63 	static TBool iSimChanged;
       
    64 	static TBool iSimOwned;
       
    65 	static TDes8* iSimEventPckg;
       
    66 	static TInt iSsmAdaptationBaseNextConnect;
       
    67 	static TBool iSsmRtcAdaptationNextValidity;
       
    68 	static TInt iSsmRtcAdaptationNextValidityReturn;
       
    69 	static TInt iSsmEmergencyCallReturnValue;
       
    70 };
       
    71 
       
    72 #endif /*ADAPTATIONCLIWRAPPER_H_*/