sysstatemgmt/systemstatemgr/test/tsus/inc/tsus_badsup.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 /**
       
    17  @file
       
    18  @test
       
    19  @internalComponent - Internal Symbian test code 
       
    20 */
       
    21 
       
    22 
       
    23 #ifndef __TSUS_BADSUP_H__
       
    24 #define __TSUS_BADSUP_H__
       
    25 
       
    26 #include <e32base.h>
       
    27 #include <ssm/ssmutility.h>
       
    28 
       
    29 
       
    30 /**
       
    31 This polymorphic DLL should fail to load becuase it has the wrong UID2 assigned in the mmp file
       
    32 */		
       
    33 NONSHARABLE_CLASS(CBadSup) : public CActive, public MSsmUtility
       
    34 	{
       
    35 public:
       
    36 	IMPORT_C static MSsmUtility* NewL();
       
    37 	
       
    38 	//from MSsmUtility
       
    39 	void InitializeL();
       
    40 	void StartL();
       
    41 	void Release();
       
    42 
       
    43 	//from CActive
       
    44 	void DoCancel();
       
    45 	void RunL();
       
    46 	TInt RunError(TInt aError);
       
    47 	
       
    48 private:
       
    49 	//from CBase
       
    50 	CBadSup();
       
    51 	~CBadSup();
       
    52 	};
       
    53 
       
    54 #endif