sysstatemgmt/systemstatereferenceplugins/custcmd/src/ssmcustomcmdfactory.cpp
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  @internalComponent
       
    19  @released
       
    20 */
       
    21 
       
    22 #include "ssmcustomcmdfactory.h"
       
    23 #include "cmdsimsecuritycheck.h"
       
    24 #include "cmddevicesecuritycheck.h"
       
    25 #include "cmdcoopsysselftest.h"
       
    26 #include "cmdcoopsysperformrestartactions.h"
       
    27 #include "cmdcoopsysperformshutdownactions.h"
       
    28 #include "cmdcoopsysperformrfsactions.h"
       
    29 #include "cmdactivaterfforemergencycall.h"
       
    30 #include "cmddeactivaterfforemergencycall.h"
       
    31 #include "cmdcoopsysstatechange.h"
       
    32 #include "cmdpublishstartupmode.h"
       
    33 #include "cmdpublishsimownedandchanged.h"
       
    34 #include "cmdvalidatertc.h"
       
    35 #include "cmdcheckuserdrive.h"
       
    36 #include "cmdinitramdrive.h"
       
    37 #include "cmdclearstartupreason.h"
       
    38 #include "cmddeletetempfiles.h"
       
    39 
       
    40 EXPORT_C MSsmCustomCommand* SsmCustomCmdFactory::CmdSimSecurityCheckNewL()
       
    41 	{
       
    42 	CCustomCmdSimSecurityCheck* self = CCustomCmdSimSecurityCheck::NewL();
       
    43 	return self;
       
    44 	}
       
    45 
       
    46 EXPORT_C MSsmCustomCommand* SsmCustomCmdFactory::CmdCoopSysSelfTestNewL()
       
    47 	{
       
    48 	CCustomCmdCoopSysSelfTest* self = CCustomCmdCoopSysSelfTest::NewL();
       
    49 	return self;
       
    50 	}
       
    51 
       
    52 EXPORT_C MSsmCustomCommand* SsmCustomCmdFactory::CmdCoopSysPerformRestartActionsNewL()
       
    53 	{
       
    54 	CCustomCmdCoopSysPerformRestartActions* self = CCustomCmdCoopSysPerformRestartActions::NewL();
       
    55 	return self;
       
    56 	}
       
    57 
       
    58 EXPORT_C MSsmCustomCommand* SsmCustomCmdFactory::CmdCcoopSysPerformShutdownActionsNewL()
       
    59 	{
       
    60 	CCustomCmdCoopSysPerformShutdownActions* self = CCustomCmdCoopSysPerformShutdownActions::NewL();
       
    61 	return self;
       
    62 	}
       
    63 
       
    64 EXPORT_C MSsmCustomCommand* SsmCustomCmdFactory::CmdCcoopSysPerformRfsActionsNewL()
       
    65 	{
       
    66 	CCustomCmdCoopSysPerformRfsActions* self = CCustomCmdCoopSysPerformRfsActions::NewL();
       
    67 	return self;
       
    68 	}
       
    69 
       
    70 EXPORT_C MSsmCustomCommand* SsmCustomCmdFactory::CmdActivateRfForEmergencyCallNewL()
       
    71 	{
       
    72 	CCustomCmdActivateRfForEmergencyCall* self = CCustomCmdActivateRfForEmergencyCall::NewL();
       
    73 	return self;
       
    74 	}
       
    75 
       
    76 EXPORT_C MSsmCustomCommand* SsmCustomCmdFactory::CmdDeactivateRfForEmergencyCallNewL()
       
    77 	{
       
    78 	CCustomCmdDeactivateRfForEmergencyCall* self = CCustomCmdDeactivateRfForEmergencyCall::NewL();
       
    79 	return self;
       
    80 	}
       
    81 
       
    82 EXPORT_C MSsmCustomCommand* SsmCustomCmdFactory::CmdCoopSysStateChangeNewL()
       
    83 	{
       
    84 	CCustomCmdCoopSysStateChange* self = CCustomCmdCoopSysStateChange::NewL();
       
    85 	return self;
       
    86 	}
       
    87 
       
    88 EXPORT_C MSsmCustomCommand* SsmCustomCmdFactory::CmdPublishStartupModeNewL()
       
    89 	{
       
    90 	CCustomCmdPublishStartupMode* self = CCustomCmdPublishStartupMode::NewL();
       
    91 	return self;
       
    92 	}
       
    93 
       
    94 EXPORT_C MSsmCustomCommand* SsmCustomCmdFactory::CmdPublishSimOwnedAndChangedNewL()
       
    95 	{
       
    96 	CCustomCmdPublishSimOwnedAndChanged* self = CCustomCmdPublishSimOwnedAndChanged::NewL();
       
    97 	return self;
       
    98 	}
       
    99 
       
   100 EXPORT_C MSsmCustomCommand* SsmCustomCmdFactory::CmdDeviceSecurityCheckNewL()
       
   101 	{
       
   102 	CCustomCmdDeviceSecurityCheck* self = CCustomCmdDeviceSecurityCheck::NewL();
       
   103 	return self;
       
   104 	}
       
   105 
       
   106 EXPORT_C MSsmCustomCommand* SsmCustomCmdFactory::CmdValidateRTCNewL()
       
   107     {
       
   108     CCustomCmdValidateRTC* self = CCustomCmdValidateRTC::NewL();
       
   109     return self;
       
   110     }
       
   111 
       
   112 EXPORT_C MSsmCustomCommand* SsmCustomCmdFactory::CmdCheckUserDriveNewL()
       
   113     {
       
   114     CCustomCmdCheckUserDrive* self = CCustomCmdCheckUserDrive::NewL();
       
   115 	return self;
       
   116     }
       
   117 
       
   118 EXPORT_C MSsmCustomCommand* SsmCustomCmdFactory::CmdInitRamDriveNewL()
       
   119     {
       
   120     CCustomCmdInitRamDrive* self = CCustomCmdInitRamDrive::NewL();
       
   121     return self;
       
   122     }
       
   123 
       
   124 EXPORT_C MSsmCustomCommand* SsmCustomCmdFactory::CmdClearStartupReasonNewL()
       
   125     {
       
   126     CCustomCmdClearStartupReason* self = CCustomCmdClearStartupReason::NewL();
       
   127     return self;
       
   128     }
       
   129 
       
   130 EXPORT_C MSsmCustomCommand* SsmCustomCmdFactory::CmdDeleteTempFilesNewL()
       
   131     {
       
   132     CCustomCmdDeleteTempFiles* self = CCustomCmdDeleteTempFiles::NewL();
       
   133     return self;
       
   134     }