emailservices/emailframework/data/fsmailbrandmanager.rss
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 21 Jun 2010 15:20:54 +0300
branchRCL_3
changeset 20 efd4f1afd43e
parent 17 67369d1b217f
child 24 d189ee25cf9d
permissions -rw-r--r--
Revision: 201023 Kit: 2010125

/*
* Copyright (c) 2001 - 2009 Nokia Corporation and/or its subsidiary(-ies). 
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  Resource file for email branding.
*
*/

NAME FSMB

#include <eikon.rh>
#include <data_caging_paths_strings.hrh>
#include <google_brand_graphics.mbg>
#include <yahoo_brand_graphics.mbg>
#include <microsoft_brand_graphics.mbg>
#include <ovi_brand_graphics.mbg>
#include <aol_brand_graphics.mbg>
#include <mail_for_exchange_brand_graphics.mbg>

#include "mailbrandmanager.hrh"
#include "mailbrandmanager.rh"

// ---------------------------------------------------------
//   
//    Define the resource file signature 
//    This resource should be empty.
//
// ---------------------------------------------------------
//
RESOURCE RSS_SIGNATURE { }

RESOURCE BRANDING_DATA r_branding_data
    {
    list_of_brands =
        {
        BRAND {

            // Definition of Google Mail brand   
            graphics_file_path = APP_BITMAP_DIR"\\google_brand_graphics.mif";

            brand_id_match_strings =
                {
                BRAND_MATCH_STRING { text = "googlemail.com"; }
                };
            
            graphics = 
                {              		     		
                BRANDABLE_GRAPHIC { id = EFSMailboxIcon; 
                icon_id = EMbmGoogle_brand_graphicsGmail44svgtest4;
                mask_id = EMbmGoogle_brand_graphicsGmail44svgtest4_mask; }                    
                };
                
            texts = 
                {
                BRANDABLE_TEXT { id = EFSMailboxName; text = "Google Mail"; }
                };
                
            colors =
            	{
            	BRANDABLE_COLOR { id = EFSMailboxNameColor; red = 0xff; green = 0x30; blue = 0x20; alpha = 0xff; }
            	};
             },
             
             BRAND {

                 // Definition of GMail brand   
                 graphics_file_path = APP_BITMAP_DIR"\\google_brand_graphics.mif";
                 brand_id_match_strings =
                     {
                     BRAND_MATCH_STRING { text = "gmail.com"; }
                     };
                 graphics = 
                     {                               
                      BRANDABLE_GRAPHIC { id = EFSMailboxIcon; 
                      icon_id = EMbmGoogle_brand_graphicsGmail44svgtest4;
                      mask_id = EMbmGoogle_brand_graphicsGmail44svgtest4_mask; }                    
                     };
                     
                 texts = 
                     {
                     BRANDABLE_TEXT { id = EFSMailboxName; text = "Gmail"; }
                     };
                     
                 colors =
                     {
                     BRANDABLE_COLOR { id = EFSMailboxNameColor; red = 0xff; green = 0x30; blue = 0x20; alpha = 0xff; }
                     };
                  },
            
            BRAND {
                // Definition of Yahoo! Mail brand   
                graphics_file_path = APP_BITMAP_DIR"\\yahoo_brand_graphics.mif";

                brand_id_match_strings =
                    {
                    BRAND_MATCH_STRING { text = "*.ymail.com"; },
                    BRAND_MATCH_STRING { text = "ymail.com"; },
                    BRAND_MATCH_STRING { text = "*.kimo.com"; },
                    BRAND_MATCH_STRING { text = "kimo.com"; },
                    BRAND_MATCH_STRING { text = "*.geocities.com"; },
                    BRAND_MATCH_STRING { text = "geocities.com"; },
                    BRAND_MATCH_STRING { text = "*.rocketmail.com"; },
                    BRAND_MATCH_STRING { text = "rocketmail.com"; },
                    BRAND_MATCH_STRING { text = "*.yahoo.ca"; },
                    BRAND_MATCH_STRING { text = "yahoo.ca"; },
                    BRAND_MATCH_STRING { text = "*.yahoo.cn"; },
                    BRAND_MATCH_STRING { text = "yahoo.cn"; },
                    BRAND_MATCH_STRING { text = "*.yahoo.co.in"; },
                    BRAND_MATCH_STRING { text = "yahoo.co.in"; },
                    BRAND_MATCH_STRING { text = "*.yahoo.in"; },
                    BRAND_MATCH_STRING { text = "yahoo.in"; },
                    BRAND_MATCH_STRING { text = "*.yahoo.co.kr"; },
                    BRAND_MATCH_STRING { text = "yahoo.co.kr"; },
                    BRAND_MATCH_STRING { text = "*.yahoo.co.uk"; },
                    BRAND_MATCH_STRING { text = "yahoo.co.uk"; },
                    BRAND_MATCH_STRING { text = "*.yahoo.com"; },
                    BRAND_MATCH_STRING { text = "yahoo.com"; },
                    BRAND_MATCH_STRING { text = "*.yahoo.com.ar"; },
                    BRAND_MATCH_STRING { text = "yahoo.com.ar"; },
                    BRAND_MATCH_STRING { text = "*.yahoo.com.br"; },
                    BRAND_MATCH_STRING { text = "yahoo.com.br"; },
                    BRAND_MATCH_STRING { text = "*.yahoo.com.cn"; },
                    BRAND_MATCH_STRING { text = "yahoo.com.cn"; },
                    BRAND_MATCH_STRING { text = "*.yahoo.com.hk"; },
                    BRAND_MATCH_STRING { text = "yahoo.com.hk"; },
                    BRAND_MATCH_STRING { text = "*.yahoo.com.mx"; },
                    BRAND_MATCH_STRING { text = "yahoo.com.mx"; },
                    BRAND_MATCH_STRING { text = "*.yahoo.com.sg"; },
                    BRAND_MATCH_STRING { text = "yahoo.com.sg"; },
                    BRAND_MATCH_STRING { text = "*.yahoo.com.tw"; },
                    BRAND_MATCH_STRING { text = "yahoo.com.tw"; },
                    BRAND_MATCH_STRING { text = "*.yahoo.com.my"; },
                    BRAND_MATCH_STRING { text = "yahoo.com.my"; },
                    BRAND_MATCH_STRING { text = "*.yahoo.com.vn"; },
                    BRAND_MATCH_STRING { text = "yahoo.com.vn"; },
                    BRAND_MATCH_STRING { text = "*.yahoo.com.ph"; },
                    BRAND_MATCH_STRING { text = "yahoo.com.ph"; },
                    BRAND_MATCH_STRING { text = "*.yahoo.com.tr"; },
                    BRAND_MATCH_STRING { text = "yahoo.com.tr"; },
                    BRAND_MATCH_STRING { text = "*.yahoo.com.co"; },
                    BRAND_MATCH_STRING { text = "yahoo.com.co"; },
                    BRAND_MATCH_STRING { text = "*.yahoo.com.pe"; },
                    BRAND_MATCH_STRING { text = "yahoo.com.pe"; },
                    BRAND_MATCH_STRING { text = "*.yahoo.com.ve"; },
                    BRAND_MATCH_STRING { text = "yahoo.com.ve"; },
                    BRAND_MATCH_STRING { text = "*.yahoo.de"; },
                    BRAND_MATCH_STRING { text = "yahoo.de"; },
                    BRAND_MATCH_STRING { text = "*.yahoo.dk"; },
                    BRAND_MATCH_STRING { text = "yahoo.dk"; },
                    BRAND_MATCH_STRING { text = "*.yahoo.es"; },
                    BRAND_MATCH_STRING { text = "yahoo.es"; },
                    BRAND_MATCH_STRING { text = "*.yahoo.fr"; },
                    BRAND_MATCH_STRING { text = "yahoo.fr"; },
                    BRAND_MATCH_STRING { text = "*.yahoo.gr"; },
                    BRAND_MATCH_STRING { text = "yahoo.gr"; },
                    BRAND_MATCH_STRING { text = "*.yahoo.ie"; },
                    BRAND_MATCH_STRING { text = "yahoo.ie"; },
                    BRAND_MATCH_STRING { text = "*.yahoo.it"; },
                    BRAND_MATCH_STRING { text = "yahoo.it"; },
                    BRAND_MATCH_STRING { text = "*.yahoo.no"; },
                    BRAND_MATCH_STRING { text = "yahoo.no"; },
                    BRAND_MATCH_STRING { text = "*.yahoo.se"; },
                    BRAND_MATCH_STRING { text = "yahoo.se"; },
                    BRAND_MATCH_STRING { text = "*.yahoo.co.id"; },
                    BRAND_MATCH_STRING { text = "yahoo.co.id"; },
                    BRAND_MATCH_STRING { text = "*.yahoo.co.th"; },
                    BRAND_MATCH_STRING { text = "yahoo.co.th"; },
                    BRAND_MATCH_STRING { text = "*.yahoo.pl"; },
                    BRAND_MATCH_STRING { text = "yahoo.pl"; },
                    BRAND_MATCH_STRING { text = "*.yahoo.cl"; },
                    BRAND_MATCH_STRING { text = "yahoo.cl"; }
                    };
                
                graphics = 
                    {
                    BRANDABLE_GRAPHIC { id = EFSMailboxIcon;
                    icon_id = EMbmYahoo_brand_graphicsYahoo;
                    mask_id = EMbmYahoo_brand_graphicsYahoo_mask; }                    
                    };
                    
                texts = 
                    {
                    BRANDABLE_TEXT { id = EFSMailboxName; text = "Yahoo! Mail"; }
                    };
                    
                colors =
                	{
                	BRANDABLE_COLOR { id = EFSMailboxNameColor;
                	red = 0xff; green = 0x30; blue = 0x20; alpha = 0xff; }
                	};
                },

                BRAND {
                    // Definition of Yahoo!7 Mail brand   
                    graphics_file_path = APP_BITMAP_DIR"\\yahoo_brand_graphics.mif";

                    brand_id_match_strings =
                        {
                        BRAND_MATCH_STRING { text = "*.y7mail.com"; },
                        BRAND_MATCH_STRING { text = "y7mail.com"; },
                        BRAND_MATCH_STRING { text = "*.yahoo.com.au"; },
                        BRAND_MATCH_STRING { text = "yahoo.com.au"; }
                        };
                    
                    graphics = 
                        {
                        BRANDABLE_GRAPHIC { id = EFSMailboxIcon;
                        icon_id = EMbmYahoo_brand_graphicsYahoo;
                        mask_id = EMbmYahoo_brand_graphicsYahoo_mask; }                    
                        };
                        
                    texts = 
                        {
                        BRANDABLE_TEXT { id = EFSMailboxName; text = "Yahoo!7 Mail"; }
                        };
                        
                    colors =
                        {
                        BRANDABLE_COLOR { id = EFSMailboxNameColor;
                        red = 0xff; green = 0x30; blue = 0x20; alpha = 0xff; }
                        };
                    },
                     
                                    BRAND {
                                        // Definition of Yahoo!Xtra Mail brand   
                                        graphics_file_path = APP_BITMAP_DIR"\\yahoo_brand_graphics.mif";

                                        brand_id_match_strings =
                                            {
                                            BRAND_MATCH_STRING { text = "yahoo.co.nz"; }
                                            };
                                        
                                        graphics = 
                                            {
                                            BRANDABLE_GRAPHIC { id = EFSMailboxIcon;
                                            icon_id = EMbmYahoo_brand_graphicsYahoo;
                                            mask_id = EMbmYahoo_brand_graphicsYahoo_mask; }                    
                                            };
                                            
                                        texts = 
                                            {
                                            BRANDABLE_TEXT { id = EFSMailboxName; text = "Yahoo!Xtra Mail"; }
                                            };
                                            
                                        colors =
                                            {
                                            BRANDABLE_COLOR { id = EFSMailboxNameColor;
                                            red = 0xff; green = 0x30; blue = 0x20; alpha = 0xff; }
                                            };
                                        },
                    
            BRAND {
                // Definition of Hotmail brand   
                graphics_file_path = APP_BITMAP_DIR"\\microsoft_brand_graphics.mif";

                brand_id_match_strings =
                        {
                        BRAND_MATCH_STRING { text = "*.msn.com"; },
                        BRAND_MATCH_STRING { text = "msn.com"; },
                        BRAND_MATCH_STRING { text = "*.hotmail.com"; },
                        BRAND_MATCH_STRING { text = "hotmail.com"; },
                        BRAND_MATCH_STRING { text = "*.hotmail.co.uk"; },
                        BRAND_MATCH_STRING { text = "hotmail.co.uk"; },
                        BRAND_MATCH_STRING { text = "*.hotmail.co.jp"; },
                        BRAND_MATCH_STRING { text = "hotmail.co.jp"; },
                        BRAND_MATCH_STRING { text = "*.hotmail-int.com"; },
                        BRAND_MATCH_STRING { text = "hotmail-int.com"; },
                        BRAND_MATCH_STRING { text = "*.hotmail.de"; },
                        BRAND_MATCH_STRING { text = "hotmail.de"; },
                        BRAND_MATCH_STRING { text = "*.hotmail.fr"; },
                        BRAND_MATCH_STRING { text = "hotmail.fr"; },
                        BRAND_MATCH_STRING { text = "*.hotmail.it"; },
                        BRAND_MATCH_STRING { text = "hotmail.it"; },
                        BRAND_MATCH_STRING { text = "*.hotmail.nl"; },
                        BRAND_MATCH_STRING { text = "hotmail.nl"; },
                        BRAND_MATCH_STRING { text = "*.hotmail.es"; },
                        BRAND_MATCH_STRING { text = "hotmail.es"; },
                        BRAND_MATCH_STRING { text = "*.live.com"; },
                        BRAND_MATCH_STRING { text = "live.com"; },
                        BRAND_MATCH_STRING { text = "*.live.at"; },
                        BRAND_MATCH_STRING { text = "live.at"; },
                        BRAND_MATCH_STRING { text = "*.live.be"; },
                        BRAND_MATCH_STRING { text = "live.be"; },
                        BRAND_MATCH_STRING { text = "*.live.ca"; },
                        BRAND_MATCH_STRING { text = "live.ca"; },
                        BRAND_MATCH_STRING { text = "*.live.cl"; },
                        BRAND_MATCH_STRING { text = "live.cl"; },
                        BRAND_MATCH_STRING { text = "*.live.cn"; },
                        BRAND_MATCH_STRING { text = "live.cn"; },
                        BRAND_MATCH_STRING { text = "*.live.de"; },
                        BRAND_MATCH_STRING { text = "live.de"; },
                        BRAND_MATCH_STRING { text = "*.live.dk"; },
                        BRAND_MATCH_STRING { text = "live.dk"; },
                        BRAND_MATCH_STRING { text = "*.live.fr"; },
                        BRAND_MATCH_STRING { text = "live.fr"; },
                        BRAND_MATCH_STRING { text = "*.live.hk"; },
                        BRAND_MATCH_STRING { text = "live.hk"; },
                        BRAND_MATCH_STRING { text = "*.live.it"; },
                        BRAND_MATCH_STRING { text = "live.it"; },
                        BRAND_MATCH_STRING { text = "*.live.jp"; },
                        BRAND_MATCH_STRING { text = "live.jp"; },
                        BRAND_MATCH_STRING { text = "*.live.nl"; },
                        BRAND_MATCH_STRING { text = "live.nl"; },
                        BRAND_MATCH_STRING { text = "*.live.no"; },
                        BRAND_MATCH_STRING { text = "live.no"; },
                        BRAND_MATCH_STRING { text = "*.live.ph"; },
                        BRAND_MATCH_STRING { text = "live.ph"; },
                        BRAND_MATCH_STRING { text = "*.live.ru"; },
                        BRAND_MATCH_STRING { text = "live.ru"; },
                        BRAND_MATCH_STRING { text = "*.live.se"; },
                        BRAND_MATCH_STRING { text = "live.se"; },
                        BRAND_MATCH_STRING { text = "*.live.ie"; },
                        BRAND_MATCH_STRING { text = "live.ie"; },
                        BRAND_MATCH_STRING { text = "*.live.in"; },
                        BRAND_MATCH_STRING { text = "live.in"; },
                        BRAND_MATCH_STRING { text = "*.live.co.kr"; },
                        BRAND_MATCH_STRING { text = "live.co.kr"; },
                        BRAND_MATCH_STRING { text = "*.live.co.uk"; },
                        BRAND_MATCH_STRING { text = "live.co.uk"; },
                        BRAND_MATCH_STRING { text = "*.live.co.za"; },
                        BRAND_MATCH_STRING { text = "live.co.za"; },
                        BRAND_MATCH_STRING { text = "*.live.com.ar"; },
                        BRAND_MATCH_STRING { text = "live.com.ar"; },
                        BRAND_MATCH_STRING { text = "*.live.com.au"; },
                        BRAND_MATCH_STRING { text = "live.com.au"; },
                        BRAND_MATCH_STRING { text = "*.live.com.mx"; },
                        BRAND_MATCH_STRING { text = "live.com.mx"; },
                        BRAND_MATCH_STRING { text = "*.live.com.my"; },
                        BRAND_MATCH_STRING { text = "live.com.my"; },
                        BRAND_MATCH_STRING { text = "*.live.com.pe"; },
                        BRAND_MATCH_STRING { text = "live.com.pe"; },
                        BRAND_MATCH_STRING { text = "*.live.com.pk"; },
                        BRAND_MATCH_STRING { text = "live.com.pk"; },
                        BRAND_MATCH_STRING { text = "*.live.com.pt"; },
                        BRAND_MATCH_STRING { text = "live.com.pt"; },
                        BRAND_MATCH_STRING { text = "*.live.com.sg"; },
                        BRAND_MATCH_STRING { text = "live.com.sg"; },
                        BRAND_MATCH_STRING { text = "*.live.com.ve"; },
                        BRAND_MATCH_STRING { text = "live.com.ve"; },
                        BRAND_MATCH_STRING { text = "*.live.com.ph"; },
                        BRAND_MATCH_STRING { text = "live.com.ph"; },
                        BRAND_MATCH_STRING { text = "*.livemail.com.br"; },
                        BRAND_MATCH_STRING { text = "livemail.com.br"; },
                        BRAND_MATCH_STRING { text = "*.livemail.tw"; },
                        BRAND_MATCH_STRING { text = "livemail.tw"; },
                        BRAND_MATCH_STRING { text = "*.windowslive.com"; },
                        BRAND_MATCH_STRING { text = "windowslive.com"; },
                        BRAND_MATCH_STRING { text = "*.windowslive.es"; },
                        BRAND_MATCH_STRING { text = "windowslive.es"; }
                        };
                
                graphics = 
                        {
                        BRANDABLE_GRAPHIC { id = EFSMailboxIcon; 
                        icon_id = EMbmMicrosoft_brand_graphicsMicrosoft;
                        mask_id = EMbmMicrosoft_brand_graphicsMicrosoft_mask; }                    
                        };
                    
                texts = 
                        {
                        BRANDABLE_TEXT { id = EFSMailboxName; text = "Hotmail"; }
                        };
                    
                colors =
                        {
                        BRANDABLE_COLOR { id = EFSMailboxNameColor; red = 0xff; green = 0x30; blue = 0x20; alpha = 0xff; }
                        };
                },
                
                BRAND {
        	    // definition of OVI brand
        	    graphics_file_path = APP_BITMAP_DIR"\\ovi_brand_graphics.mif";

        	    brand_id_match_strings =
                    {
                    BRAND_MATCH_STRING { text = "*.ovi.com"; },
                    BRAND_MATCH_STRING { text = "ovi.com"; }
                    };
            
        	    graphics = 
                    {
                    BRANDABLE_GRAPHIC { id = EFSMailboxIcon;
                    icon_id = EMbmOvi_brand_graphicsOvi;
                    mask_id = EMbmOvi_brand_graphicsOvi_mask; }                    
                    };
                
        	    texts = 
                    {
                    BRANDABLE_TEXT { id = EFSMailboxName; text = "Ovi Mail"; }
                    };
                
        	    colors =
                    {
                    BRANDABLE_COLOR { id = EFSMailboxNameColor; red = 0xff; green = 0x30; blue = 0x20; alpha = 0xff; }
                    };
            },

            BRAND {
        	    // definition of Mail for Exchange brand
        	    graphics_file_path = APP_BITMAP_DIR"\\mail_for_exchange_brand_graphics.mif";

        	    brand_id_match_strings =
                    {
                    BRAND_MATCH_STRING { text = "Mail for Exchange"; }
                    };
            
        	    graphics = 
                    {
                    BRANDABLE_GRAPHIC { id = EFSMailboxIcon;
                    icon_id = EMbmMail_for_exchange_brand_graphicsMail_for_exchange;
                    mask_id = EMbmMail_for_exchange_brand_graphicsMail_for_exchange_mask; }                    
                    };

        	    colors =
                    {
                    BRANDABLE_COLOR { id = EFSMailboxNameColor; red = 0xff; green = 0x30; blue = 0x20; alpha = 0xff; }
                    };
            }
        };
    }