testexecfw/stf/stfext/testmodules/teftestmod/teftestmodulefw/wrapperutils/inc/sysstartplugin.h
changeset 2 8bb370ba6d1d
equal deleted inserted replaced
1:bbd31066657e 2:8bb370ba6d1d
       
     1 /*
       
     2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #if !defined(__SYSSTARTPLUGIN_H__)
       
    21 #define __SYSSTARTPLUGIN_H__
       
    22 
       
    23 #include <e32base.h>
       
    24 #include <f32file.h>
       
    25 
       
    26 #ifdef SYMBIAN_SYSTEM_STATE_MANAGEMENT
       
    27 #include <ssm/ssmstateawaresession.h>
       
    28 
       
    29 class TSsmState;
       
    30 
       
    31 class CSysStartPlugin : public CBase, public MStateChangeNotificationSubscriber
       
    32 #else
       
    33 #include <domainmember.h>
       
    34 class CSysStartPlugin : public CDmDomain
       
    35 #endif
       
    36 	{
       
    37 public:
       
    38 	virtual void WaitForSystemStartL();
       
    39 	static CSysStartPlugin* NewL();
       
    40 	virtual ~CSysStartPlugin();
       
    41 	
       
    42 #ifdef SYMBIAN_SYSTEM_STATE_MANAGEMENT
       
    43 public: // from MStateChangeNotificationSubscriber
       
    44 	virtual void StateChanged(TSsmState aSsmState);
       
    45 	
       
    46 private:
       
    47 	CSsmStateAwareSession* iStateAwareSession;
       
    48 #else
       
    49 	virtual void RunL();
       
    50 #endif
       
    51 protected:
       
    52 	CSysStartPlugin();
       
    53 	void ConstructL();
       
    54 	};
       
    55 
       
    56 #endif