phoneclientserver/CallUI/Data/CallUI.rss
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 31 Aug 2010 15:45:17 +0300
branchRCL_3
changeset 19 7d48bed6ce0c
parent 0 ff3b6d0fd310
child 20 987c9837762f
permissions -rw-r--r--
Revision: 201033 Kit: 201035

/*
* Copyright (c) 2004-2005 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:  This file contains all the resources 
*                for the CallUI.
*
*/


//  RESOURCE IDENTIFIER
NAME     CAUI

//  INCLUDES
#include <eikon.rh>
#include <avkon.rh>
#include <avkon.hrh>
#include <avkon.rsg>
#include <avkon.loc>

#include "caui.hrh" 
#include <callui.loc>
#include <aiwcommon.hrh>



//  RESOURCE DEFINITIONS 

// -----------------------------------------------------------------------------
//
//    RSS_SIGNATURE
//    
//    Signature.
//
// -----------------------------------------------------------------------------
//
RESOURCE RSS_SIGNATURE { }


// -----------------------------------------------------------------------------
//   
//    r_callui_call_menu
//    
//    Call menu (non-cascaded).
//    
// -----------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_callui_call_menu
    {
    items=
        {
        MENU_ITEM
            {
            command = ECallUIVoice; 
            txt     = qtn_options_call;
            extratxt  = qtn_call_sub_voice;
            },
        MENU_ITEM 
            { 
            command = AIW_SUBMENU_TITLE;
            txt     = qtn_options_call;
            }
        };
    }

// -----------------------------------------------------------------------------
//   
//    r_callui_cascaded_submenu
//    
//    Cascaded call submenu.
//    
// -----------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_callui_cascaded_submenu
    {
    items=
        {
        MENU_ITEM
            { 
            command = ECallUIVoice;
            txt     = qtn_call_sub_voice;
            },
        MENU_ITEM
            { 
            command = ECallUIVideo;
            txt     = qtn_call_sub_video; 
            },
        MENU_ITEM
            { 
            command = ECallUIInternet;
            txt     = qtn_call_sub_internet; 
            },
        MENU_ITEM 
            { 
            command = AIW_SUBMENU_TITLE;
            txt = qtn_options_call;
            }
        };
    }



// -----------------------------------------------------------------------------
//
//    r_callui_create_list_query
//    
//    List query dialog for call type query or confirmation.
//
// -----------------------------------------------------------------------------
//
RESOURCE DIALOG r_callui_create_list_query
    {
    flags   = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_CALL_CANCEL__CALL;
    items   =
        {
        DLG_LINE
            {
            type    = EAknCtListQueryControl;
            id      = EListQueryControl;
            control = AVKON_LIST_QUERY_CONTROL
                {
                listtype = EAknCtSinglePopupMenuListBox;
                listbox  = LISTBOX
                    {
                    flags    = EAknListBoxMenuList;
                    height   = ECaUiCreateListQueryHeight;
                    width    = ECaUiCreateListQueryWidth;
                    array_id = r_callui_create_list_items;
                    };
                heading  = qtn_popup_title_create;
                };
            }
        };
    }


// -----------------------------------------------------------------------------
//
//  r_callui_create_list_items
//  
//  List items for call types used in create query.
//
// -----------------------------------------------------------------------------
//
RESOURCE ARRAY r_callui_create_list_items
    {
    items=
        {
        LBUF { txt = qtn_popup_create_voice; },
        LBUF { txt = qtn_popup_create_video; }
        };
    }

// -----------------------------------------------------------------------------
//
//    r_callui_create_list_voice
//    
//    The voice call item string in call type query.
//
// -----------------------------------------------------------------------------
//
RESOURCE TBUF r_callui_create_list_voice
    {
    buf = qtn_popup_create_voice;
    }

// -----------------------------------------------------------------------------
//
//    r_callui_create_list_video
//    
//    The video item string in call type query
//
// -----------------------------------------------------------------------------
//
RESOURCE TBUF r_callui_create_list_video
    {
    buf = qtn_popup_create_video;
    }
    
// -----------------------------------------------------------------------------
//
//    r_callui_create_list_internet
//    
//    The internet item string in call type query
//
// -----------------------------------------------------------------------------
//
RESOURCE TBUF r_callui_create_list_internet
    {
    buf = qtn_popup_create_internet;
    }


// -----------------------------------------------------------------------------
//
//    r_callui_no_video_network
//    
//    The text shown in information note when there is no
//    network support for video call.
//
// -----------------------------------------------------------------------------
//
RESOURCE TBUF r_callui_no_video_network
    {
    buf = qtn_tel_no_video_network;
    }


// -----------------------------------------------------------------------------
//
//    r_callui_reconnect_query_header
//    
//    The header string in reconnect confirmation query.
//
// -----------------------------------------------------------------------------
//
RESOURCE TBUF r_callui_reconnect_query_header
    {
    buf = qtn_tel_retry_voicevideo_call;
    }


// -----------------------------------------------------------------------------
//
//    r_callui_reconnect_list_item_voice
//    
//    The voice call option item string in create confirmation query.
//
// -----------------------------------------------------------------------------
//
RESOURCE TBUF r_callui_reconnect_list_item_voice
    {
    buf = qtn_tel_retry_voice_call_item;
    }


// -----------------------------------------------------------------------------
//
//    r_callui_reconnect_list_item_video
//    
//    The video call option item string in create confirmation query.
//
// -----------------------------------------------------------------------------
//
RESOURCE TBUF r_callui_reconnect_list_item_video
    {
    buf = qtn_tel_retry_video_call_item;
    }


// -----------------------------------------------------------------------------
//
//    r_callui_reconnect_list_item_mms
//    
//    The mms option item string in create confirmation query.
//
// -----------------------------------------------------------------------------
//
RESOURCE TBUF r_callui_reconnect_list_item_mms
    {
    buf = qtn_tel_retry_mms_call_item;
    }


// -----------------------------------------------------------------------------
//
//    r_callui_reconnect_list_item_sms
//    
//    The sms option item string in create confirmation query.
//
// -----------------------------------------------------------------------------
//
RESOURCE TBUF r_callui_reconnect_list_item_sms
    {
    buf = qtn_tel_retry_sms_call_item;
    }
    
// -----------------------------------------------------------------------------
//   
//    r_callui_call_internet_menu
//    
//    Call menu Voice call, Internet call
//    
// -----------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_callui_call_internet_menu
    {
    items=
        {
        MENU_ITEM
            {
            command = ECallUIVoice; 
            txt     = qtn_call_sub_voice;
            },
        MENU_ITEM
            { 
            command = ECallUIInternet;
            txt     = qtn_call_sub_internet; 
            },
        MENU_ITEM 
            { 
            command = AIW_SUBMENU_TITLE;
            txt = qtn_options_call;
            }
        };
    }
    
// -----------------------------------------------------------------------------
//   
//    r_callui_internet_menu
//    
//    Call menu Internet call (non-cascaded).
//    
// -----------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_callui_internet_menu
    {
    items=
        {
        MENU_ITEM
            { 
            command = ECallUIInternet;
            txt     = qtn_options_internet_call; 
            },
        MENU_ITEM 
            { 
            command = AIW_SUBMENU_TITLE;
            txt = qtn_options_call;
            }
        };
    }
    
// -----------------------------------------------------------------------------
//   
//    r_callui_call_menu
//    
//    Call menu Voice call, Video call
//    
// -----------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_callui_call_video_menu
    {
    items=
        {
        MENU_ITEM
            {
            command = ECallUIVoice; 
            txt     = qtn_call_sub_voice;
            },
        MENU_ITEM
            { 
            command = ECallUIVideo;
            txt     = qtn_call_sub_video; 
            },
        MENU_ITEM 
            { 
            command = AIW_SUBMENU_TITLE;
            txt = qtn_options_call;
            }
        };
    }



// -----------------------------------------------------------------------------
//
//    NEW_MESSAGE_MTM_TYPE
//    
//    Message MTM types
//
// -----------------------------------------------------------------------------
//
STRUCT NEW_MESSAGE_MTM_TYPE
    {
    LONG id = 0;
    LTEXT name = "";
    }

// -----------------------------------------------------------------------------
//
//    NEW_MESSAGE_MTM_ARRAY
//    
//    Message MTM items struct
//
// -----------------------------------------------------------------------------
//
STRUCT NEW_MESSAGE_MTM_ARRAY
    {
    STRUCT items[];
    }


// -----------------------------------------------------------------------------
//
//    new_message_types_array
//    
//    Message type array
//
// -----------------------------------------------------------------------------
//
RESOURCE NEW_MESSAGE_MTM_ARRAY new_message_types_array
    {
    items = 
        {
#ifndef RD_UNIFIED_EDITOR        
        NEW_MESSAGE_MTM_TYPE
            {
            id = 0x1000102C;
            name = qtn_mce_pop_up_sms;
            }
#ifdef __MMS
            ,
        NEW_MESSAGE_MTM_TYPE
            {
            id = 0x100058E1;
            name = qtn_mce_pop_up_mms;
            }
#endif //__MMS
#else  // RD_UNIFIED_EDITOR
        NEW_MESSAGE_MTM_TYPE
            {
            id = 0x102072D6; 
            name = qtn_tel_retry_message_call_item;
            }
#endif // RD_UNIFIED_EDITOR
#ifdef __EMAIL_UI 
            ,
        NEW_MESSAGE_MTM_TYPE
            {
            id = 0x10001028;
            name = qtn_mce_pop_up_email;
            }
#endif //__EMAIL_UI
            ,
        NEW_MESSAGE_MTM_TYPE
            {
            id = 0x10207245; 
            name = qtn_mce_pop_up_PostCard;
            }
        };
    }
// -----------------------------------------------------------------------------
//
//    r_callui_reconnect_list_item_message
//    
//    The mms option item string in create confirmation query.
//
// -----------------------------------------------------------------------------
//
RESOURCE TBUF r_callui_reconnect_list_item_message
    {
    buf = qtn_tel_retry_message_call_item;
    }

// -----------------------------------------------------------------------------
//
//    r_callui_vt_setting_note
//    
//    Text for query dialog
//
// -----------------------------------------------------------------------------
//
RESOURCE TBUF r_callui_vt_setting_note
    {
    buf = qtn_incal_set_long_press_call_video;
    }
        
// -----------------------------------------------------------------------------
//
//    r_callui_vt_setting_note
//    
//    The string in VT setting note
//
// -----------------------------------------------------------------------------
//
RESOURCE TBUF r_callui_popup_vt_title_setting
    {
    buf = qtn_popup_vt_title_setting;
    }

// -----------------------------------------------------------------------------
//
//    r_callui_vt_setting_query
//    
//    Query dialog for Video Telephony setting
//
//    
// -----------------------------------------------------------------------------
//

RESOURCE DIALOG r_callui_vt_setting_query
    {
    flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow;
    buttons = R_AVKON_SOFTKEYS_YES_NO;
    items=
        {
        DLG_LINE
            {
            type = EAknCtPopupHeadingPane;
            id = EAknMessageQueryHeaderId;
            control = AVKON_HEADING
                {
                headinglayout = R_AVKON_WML_SIGN_QUERY_HEADING_PANE;
                };
            },
        DLG_LINE
            {
            type = EAknCtMessageQuery;
            id = EAknMessageQueryContentId;
            control = AVKON_MESSAGE_QUERY
                {
                message = qtn_incal_set_long_press_call_video;
                };
            }
        };
    }        

RESOURCE TBUF r_callui_cs_voice_call
    {
    buf = qtn_call_sub_voice;
    }

RESOURCE TBUF r_callui_cs_video_call
    {
    buf = qtn_call_sub_video;
    }

RESOURCE TBUF r_callui_internet_call
    {
    buf = qtn_call_sub_internet;
    }
    
RESOURCE TBUF r_callui_xsp_call_with_service_name
    {
    buf = qtn_call_sub_voip_with_name;
    }
    
RESOURCE TBUF r_callui_call_submenu_title
    {
    buf = qtn_options_call;
    }
    
RESOURCE TBUF r_callui_xsp_test_temp
    {
    buf = qtn_call_sub_test;
    }

// End of File