diff -r 6b1d113cdff3 -r 6638e7f4bd8f telephonyserverplugins/common_tsy/commontsy/inc/mmutility/ctsysystemstatepluginservice.inl --- a/telephonyserverplugins/common_tsy/commontsy/inc/mmutility/ctsysystemstatepluginservice.inl Mon May 03 13:37:20 2010 +0300 +++ b/telephonyserverplugins/common_tsy/commontsy/inc/mmutility/ctsysystemstatepluginservice.inl Thu May 06 15:10:38 2010 +0100 @@ -1,48 +1,48 @@ -// 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: -// - -#include - -// CONSTANTS -// Plugin name must match the default_data field in the resource file (case sensitive!) -_LIT8(KPluginName, "CtsySystemStatePluginPlugin"); -const TUid KCtsySystemStatePluginServiceImplementationUid = { 0x102859CE }; - -// ----------------------------------------------------------------------------- -// CCtsySystemStatePluginService::NewL -// Factory method to create implementation. Implementation is found via ECom. -// ----------------------------------------------------------------------------- -// -inline CCtsySystemStatePluginService* CCtsySystemStatePluginService::NewL() - { - TAny* interface = REComSession::CreateImplementationL(KCtsySystemStatePluginServiceImplementationUid, - _FOFF(CCtsySystemStatePluginService, iDestructorIDKey)); - - CCtsySystemStatePluginService* service = reinterpret_cast(interface); - - return service; - } - -// ----------------------------------------------------------------------------- -// CCtsySystemStatePluginService::~CCtsySystemStatePluginService -// Destructor informs ECom that implementation has been destroyed. -// ----------------------------------------------------------------------------- -inline CCtsySystemStatePluginService::~CCtsySystemStatePluginService() - { - REComSession::DestroyedImplementation(iDestructorIDKey); - } - - -// End of File +// 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: +// + +#include + +// CONSTANTS +// Plugin name must match the default_data field in the resource file (case sensitive!) +_LIT8(KPluginName, "CtsySystemStatePluginPlugin"); +const TUid KCtsySystemStatePluginServiceImplementationUid = { 0x102859CE }; + +// ----------------------------------------------------------------------------- +// CCtsySystemStatePluginService::NewL +// Factory method to create implementation. Implementation is found via ECom. +// ----------------------------------------------------------------------------- +// +inline CCtsySystemStatePluginService* CCtsySystemStatePluginService::NewL() + { + TAny* interface = REComSession::CreateImplementationL(KCtsySystemStatePluginServiceImplementationUid, + _FOFF(CCtsySystemStatePluginService, iDestructorIDKey)); + + CCtsySystemStatePluginService* service = reinterpret_cast(interface); + + return service; + } + +// ----------------------------------------------------------------------------- +// CCtsySystemStatePluginService::~CCtsySystemStatePluginService +// Destructor informs ECom that implementation has been destroyed. +// ----------------------------------------------------------------------------- +inline CCtsySystemStatePluginService::~CCtsySystemStatePluginService() + { + REComSession::DestroyedImplementation(iDestructorIDKey); + } + + +// End of File