sysstatemgmt/systemstatereferenceplugins/custcmd/inc/cmdcoopsysselftest.h
changeset 76 cb32bcc88bad
parent 0 4e1aa6a622a0
equal deleted inserted replaced
73:d38941471f1c 76:cb32bcc88bad
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
    21 
    21 
    22 #ifndef __CMDCOOPSYSSELFTEST_H__
    22 #ifndef __CMDCOOPSYSSELFTEST_H__
    23 #define __CMDCOOPSYSSELFTEST_H__
    23 #define __CMDCOOPSYSSELFTEST_H__
    24 
    24 
    25 #include <ssm/ssmcustomcommand.h>
    25 #include <ssm/ssmcustomcommand.h>
       
    26 #ifdef SYMBIAN_INCLUDE_APP_CENTRIC
       
    27 #include <r_sec_logical_channel.h>
       
    28 #else
    26 #include <ssm/ssmadaptationcli.h>
    29 #include <ssm/ssmadaptationcli.h>
       
    30 #endif //SYMBIAN_INCLUDE_APP_CENTRIC
       
    31 
    27 
    32 
    28 NONSHARABLE_CLASS (CCustomCmdCoopSysSelfTest) : public CBase, public MSsmCustomCommand
    33 NONSHARABLE_CLASS (CCustomCmdCoopSysSelfTest) : public CBase, public MSsmCustomCommand
    29 	{
    34 	{
    30 public:
    35 public:
    31 	static CCustomCmdCoopSysSelfTest* NewL();
    36 	static CCustomCmdCoopSysSelfTest* NewL();
    40 private:
    45 private:
    41 	CCustomCmdCoopSysSelfTest();
    46 	CCustomCmdCoopSysSelfTest();
    42 	~CCustomCmdCoopSysSelfTest();
    47 	~CCustomCmdCoopSysSelfTest();
    43 
    48 
    44 private:
    49 private:
       
    50 //Read the selftest result from Security Driver if SYMBIAN_INCLUDE_APP_CENTRIC is enabled.
       
    51 #ifdef SYMBIAN_INCLUDE_APP_CENTRIC
       
    52 	RSecEnvLogicalChannel iSecEnvLogicalChannel;
       
    53 	TBool iSsmLoadSecLdd;
       
    54 	TSecSelfTest iParam;
       
    55 #else
    45 	RSsmStateAdaptation iSsmStateAdaptation;
    56 	RSsmStateAdaptation iSsmStateAdaptation;
       
    57 #endif //SYMBIAN_INCLUDE_APP_CENTRIC
    46 	};
    58 	};
    47 
    59 
    48 #endif // __CMDCOOPSYSSELFTEST_H__
    60 #endif // __CMDCOOPSYSSELFTEST_H__