sysstatemgmt/systemstatereferenceplugins/clayer/inc/saamiscadaptation.h
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 // Copyright (c) 2007-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 //
       
    15 
       
    16 #ifndef __SAAMISCADAPTATION_H__
       
    17 #define __SAAMISCADAPTATION_H__
       
    18 
       
    19 #include <ssm/ssmadaptation.h>
       
    20 #include "adaptationbase.h"
       
    21 
       
    22 class CStartupAdaptationAdapter;
       
    23 
       
    24 /*
       
    25  * Provides a concrete class to provide the appropriate adaptation interface
       
    26  * 
       
    27  * @internalComponent
       
    28  */
       
    29 NONSHARABLE_CLASS(CSaaMiscAdaptation) : public CAdaptationBase, public MMiscAdaptation
       
    30 {
       
    31 public:
       
    32 	static CSaaMiscAdaptation* NewL(CStartupAdaptationAdapter* aAdapter);
       
    33 	~CSaaMiscAdaptation();
       
    34 	
       
    35 public:
       
    36 	//from MMiscAdaptation
       
    37 	virtual void Release();
       
    38 
       
    39 	virtual void SecurityStateChange(TInt aState, TDes8& aResponsePckg, TRequestStatus& aStatus);
       
    40 	virtual void GetGlobalStartupMode(TDes8& aModePckg, TRequestStatus& aRequest);
       
    41 	virtual void PrepareSimLanguages(TSsmLanguageListPriority aPriority, TDes8& aSizePckg, TRequestStatus& aStatus);
       
    42 	virtual void GetSimLanguagesL(CBufBase* aBuf, TInt aCount);
       
    43 	virtual void GetHiddenReset(TDes8& aHiddenResetPckg, TRequestStatus& aStatus);
       
    44 	virtual void Cancel();
       
    45 	
       
    46 	//from CAdaptationBase
       
    47 	virtual void RequestComplete(const StartupAdaptation::TCommand aCommandId, TDesC8& aRetPckg); 
       
    48 	virtual TDesC8* ParameterPckg();
       
    49 
       
    50 private:
       
    51 	CSaaMiscAdaptation(CStartupAdaptationAdapter* aAdapter);
       
    52 	
       
    53 private:
       
    54 	TBuf8<1> iNullBuf;
       
    55 	StartupAdaptation::TSecurityStateChangePckg iSecurityStateChangePckg;
       
    56 	StartupAdaptation::TLanguageListPriorityPckg iLanguageListPriorityPckg;
       
    57 	TDes8* iReturnPckg;
       
    58 	StartupAdaptation::RLanguageList iLanguageList;
       
    59 };
       
    60 
       
    61 #endif // __SAAMISCADAPTATION_H__