emailservices/nmutilities/inc/nmcenrepkeys.h
changeset 74 6c59112cfd31
parent 69 4e54af54a4a1
child 76 38bf5461e270
equal deleted inserted replaced
69:4e54af54a4a1 74:6c59112cfd31
     1 /*
       
     2 * Copyright (c) 2007-2010 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:  Key to Central Repository to be used by Branding utilities
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef NMCENREPKEYS_H
       
    19 #define NMCENREPKEYS_H
       
    20 
       
    21 
       
    22 namespace NmBrandingApi
       
    23 {
       
    24     /*!
       
    25       
       
    26        Here are uids in central repository to be in use by branding.
       
    27        
       
    28        <b>General settings for branding.</b>
       
    29        
       
    30        EMAIL_CENREP = 0x2001E277
       
    31        Uid of central repository for branding api
       
    32        
       
    33        RCC_PATH = 0xfffffffe;
       
    34        Path to resource file with icons.
       
    35        Example value: epoc32/data/Z/Resource/apps/email_brand.rcc 
       
    36        
       
    37        <b>Settings value for all brand icons and mailbox names</b>
       
    38        Values in repository for brands are constructed in that way:
       
    39        BRAND;regexp;MAIL_NAME;FILE_ALIAS
       
    40        Where
       
    41        BRAND brand from domain, for example yahoo
       
    42        regexp is regular expression to match brand domain
       
    43        MAIL_NAME is name of mail, for example Yahoo! Mail
       
    44        FILE_ALIAS is file alias from resource that representant selected file,
       
    45                   for example yahoo
       
    46        Example value:
       
    47        gmail;.*gmail(\.com|\.com.pl|\.de)$;GMail;gmail
       
    48        
       
    49        <b>List of all brands in cenrep:</b>
       
    50        GOOGLE_MAIL = 0x00000001
       
    51        Value: googlemail;googlemail\.com$;Google Mail;gmail
       
    52        
       
    53        GMAIL_MAIL = 0x00000002
       
    54        gmail;gmail\.com$;Gmail;gmail
       
    55        
       
    56        YAHOO_MAIL = 0x00000003
       
    57        yahoo;.*yahoo\.(((com(\.ar|\.br|\.cn|\.hk|\.mx|\.sg|\.tw|\.my|\.vn|\.ph|\.tr|\.co|\.pe|\.ve)?)$)|
       
    58                        (co(\.kr|\.uk|\.id|\.th|\.in)$)|
       
    59                        ((de|dk|es|fr|gr|ie|it|no|se|ca|cn|in|pl|cl)$));Yahoo! Mail;yahoo"
       
    60                        
       
    61        YMAIL_MAIL = 0x00000004
       
    62        ymail;.*ymail\\.com;Yahoo! Mail;yahoo
       
    63        
       
    64        GEOCITIES_MAIL = 0x00000005
       
    65        geocities;.*geocities\\.com;Yahoo! Mail;yahoo
       
    66        
       
    67        ROCKETMAIL_MAIL = 0x00000006
       
    68        rocketmail;.*rocketmail\\.com;Yahoo! Mail;yahoo
       
    69        
       
    70        WANS_MAIL = 0x00000007
       
    71        wans;.*wans\\.net;Yahoo! Mail;yahoo
       
    72        
       
    73        AOLCHINA_MAIL = 0x00000008
       
    74        aolchina;.*aolchina\\.com;AOL Mail;aol
       
    75        
       
    76        AOL_MAIL = 0x000000009
       
    77        aol;.*aol\\.(((co\\.(uk|nz))$)|
       
    78                    ((com(\\.au|\\.ar|\\.co|\\.ve|\\.mx|\\.tr|\\.br)?)$)|
       
    79                    ((cz|ch|be|cl|kr|ru|de|nl|es|fr|dk|at|it|hk|se|tw|jp)$));AOL Mail;aol
       
    80                    
       
    81        AIM_MAIL = 0x0000000A
       
    82        aim;.*aim\\.com$;AIM Mail;aol
       
    83        
       
    84        AOL_NO_MAIL = 0x0000000B
       
    85        aol;.*aol\\.no$;AOL epost;aol
       
    86        
       
    87        AOL_PL_MAIL = 0x0000000C
       
    88        aol;.*aol\\.pl$;AOL Poczta;aol
       
    89        
       
    90        AOL_FI_MAIL = 0x0000000D
       
    91        aol;.*aol\\.fi$;AOL Sähköposti;aol
       
    92        
       
    93        Y7MAIL_MAIL = 0x0000000E
       
    94        y7mail;.*y7mail\\.com$;Yahoo!7 Mail;yahoo
       
    95        
       
    96        YAHOO_AU_MAIL = 0x0000000F
       
    97        yahoo;.*yahoo\\.com\\.au$;Yahoo!7 Mail;yahoo
       
    98        
       
    99        AMERITECH_MAIL = 0x00000010
       
   100        ameritech;ameritech\\.net$;AT&T Yahoo! Mail;yahoo
       
   101        
       
   102        FLASH_MAIL = 0x00000011
       
   103        flash;flash\\.net$;AT&T Yahoo! Mail;yahoo
       
   104        
       
   105        NVBELL_MAIL = 0x00000012
       
   106        nvbell;nvbell\\.net$;AT&T Yahoo! Mail;yahoo
       
   107        
       
   108        PACBELL_MAIL = 0x00000013
       
   109        pacbell;pacbell\\.net$;AT&T Yahoo! Mail;yahoo
       
   110        
       
   111        PRODIIGY_MAIL = 0x00000014
       
   112        prodigy;prodigy\\.net$;AT&T Yahoo! Mail;yahoo
       
   113        
       
   114        SBCGLOBAL_MAIL = 0x00000015
       
   115        sbcglobal;sbcglobal\\.net$;AT&T Yahoo! Mail;yahoo
       
   116        
       
   117        BELLSOUTH_MAIL = 0x00000016
       
   118        bellsouth;bellsouth\\.net$;AT&T Yahoo! Mail;yahoo
       
   119        
       
   120        SNET_MAIL = 0x00000017
       
   121        snet;snet\\.net$;AT&T Yahoo! Mail;yahoo
       
   122        
       
   123        SWBELL_MAIL = 0x00000018
       
   124        swbell;swbell\\.net$;AT&T Yahoo! Mail;yahoo
       
   125        
       
   126        OVI_MAIL = 0x00000019
       
   127        ovi;.*ovi\\.com;Ovi Mail;ovi
       
   128        
       
   129        TALK21_MAIL = 0x0000001a
       
   130        talk21;talk21\\.com$;BT Yahoo! Mail;yahoo
       
   131        
       
   132        BTOPENWORLD_MAIL = 0x0000001b
       
   133        btopenworld;btopenworld\\.com$;BT Yahoo! Mail;yahoo
       
   134        
       
   135        ROGERS_MAIL = 0x0000001c
       
   136        rogers;((ort|nl|uat)\\.)?rogers\\.com$;Rogers Yahoo! Mail;yahoo
       
   137        
       
   138        VERIZON_MAIL = 0x0000001d
       
   139        verizon;verizon\\.net$;Verizon Yahoo! Mail;yahoo
       
   140        
       
   141        YAHOO_CO_NZ_MAIL = 0x0000001e
       
   142        yahoo;yahoo\\.co\\.nz$;Yahoo!Xtra Mail;yahoo
       
   143        
       
   144        MSN_MAIL = 0x0000001f
       
   145        msn;.*msn\\.com$;Hotmail;microsoft
       
   146                       
       
   147        HOTMAIL_MAIL_LIVE = 0x00000020
       
   148        live;.*live\\.((com(\\.(ar|au|mx|my|pe|pk|pt|sg|ve|ph))?)|
       
   149                       (co\\.(kr|uk|za))|
       
   150                       (at|be|ca|cl|cn|de|dk|fr|hk|it|jp|nl|no|ph|ru|se|ie|in))$;Hotmail;microsoft")
       
   151        
       
   152        MYAOL_MAIL = 0x00000021
       
   153        myaol;.*myaol\\.jp$;AOL Mail;aol
       
   154        
       
   155        HOTMAIL_MAIL = 0x00000022
       
   156        hotmail;.*hotmail((-int.com)|(\\.(com|co\\.uk|co\\.jp|de|fr|it|nl|es)))$;Hotmail;microsoft
       
   157                       
       
   158        LIVEMAIL_MAIL = 0x00000023
       
   159        livemail;livemail\\.(com.br|tw)$;Hotmail;microsoft
       
   160               
       
   161        WINDOWSLIVE_ES_COM_MAIL = 0x00000024
       
   162        windowslive;windowslive\\.(es|com)$;Hotmail;microsoft
       
   163        
       
   164        MIBLI_MAIL = 0x00000025
       
   165        mibli;.*mibli\\.com$;Hotmail;microsoft
       
   166        
       
   167        OXICASH_MAIL = 0x00000026
       
   168        oxicash;.*oxicash\\.in$;Hotmail;microsoft
       
   169        
       
   170        KIMO_MAIL = 0x00000027
       
   171        kimo;.*kimo\\.com;Yahoo! Mail;yahoo
       
   172 
       
   173        <b>White Label Branding</b>
       
   174        WLB_BRAND_NAME = 0xfffffffb
       
   175        Domain name needed for match by WLB.
       
   176        Example:
       
   177        sonera.com
       
   178        
       
   179        WLB_MAILBOX_NAME = 0xfffffffc
       
   180        Keep mailbox name for WLB mail
       
   181        Example:
       
   182        Sonera Mail
       
   183        
       
   184        WLB_ICON_PATH = 0xfffffffd
       
   185        Path to WLB icon.
       
   186        Example:
       
   187        z:/app/resource/sonera_brand.svg
       
   188        */
       
   189       static const qint32 EMAIL_CENREP = 0x2001E277;
       
   190       
       
   191       static const quint32 RCC_PATH = 0xfffffffe;
       
   192 
       
   193       static const quint32 WLB_BRAND_NAME = 0xfffffffb;
       
   194       
       
   195       static const quint32 WLB_MAILBOX_NAME = 0xfffffffc;
       
   196       
       
   197       static const quint32 WLB_ICON_PATH = 0xfffffffd;
       
   198 
       
   199 }
       
   200     
       
   201 #endif /*NMCENREPKEYS_H*/