remotemgmt_plat/lawmo_plugin_api/inc/lawmointerface.inl
branchRCL_3
changeset 24 13d7c31c74e0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/remotemgmt_plat/lawmo_plugin_api/inc/lawmointerface.inl	Thu Aug 19 10:44:50 2010 +0300
@@ -0,0 +1,40 @@
+/*
+* Copyright (c) 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:  LAWMO Interface 
+*
+*/
+
+/**
+ * C++ Destructor
+ */
+inline CLAWMOPluginInterface::~CLAWMOPluginInterface()
+	{
+	// Destroy any instance variables and then
+	// inform the framework that this specific 
+	// instance of the interface has been destroyed.
+	REComSession::DestroyedImplementation(iDtor_ID_Key);
+	}
+	
+/**
+ * Create instance of CLAWMOPluginInterface
+ * @param aUid , implementation Uid
+ * @return Instance of CLAWMOPluginInterface
+ */
+inline CLAWMOPluginInterface* CLAWMOPluginInterface::NewL(TUid aUid, MLawmoPluginWipeObserver* aObserver)
+	{		
+		TAny* ptr = REComSession::CreateImplementationL( aUid, _FOFF(CLAWMOPluginInterface, iDtor_ID_Key), aObserver);
+    CLAWMOPluginInterface* self = reinterpret_cast<CLAWMOPluginInterface*>( ptr );
+    return self;
+	}
+//
\ No newline at end of file