sysstatemgmt/systemstatemgr/test/tsus/inc/tsus_goodsup.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_GOODSUP_H__
       
    24 #define __TSUS_GOODSUP_H__
       
    25 
       
    26 #include <e32base.h>
       
    27 #include <ssm/ssmutility.h>
       
    28 
       
    29 
       
    30 // Use this semaphore to signal the test when this plugin is run
       
    31 _LIT(KTestGoodSupSemaphore, "TestGoodSupSemaphore");
       
    32 
       
    33 
       
    34 NONSHARABLE_CLASS(CGoodSup) : public CActive, public MSsmUtility
       
    35 	{
       
    36 public:
       
    37 	IMPORT_C static MSsmUtility* NewL();
       
    38 	
       
    39 	//from MSsmUtility
       
    40 	void InitializeL();
       
    41 	void StartL();
       
    42 	void Release();
       
    43 
       
    44 	//from CActive
       
    45 	void DoCancel();
       
    46 	void RunL();
       
    47 	TInt RunError(TInt aError);
       
    48 	
       
    49 private:
       
    50 	//from CBase
       
    51 	CGoodSup();
       
    52 	~CGoodSup();
       
    53 	};
       
    54 
       
    55 #endif