# HG changeset patch # User William Roberts # Date 1288344221 -3600 # Node ID fc883949f25bbb16ee0936843aaee98f32021370 # Parent 458d62869c00622b367421368d1893cbc4eea071 Reinstate startup/customcmds.mmp etc, which fell off by accident diff -r 458d62869c00 -r fc883949f25b startup/customcmds.mmp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/startup/customcmds.mmp Fri Oct 29 10:23:41 2010 +0100 @@ -0,0 +1,64 @@ +// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// customcmds.dll Reference custom command library +// +// + +/** + @file +*/ + +TARGET stem_customcmds.dll +TARGETTYPE dll +TARGETPATH /sys/bin +NOEXPORTLIBRARY + +UID 0x1000008D 0x2000E662 +VENDORID 0x70000001 + +#ifdef WINSCW +#error This won't build for WINSCW +#else +DEFFILE ./customcmds.def +#endif + +CAPABILITY PowerMgmt ReadDeviceData WriteDeviceData ProtServ DiskAdmin SwEvent + +USERINCLUDE /sf/os/devicesrv/sysstatemgmt/systemstatereferenceplugins/custcmd/inc +USERINCLUDE /sf/os/devicesrv/sysstatemgmt/systemstatereferenceplugins/localinc +USERINCLUDE /sf/os/devicesrv/sysstatemgmt/systemstatereferenceplugins/clayer/inc + +OS_LAYER_SYSTEMINCLUDE_SYMBIAN + +SOURCEPATH ./ +SOURCE ssmcustomcmdfactory.cpp + +SOURCEPATH /sf/os/devicesrv/sysstatemgmt/systemstatereferenceplugins/custcmd/src +SOURCE cmdcoopsysstatechange.cpp +SOURCE cmdpublishstartupmode.cpp +SOURCE securitynoteobserver.cpp +SOURCE cmddeletetempfiles.cpp + +SOURCEPATH /sf/os/devicesrv/sysstatemgmt/systemstatereferenceplugins/localsrc +SOURCE ssmpanic.cpp + +LIBRARY euser.lib +LIBRARY efsrv.lib +LIBRARY ssmcmn.lib +LIBRARY centralrepository.lib +LIBRARY ssmuiproviderdll.lib +LIBRARY ssmadaptationcli.lib +LIBRARY bafl.lib + +SMPSAFE diff -r 458d62869c00 -r fc883949f25b startup/customcmdsu.def --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/startup/customcmdsu.def Fri Oct 29 10:23:41 2010 +0100 @@ -0,0 +1,18 @@ +EXPORTS + _ZN19SsmCustomCmdFactory23CmdSimSecurityCheckNewLEv @ 1 NONAME ABSENT + _ZN19SsmCustomCmdFactory22CmdCoopSysSelfTestNewLEv @ 2 NONAME ABSENT + _ZN19SsmCustomCmdFactory32CmdCcoopSysPerformRfsActionsNewLEv @ 3 NONAME ABSENT + _ZN19SsmCustomCmdFactory33CmdActivateRfForEmergencyCallNewLEv @ 4 NONAME ABSENT + _ZN19SsmCustomCmdFactory35CmdCoopSysPerformRestartActionsNewLEv @ 5 NONAME ABSENT + _ZN19SsmCustomCmdFactory35CmdDeactivateRfForEmergencyCallNewLEv @ 6 NONAME ABSENT + _ZN19SsmCustomCmdFactory37CmdCcoopSysPerformShutdownActionsNewLEv @ 7 NONAME ABSENT + _ZN19SsmCustomCmdFactory25CmdCoopSysStateChangeNewLEv @ 8 NONAME + _ZN19SsmCustomCmdFactory25CmdPublishStartupModeNewLEv @ 9 NONAME + _ZN19SsmCustomCmdFactory32CmdPublishSimOwnedAndChangedNewLEv @ 10 NONAME ABSENT + _ZN19SsmCustomCmdFactory26CmdDeviceSecurityCheckNewLEv @ 11 NONAME ABSENT + _ZN19SsmCustomCmdFactory18CmdValidateRTCNewLEv @ 12 NONAME ABSENT + _ZN19SsmCustomCmdFactory21CmdCheckUserDriveNewLEv @ 13 NONAME ABSENT + _ZN19SsmCustomCmdFactory19CmdInitRamDriveNewLEv @ 14 NONAME ABSENT + _ZN19SsmCustomCmdFactory22CmdDeleteTempFilesNewLEv @ 15 NONAME + _ZN19SsmCustomCmdFactory25CmdClearStartupReasonNewLEv @ 16 NONAME ABSENT + diff -r 458d62869c00 -r fc883949f25b startup/ssmcustomcmdfactory.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/startup/ssmcustomcmdfactory.cpp Fri Oct 29 10:23:41 2010 +0100 @@ -0,0 +1,140 @@ +// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + +/** + @file + @internalComponent + @released +*/ + +#include "ssmcustomcmdfactory.h" +/* +#include "cmdsimsecuritycheck.h" +#include "cmddevicesecuritycheck.h" +#include "cmdcoopsysselftest.h" +#include "cmdcoopsysperformrestartactions.h" +#include "cmdcoopsysperformshutdownactions.h" +#include "cmdcoopsysperformrfsactions.h" +#include "cmdactivaterfforemergencycall.h" +#include "cmddeactivaterfforemergencycall.h" +*/ +#include "cmdcoopsysstatechange.h" +#include "cmdpublishstartupmode.h" +/* +#include "cmdpublishsimownedandchanged.h" +#include "cmdvalidatertc.h" +#include "cmdcheckuserdrive.h" +#include "cmdinitramdrive.h" +#include "cmdclearstartupreason.h" +*/ +#include "cmddeletetempfiles.h" + +/* +EXPORT_C MSsmCustomCommand* SsmCustomCmdFactory::CmdSimSecurityCheckNewL() + { + CCustomCmdSimSecurityCheck* self = CCustomCmdSimSecurityCheck::NewL(); + return self; + } + +EXPORT_C MSsmCustomCommand* SsmCustomCmdFactory::CmdCoopSysSelfTestNewL() + { + CCustomCmdCoopSysSelfTest* self = CCustomCmdCoopSysSelfTest::NewL(); + return self; + } + +EXPORT_C MSsmCustomCommand* SsmCustomCmdFactory::CmdCoopSysPerformRestartActionsNewL() + { + CCustomCmdCoopSysPerformRestartActions* self = CCustomCmdCoopSysPerformRestartActions::NewL(); + return self; + } + +EXPORT_C MSsmCustomCommand* SsmCustomCmdFactory::CmdCcoopSysPerformShutdownActionsNewL() + { + CCustomCmdCoopSysPerformShutdownActions* self = CCustomCmdCoopSysPerformShutdownActions::NewL(); + return self; + } + +EXPORT_C MSsmCustomCommand* SsmCustomCmdFactory::CmdCcoopSysPerformRfsActionsNewL() + { + CCustomCmdCoopSysPerformRfsActions* self = CCustomCmdCoopSysPerformRfsActions::NewL(); + return self; + } + +EXPORT_C MSsmCustomCommand* SsmCustomCmdFactory::CmdActivateRfForEmergencyCallNewL() + { + CCustomCmdActivateRfForEmergencyCall* self = CCustomCmdActivateRfForEmergencyCall::NewL(); + return self; + } + +EXPORT_C MSsmCustomCommand* SsmCustomCmdFactory::CmdDeactivateRfForEmergencyCallNewL() + { + CCustomCmdDeactivateRfForEmergencyCall* self = CCustomCmdDeactivateRfForEmergencyCall::NewL(); + return self; + } +*/ +EXPORT_C MSsmCustomCommand* SsmCustomCmdFactory::CmdCoopSysStateChangeNewL() + { + CCustomCmdCoopSysStateChange* self = CCustomCmdCoopSysStateChange::NewL(); + return self; + } + +EXPORT_C MSsmCustomCommand* SsmCustomCmdFactory::CmdPublishStartupModeNewL() + { + CCustomCmdPublishStartupMode* self = CCustomCmdPublishStartupMode::NewL(); + return self; + } +/* +EXPORT_C MSsmCustomCommand* SsmCustomCmdFactory::CmdPublishSimOwnedAndChangedNewL() + { + CCustomCmdPublishSimOwnedAndChanged* self = CCustomCmdPublishSimOwnedAndChanged::NewL(); + return self; + } + +EXPORT_C MSsmCustomCommand* SsmCustomCmdFactory::CmdDeviceSecurityCheckNewL() + { + CCustomCmdDeviceSecurityCheck* self = CCustomCmdDeviceSecurityCheck::NewL(); + return self; + } + +EXPORT_C MSsmCustomCommand* SsmCustomCmdFactory::CmdValidateRTCNewL() + { + CCustomCmdValidateRTC* self = CCustomCmdValidateRTC::NewL(); + return self; + } + +EXPORT_C MSsmCustomCommand* SsmCustomCmdFactory::CmdCheckUserDriveNewL() + { + CCustomCmdCheckUserDrive* self = CCustomCmdCheckUserDrive::NewL(); + return self; + } + +EXPORT_C MSsmCustomCommand* SsmCustomCmdFactory::CmdInitRamDriveNewL() + { + CCustomCmdInitRamDrive* self = CCustomCmdInitRamDrive::NewL(); + return self; + } + +EXPORT_C MSsmCustomCommand* SsmCustomCmdFactory::CmdClearStartupReasonNewL() + { + CCustomCmdClearStartupReason* self = CCustomCmdClearStartupReason::NewL(); + return self; + } +*/ + +EXPORT_C MSsmCustomCommand* SsmCustomCmdFactory::CmdDeleteTempFilesNewL() + { + CCustomCmdDeleteTempFiles* self = CCustomCmdDeleteTempFiles::NewL(); + return self; + }