emailservices/emailframework/inc/CFSMailPlugin.inl
changeset 0 8466d47a6819
child 18 578830873419
child 63 d189ee25cf9d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/emailservices/emailframework/inc/CFSMailPlugin.inl	Thu Dec 17 08:39:21 2009 +0200
@@ -0,0 +1,88 @@
+/*
+* Copyright (c) 2007-2008 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: Inline methods for class CFSMailPlugin. 
+*
+*/
+
+
+#include <ecom/ecom.h>
+
+// -----------------------------------------------------------------------------
+// constructor
+// -----------------------------------------------------------------------------
+//
+inline CFSMailPlugin::CFSMailPlugin()
+    {
+
+    }
+
+// -----------------------------------------------------------------------------
+// destructor
+// -----------------------------------------------------------------------------
+//
+inline CFSMailPlugin::~CFSMailPlugin()
+    {
+    REComSession::DestroyedImplementation(iDtor_ID_Key);
+    }
+
+// -----------------------------------------------------------------------------
+// CFSMailPlugin::Close
+// -----------------------------------------------------------------------------
+//
+inline void CFSMailPlugin::Close()
+    {
+    REComSession::FinalClose();
+    }
+    
+// -----------------------------------------------------------------------------
+// CFSMailPlugin::ListImplementationsL
+// -----------------------------------------------------------------------------
+inline void CFSMailPlugin::ListImplementationsL(
+    RPointerArray<CImplementationInformation>& aInfo)
+    {
+    REComSession::ListImplementationsL(KFSMailPluginInterface, aInfo);
+    }
+
+// -----------------------------------------------------------------------------
+// CFSMailPlugin::NewL
+// -----------------------------------------------------------------------------
+//
+inline CFSMailPlugin* CFSMailPlugin::NewL(TUid aUid)
+    {
+    return static_cast<CFSMailPlugin*>( 
+        REComSession::CreateImplementationL(
+            aUid, _FOFF( CFSMailPlugin, iDtor_ID_Key ) ) );
+    }
+
+// -----------------------------------------------------------------------------
+// CFSMailPlugin::GetConnectionId
+// -----------------------------------------------------------------------------
+inline TInt CFSMailPlugin::GetConnectionId(
+    TFSMailMsgId /*aMailBoxId*/,
+    TUint32& /*aConnectionId*/ )
+    {
+    return KErrNotSupported;
+    }
+    
+// -----------------------------------------------------------------------------
+// CFSMailPlugin::IsConnectionAllowedWhenRoaming
+// -----------------------------------------------------------------------------
+inline TInt CFSMailPlugin::IsConnectionAllowedWhenRoaming(
+	TFSMailMsgId /*aMailBoxId*/,
+	TBool& /*aConnectionAllowed*/ )
+    {
+    return KErrNotSupported;
+    }
+    
+// End of File