emailservices/emailserver/cmailhandlerplugin/inc/cmailcpsutils.h
branchRCL_3
changeset 8 e1b6206813b4
equal deleted inserted replaced
4:e7aa27f58ae1 8:e1b6206813b4
       
     1 /*
       
     2 * Copyright (c) 2008 - 2009 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:  Class to handle content publishing for widget
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CMAILCPSUTILS_H
       
    20 #define CMAILCPSUTILS_H
       
    21 
       
    22 #include <memailmessagedata.h> // TEmailPriority
       
    23 
       
    24 /**
       
    25  *  Utility methods for cps handler
       
    26  *  @lib fsmailserver.exe
       
    27  *  @since S60 v5.2
       
    28  */
       
    29 NONSHARABLE_CLASS( TMailCpsUtils )
       
    30     {
       
    31 public:
       
    32     
       
    33     /**
       
    34      * Two-phased constructor.
       
    35      * @param aOwner Owner and manager of this handler.
       
    36      */ 
       
    37     static TInt ResolveIcon( 
       
    38         TBool aUnread,
       
    39         TBool aCalMsg,
       
    40         TBool aAttas,
       
    41         EmailInterface::TEmailPriority aPrio,
       
    42         TBool aRe,
       
    43         TBool aFw );
       
    44     };
       
    45 
       
    46 #endif  // CMAILCPSUTILS_H