phoneuis/Ussd/data/ussd.rss
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 13 Oct 2010 14:31:22 +0300
branchRCL_3
changeset 81 c26cc2a7c548
parent 0 5f000ab63145
permissions -rw-r--r--
Revision: 201039 Kit: 201041

/*
* Copyright (c) 2002-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 module.
*
*/


//  RESOURCE IDENTIFIER
NAME    USSD // 4 letter ID

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

#include <bldvariant.hrh> 
#include <data_caging_paths_strings.hrh>
#include <appinfo.rh>

//  RESOURCE DEFINITIONS 

//----------------------------------------------------
//   
//    
//    RSS signature.
//----------------------------------------------------
//
RESOURCE RSS_SIGNATURE { }


//----------------------------------------------------
//   
//    
//    Name of the buffer.
//----------------------------------------------------
//
RESOURCE TBUF { buf = qtn_apps_ussd_grid; }


//----------------------------------------------------
//   
//    
//    Application information.
//----------------------------------------------------
//
RESOURCE EIK_APP_INFO
    {
    menubar = r_ussd_menubar;
    cba = r_ussd_softkeys_options_exit_options;

    status_pane = r_status_pane;
    }

RESOURCE LOCALISABLE_APP_INFO r_ussd_localisable_app_info
    {
    short_caption = qtn_apps_ussd_grid;
    caption_and_icon = 
        CAPTION_AND_ICON_INFO
        {
        caption = qtn_apps_ussd_list;
#ifdef __SCALABLE_ICONS
        number_of_icons = 1;
        icon_file = "Z:"APP_RESOURCE_DIR"\\Ussd_aif.mif";
#else
        number_of_icons = 2;
        icon_file = "Z:"APP_RESOURCE_DIR"\\Ussd_aif.mbm";
#endif // __SCALABLE_ICONS
        };
    }


//----------------------------------------------------
//   
//    r_ussd_menubar
//    Empty menubar. With this edit menu will be generated.
//----------------------------------------------------
//
RESOURCE MENU_BAR r_ussd_menubar
    {
    titles=
        {
        MENU_TITLE { menu_pane = r_ussd_menu; }
        };
    }


//----------------------------------------------------
//   
//    r_ussd_menu
//    Menu items
//    
//----------------------------------------------------
//
RESOURCE MENU_PANE r_ussd_menu
    {
    items=
        {
        MENU_ITEM { command = EUssdMenuItemSend; txt = qtn_ussd_editor_send; },
        MENU_ITEM { command = EAknCmdHelp; txt = qtn_options_help; },
        MENU_ITEM { command = EAknCmdExit; txt = qtn_options_exit; }
        };
    }

//----------------------------------------------------
//   
//    r_ussd_softkeys_options_exit_send_options
//    Softkeys for application when there is no text in editor
//
//----------------------------------------------------
//
RESOURCE CBA r_ussd_softkeys_options_exit_options
    {
    buttons =
        {
        CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option;},
        CBA_BUTTON { id = EAknSoftkeyExit; txt = text_softkey_exit; },
        CBA_BUTTON { id = EAknSoftkeyEmpty; txt = text_softkey_empty;}
        };
    }

//----------------------------------------------------
//   
//    r_ussd_softkeys_send_exit
//    Softkeys for application when there is some text in editor
//
//----------------------------------------------------
//
RESOURCE CBA r_ussd_softkeys_send_exit
    {
    buttons =
        {
        CBA_BUTTON { id = EUssdSoftkeySend; txt = text_softkey_send; },
        CBA_BUTTON { id = EAknSoftkeyExit; txt = text_softkey_exit; },
        CBA_BUTTON { id = EAknSoftkeyEmpty; txt = text_softkey_empty;}
        };
    }


//----------------------------------------------------
//   
//    r_status_pane
//    Application statuspane
//    Context pane image is defined in AIF.
//----------------------------------------------------
//

RESOURCE STATUS_PANE_APP_MODEL r_status_pane
    {
    panes =
        {
        SPANE_PANE
            {
            id = EEikStatusPaneUidTitle;
            type = EAknCtTitlePane;
            resource = r_overridden_app_editor_name;
            }
        };
    }


// -----------------------------------------------------------------------------
//   
// r_overridden_app_editor_name
// Title pane for r_status_pane.
//
// -----------------------------------------------------------------------------
//
RESOURCE TITLE_PANE r_overridden_app_editor_name
    {
    txt = qtn_ussd_header;
    }


// -----------------------------------------------------------------------------
//   
// r_ussd_edwin_editor_elaf
// The USSD editor in ELAF variant.
//
// -----------------------------------------------------------------------------
//
RESOURCE AVKON_CONFIG_EDWIN r_ussd_edwin_editor_elaf
    {
    editingSpace = 182;    // From LAF
    editingWindow = 8;     // From LAF
    characterCase = EAknEditorCharactersUpperCase;
    justification = EAknEditorAlignLeft;
    allowedToMoveInsertionPoint = 1;   // From LAF
    cursorYesNo = 1;                   // From LAF
    overflowYesNo = 0;                 // From LAF
    }


// -----------------------------------------------------------------------------
//   
// r_ussd_edwin_editor_apac
// The USSD editor in APAC variant.
//
// -----------------------------------------------------------------------------
//
RESOURCE AVKON_CONFIG_EDWIN r_ussd_edwin_editor_apac
    {
    editingSpace = 182;    // From LAF
    editingWindow = 7;     // From LAF
    characterCase = EAknEditorCharactersUpperCase;
    justification = EAknEditorAlignLeft;
    allowedToMoveInsertionPoint = 1;   // From LAF
    cursorYesNo = 1;                   // From LAF
    overflowYesNo = 0;                 // From LAF
    }


            
// End of File