email/mail/UtilsSrc/mailmessageutils.h
changeset 0 72b543305e3a
equal deleted inserted replaced
-1:000000000000 0:72b543305e3a
       
     1 /*
       
     2 * Copyright (c) 2002 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:  Static helper methods related to CMailMessage.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MAILMESSAGEUTILS_H
       
    20 #define MAILMESSAGEUTILS_H
       
    21 
       
    22 #include <e32std.h>
       
    23 
       
    24 // FORWARD DECLARATIONS
       
    25 class CMailMessage;
       
    26 
       
    27 /**
       
    28 * Class offers static helper methods related to CMailMessage.
       
    29 * This class contains utility methods that are not CMailMessage's core
       
    30 * functionality and which we want to keep internal to Mail subsystem.
       
    31 */
       
    32 class MailMessageUtils
       
    33     {
       
    34     public:
       
    35     
       
    36         /**
       
    37         * Method for checking wheather a message is outgoing or incoming.
       
    38         * @param aMessage message to evaluate
       
    39         * @return ETrue if message is outgoing
       
    40         */
       
    41         IMPORT_C static TBool IsOutgoingL( CMailMessage& aMessage );
       
    42 	
       
    43     };
       
    44 
       
    45 #endif // MAILMESSAGEUTILS_H
       
    46 
       
    47 // End of file