emailservices/emailframework/inc/CFSMailPlugin.inl
changeset 0 8466d47a6819
child 18 578830873419
child 63 d189ee25cf9d
equal deleted inserted replaced
-1:000000000000 0:8466d47a6819
       
     1 /*
       
     2 * Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: Inline methods for class CFSMailPlugin. 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include <ecom/ecom.h>
       
    20 
       
    21 // -----------------------------------------------------------------------------
       
    22 // constructor
       
    23 // -----------------------------------------------------------------------------
       
    24 //
       
    25 inline CFSMailPlugin::CFSMailPlugin()
       
    26     {
       
    27 
       
    28     }
       
    29 
       
    30 // -----------------------------------------------------------------------------
       
    31 // destructor
       
    32 // -----------------------------------------------------------------------------
       
    33 //
       
    34 inline CFSMailPlugin::~CFSMailPlugin()
       
    35     {
       
    36     REComSession::DestroyedImplementation(iDtor_ID_Key);
       
    37     }
       
    38 
       
    39 // -----------------------------------------------------------------------------
       
    40 // CFSMailPlugin::Close
       
    41 // -----------------------------------------------------------------------------
       
    42 //
       
    43 inline void CFSMailPlugin::Close()
       
    44     {
       
    45     REComSession::FinalClose();
       
    46     }
       
    47     
       
    48 // -----------------------------------------------------------------------------
       
    49 // CFSMailPlugin::ListImplementationsL
       
    50 // -----------------------------------------------------------------------------
       
    51 inline void CFSMailPlugin::ListImplementationsL(
       
    52     RPointerArray<CImplementationInformation>& aInfo)
       
    53     {
       
    54     REComSession::ListImplementationsL(KFSMailPluginInterface, aInfo);
       
    55     }
       
    56 
       
    57 // -----------------------------------------------------------------------------
       
    58 // CFSMailPlugin::NewL
       
    59 // -----------------------------------------------------------------------------
       
    60 //
       
    61 inline CFSMailPlugin* CFSMailPlugin::NewL(TUid aUid)
       
    62     {
       
    63     return static_cast<CFSMailPlugin*>( 
       
    64         REComSession::CreateImplementationL(
       
    65             aUid, _FOFF( CFSMailPlugin, iDtor_ID_Key ) ) );
       
    66     }
       
    67 
       
    68 // -----------------------------------------------------------------------------
       
    69 // CFSMailPlugin::GetConnectionId
       
    70 // -----------------------------------------------------------------------------
       
    71 inline TInt CFSMailPlugin::GetConnectionId(
       
    72     TFSMailMsgId /*aMailBoxId*/,
       
    73     TUint32& /*aConnectionId*/ )
       
    74     {
       
    75     return KErrNotSupported;
       
    76     }
       
    77     
       
    78 // -----------------------------------------------------------------------------
       
    79 // CFSMailPlugin::IsConnectionAllowedWhenRoaming
       
    80 // -----------------------------------------------------------------------------
       
    81 inline TInt CFSMailPlugin::IsConnectionAllowedWhenRoaming(
       
    82 	TFSMailMsgId /*aMailBoxId*/,
       
    83 	TBool& /*aConnectionAllowed*/ )
       
    84     {
       
    85     return KErrNotSupported;
       
    86     }
       
    87     
       
    88 // End of File