diff -r 000000000000 -r 4e1aa6a622a0 sysstatemgmt/systemstateplugins/adptplugin/inc/miscadaptationref.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sysstatemgmt/systemstateplugins/adptplugin/inc/miscadaptationref.h Tue Feb 02 00:53:00 2010 +0200 @@ -0,0 +1,75 @@ +// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + +#ifndef __MISCADAPTATION_H__ +#define __MISCADAPTATION_H__ + +#include +#include "f32file.h" +#include "s32file.h" +/* + SecurityCustomCommand Test Case ID + + @internalComponent + @released +*/ +enum TTestSecurityCustomCommandTestCaseID + { + EPINCHECK01 = 1, + EPINCHECK02, + EPINCHECK03, + EPINCHECK04, + EPINCHECK05, + EPINCHECK06, + EPINCHECK07, + EPINCHECK08 + }; + +/** + Collection of different adaptations. + Implements MMiscAdaptation for different adaptations. + + @internalComponent + @released + + @see MMiscAdaptation +*/ +class CMiscAdaptationRef : public CBase, public MMiscAdaptation + { +public: + static CMiscAdaptationRef* NewL(); + + //from MMiscAdaptation + void Release(); + void SecurityStateChange(TInt aState, TDes8& aResponsePckg, TRequestStatus& aStatus); + void GetGlobalStartupMode(TDes8& aModePckg, TRequestStatus& aRequest); + void PrepareSimLanguages(TSsmLanguageListPriority aPriority, TDes8& aSizePckg, TRequestStatus& aStatus); + void GetSimLanguagesL(CBufBase* aBuf, TInt aCount); + void GetHiddenReset(TDes8& aHiddenResetPckg, TRequestStatus& aStatus); + void Cancel(); + +private: + CMiscAdaptationRef(); + void ConstructL(); + ~CMiscAdaptationRef(); + +private: + TInt iTestCaseNum; + RFs iFs; + RFileReadStream iFile; + }; + +#endif // __MISCADAPTATION_H__ +