emailservices/emailframework/inc/CFSMailPlugin.inl
branchRCL_3
changeset 24 d189ee25cf9d
parent 0 8466d47a6819
child 25 3533d4323edc
equal deleted inserted replaced
23:dcf0eedfc1a3 24:d189ee25cf9d
    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/ecom.h>
    19 #include <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
    68 // -----------------------------------------------------------------------------
    69 // -----------------------------------------------------------------------------
    69 // CFSMailPlugin::GetConnectionId
    70 // CFSMailPlugin::GetConnectionId
    70 // -----------------------------------------------------------------------------
    71 // -----------------------------------------------------------------------------
    71 inline TInt CFSMailPlugin::GetConnectionId(
    72 inline TInt CFSMailPlugin::GetConnectionId(
    72     TFSMailMsgId /*aMailBoxId*/,
    73     TFSMailMsgId /*aMailBoxId*/,
    73     TUint32& /*aConnectionId*/ )
    74     TUint32& /*aConnectionId*/ )
    74     {
    75     {
    75     return KErrNotSupported;
    76     return KErrNotSupported;
    76     }
    77     }
    77     
    78     
       
    79     // <cmail> empty implementations added to avoid CS warnings
    78 // -----------------------------------------------------------------------------
    80 // -----------------------------------------------------------------------------
    79 // CFSMailPlugin::IsConnectionAllowedWhenRoaming
    81 // CFSMailPlugin::IsConnectionAllowedWhenRoaming
    80 // -----------------------------------------------------------------------------
    82 // -----------------------------------------------------------------------------
    81 inline TInt CFSMailPlugin::IsConnectionAllowedWhenRoaming(
    83 inline TInt CFSMailPlugin::IsConnectionAllowedWhenRoaming(
    82 	TFSMailMsgId /*aMailBoxId*/,
    84 	TFSMailMsgId /*aMailBoxId*/,
    83 	TBool& /*aConnectionAllowed*/ )
    85 	TBool& /*aConnectionAllowed*/ )
    84     {
    86     {
    85     return KErrNotSupported;
    87     return KErrNotSupported;
    86     }
    88     }
    87     
    89 // </cmail>
    88 // End of File
    90 
       
    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>