emailservices/emailframework/inc/CFSMailPlugin.inl
branchRCL_3
changeset 25 3533d4323edc
parent 24 d189ee25cf9d
equal deleted inserted replaced
24:d189ee25cf9d 25:3533d4323edc
    14 * Description: Inline methods for class CFSMailPlugin. 
    14 * Description: Inline methods for class CFSMailPlugin. 
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 
    18 
    19 #include <ecom.h>
    19 #include <ecom/ecom.h>
    20 
    20 
    21 // -----------------------------------------------------------------------------
    21 // -----------------------------------------------------------------------------
    22 // constructor
    22 // constructor
    23 // -----------------------------------------------------------------------------
    23 // -----------------------------------------------------------------------------
    24 //
    24 //
    63     return static_cast<CFSMailPlugin*>( 
    63     return static_cast<CFSMailPlugin*>( 
    64         REComSession::CreateImplementationL(
    64         REComSession::CreateImplementationL(
    65             aUid, _FOFF( CFSMailPlugin, iDtor_ID_Key ) ) );
    65             aUid, _FOFF( CFSMailPlugin, iDtor_ID_Key ) ) );
    66     }
    66     }
    67 
    67 
    68 // <cmail> empty implementations added to avoid CS warnings
       
    69 // -----------------------------------------------------------------------------
    68 // -----------------------------------------------------------------------------
    70 // CFSMailPlugin::GetConnectionId
    69 // CFSMailPlugin::GetConnectionId
    71 // -----------------------------------------------------------------------------
    70 // -----------------------------------------------------------------------------
    72 inline TInt CFSMailPlugin::GetConnectionId(
    71 inline TInt CFSMailPlugin::GetConnectionId(
    73     TFSMailMsgId /*aMailBoxId*/,
    72     TFSMailMsgId /*aMailBoxId*/,
    74     TUint32& /*aConnectionId*/ )
    73     TUint32& /*aConnectionId*/ )
    75     {
    74     {
    76     return KErrNotSupported;
    75     return KErrNotSupported;
    77     }
    76     }
    78     
    77     
    79     // <cmail> empty implementations added to avoid CS warnings
       
    80 // -----------------------------------------------------------------------------
    78 // -----------------------------------------------------------------------------
    81 // CFSMailPlugin::IsConnectionAllowedWhenRoaming
    79 // CFSMailPlugin::IsConnectionAllowedWhenRoaming
    82 // -----------------------------------------------------------------------------
    80 // -----------------------------------------------------------------------------
    83 inline TInt CFSMailPlugin::IsConnectionAllowedWhenRoaming(
    81 inline TInt CFSMailPlugin::IsConnectionAllowedWhenRoaming(
    84 	TFSMailMsgId /*aMailBoxId*/,
    82 	TFSMailMsgId /*aMailBoxId*/,
    85 	TBool& /*aConnectionAllowed*/ )
    83 	TBool& /*aConnectionAllowed*/ )
    86     {
    84     {
    87     return KErrNotSupported;
    85     return KErrNotSupported;
    88     }
    86     }
    89 // </cmail>
    87     
    90 
    88 // End of File
    91 // <qmail>
       
    92 // -----------------------------------------------------------------------------
       
    93 // CFSMailPlugin::CreateMessageToSendL
       
    94 // -----------------------------------------------------------------------------
       
    95 inline void CFSMailPlugin::CreateMessageToSendL(
       
    96     const TFSMailMsgId& /*aMailBoxId*/,
       
    97     MFSMailRequestObserver& /*aOperationObserver*/,
       
    98     const TInt /*aRequestId*/ )
       
    99     {
       
   100     User::Leave( KErrFSMailPluginNotSupported );
       
   101     }
       
   102 
       
   103 // -----------------------------------------------------------------------------
       
   104 // CFSMailPlugin::CreateForwardMessageL
       
   105 // -----------------------------------------------------------------------------
       
   106 inline void CFSMailPlugin::CreateForwardMessageL( const TFSMailMsgId& /*aMailBoxId*/,
       
   107     const TFSMailMsgId& /*aOriginalMessageId*/,
       
   108     MFSMailRequestObserver& /*aOperationObserver*/,
       
   109     const TInt /*aRequestId*/,
       
   110     const TDesC& /*aHeaderDescriptor*/ )
       
   111     {
       
   112     User::Leave( KErrFSMailPluginNotSupported );
       
   113     }
       
   114 
       
   115 // -----------------------------------------------------------------------------
       
   116 // CFSMailPlugin::CreateReplyMessageL
       
   117 // -----------------------------------------------------------------------------
       
   118 inline void CFSMailPlugin::CreateReplyMessageL( const TFSMailMsgId& /*aMailBoxId*/,
       
   119     const TFSMailMsgId& /*aOriginalMessageId*/,
       
   120     const TBool /*aReplyToAll*/,
       
   121     MFSMailRequestObserver& /*aOperationObserver*/,
       
   122     const TInt /*aRequestId*/,
       
   123     const TDesC& /*aHeaderDescriptor*/ )
       
   124     {
       
   125     User::Leave( KErrFSMailPluginNotSupported );
       
   126     }
       
   127 
       
   128 // -----------------------------------------------------------------------------
       
   129 // CFSMailPlugin::SendMessageL
       
   130 // -----------------------------------------------------------------------------
       
   131 inline void CFSMailPlugin::SendMessageL(
       
   132         CFSMailMessage& /*aMessage*/,
       
   133         MFSMailRequestObserver& /*aOperationObserver*/,
       
   134         const TInt /*aRequestId*/ )
       
   135     {
       
   136     User::Leave( KErrFSMailPluginNotSupported );
       
   137     }
       
   138 
       
   139 // -----------------------------------------------------------------------------
       
   140 // CFSMailPlugin::NewChildPartFromFileL
       
   141 // -----------------------------------------------------------------------------
       
   142 inline void CFSMailPlugin::NewChildPartFromFileL( const TFSMailMsgId& /*aMailBoxId*/,
       
   143                                      const TFSMailMsgId& /*aParentFolderId*/,
       
   144                                      const TFSMailMsgId& /*aMessageId*/,
       
   145                                      const TFSMailMsgId& /*aParentPartId*/,
       
   146                                      const TDesC& /*aContentType*/,
       
   147                                      const TDesC& /*aFilePath*/,
       
   148                                      MFSMailRequestObserver& /*aOperationObserver*/,
       
   149                                      const TInt /*aRequestId*/ )
       
   150     {
       
   151     User::Leave( KErrFSMailPluginNotSupported );
       
   152     }
       
   153 
       
   154 // -----------------------------------------------------------------------------
       
   155 // CFSMailPlugin::RemoveChildPartL
       
   156 // -----------------------------------------------------------------------------
       
   157 inline void CFSMailPlugin::RemoveChildPartL( const TFSMailMsgId& /*aMailBoxId*/,
       
   158                                const TFSMailMsgId& /*aParentFolderId*/,
       
   159                                const TFSMailMsgId& /*aMessageId*/,
       
   160                                const TFSMailMsgId& /*aParentPartId*/,
       
   161                                const TFSMailMsgId& /*aPartId*/,
       
   162                                MFSMailRequestObserver& /*aOperationObserver*/,
       
   163                                const TInt /*aRequestId*/)
       
   164     {
       
   165     User::Leave( KErrFSMailPluginNotSupported );
       
   166     }
       
   167 
       
   168 // -----------------------------------------------------------------------------
       
   169 // CFSMailPlugin::DeleteMessagesByUidL
       
   170 // -----------------------------------------------------------------------------
       
   171 inline void CFSMailPlugin::DeleteMessagesByUidL( const TFSMailMsgId& /*aMailBoxId*/,
       
   172                                    const TFSMailMsgId& /*aFolderId*/,
       
   173                                    const RArray<TFSMailMsgId>& /*aMessages*/,
       
   174                                    MFSMailRequestObserver& /*aOperationObserver*/,
       
   175                                    const TInt /*aRequestId*/ )
       
   176     {
       
   177     User::Leave( KErrFSMailPluginNotSupported );
       
   178     }
       
   179 // </qmail>
       
   180 
       
   181 // <qmail>
       
   182 // -----------------------------------------------------------------------------
       
   183 // CFSMailPlugin::GetSignatureL
       
   184 // -----------------------------------------------------------------------------
       
   185 inline HBufC* CFSMailPlugin::GetSignatureL( const TFSMailMsgId& /*aMailBoxId*/ )
       
   186     {
       
   187     return NULL;
       
   188     }
       
   189 // </qmail>