sysstatemgmt/systemstatemgr/sus/inc/susadaptationpluginloader.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 __SUSADAPTATIONPLUGINLOADER_H__
       
    17 #define __SUSADAPTATIONPLUGINLOADER_H__
       
    18 
       
    19 #include <e32base.h>
       
    20 #include <e32std.h> 
       
    21 #include "ssmadaptation.h"
       
    22 
       
    23 /**
       
    24  @internalComponent
       
    25  @released
       
    26  */
       
    27 
       
    28 _LIT(KStateAdaptationPlugin, "stateadaptation.dll");
       
    29 _LIT(KSimAdaptationPlugin, "simadaptation.dll");
       
    30 _LIT(KRtcAdaptationPlugin, "rtcadaptation.dll");
       
    31 _LIT(KMiscAdaptationPlugin, "miscadaptation.dll");
       
    32 _LIT(KEmergencyCallRfAdaptationPlugin, "emergencycallrfadaptation.dll");
       
    33 
       
    34 _LIT(KRefStateAdaptationPlugin, "stateadaptationref.dll");
       
    35 _LIT(KRefSimAdaptationPlugin, "simadaptationref.dll");
       
    36 _LIT(KRefRtcAdaptationPlugin, "rtcadaptationref.dll");
       
    37 _LIT(KRefMiscAdaptationPlugin, "miscadaptationref.dll");
       
    38 _LIT(KRefEmergencyCallRfAdaptationPlugin, "emergencycallrfadaptationref.dll");
       
    39 
       
    40 class CSusAdaptationPluginLoader : public CBase
       
    41 	{
       
    42 public:
       
    43 
       
    44 	static CSusAdaptationPluginLoader* NewL();
       
    45 	~CSusAdaptationPluginLoader();
       
    46 
       
    47 	MEmergencyCallRfAdaptation* CreateEmergencyCallRfAdaptationL();
       
    48 	MStateAdaptation* CreateStateAdaptationL();
       
    49 	MSimAdaptation* CreateSimAdaptationL();
       
    50 	MMiscAdaptation* CreateMiscAdaptationL();
       
    51 	MRtcAdaptation* CreateRtcAdaptationL();
       
    52 
       
    53 private:
       
    54 	CSusAdaptationPluginLoader();
       
    55 
       
    56 private:
       
    57 	RLibrary ilibEmergencyCallRfAdaptation;
       
    58 	RLibrary ilibStateAdaptation;
       
    59 	RLibrary ilibSimAdaptation;
       
    60 	RLibrary ilibMiscAdaptation;
       
    61 	RLibrary ilibRtcAdaptation;
       
    62 	};
       
    63 
       
    64 #endif //__SUSADAPTATIONPLUGINLOADER_H__