dependencies/uiresources_cdl_api/tsrc/data/testdomcdl.rss
author MattD <mattd@symbian.org>
Thu, 01 Apr 2010 14:59:15 +0100
branchv5backport
changeset 50 d717d18a59d5
parent 21 11157e26c4a7
permissions -rw-r--r--
Made a minor error with all the messing around with aknlayout.lag which meant it got performed on the default branch.

/*
* Copyright (c) 2002 - 2007 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:  test cdl_api
*
*/


//  RESOURCE IDENTIFIER
NAME CDLD

//  INCLUDES
#include <eikon.rh>
#include <eikon.rsg>
#include <avkon.hrh>
#include <avkon.mbg>
#include <avkon.rsg>
#include <avkon.rh>
#include <avkonicons.hrh>
#include <appinfo.rh>
#include "testdomcdl.hrh"
#include "testdomcdl.loc"

//  CONSTANTS
#define APP_BITMAP_DIR "\\resource\\apps"
#define AVKON_BMP_FILENAME AVKON_ICON_FILE

//  MACROS

//  RESOURCE DEFINITIONS
//-----------------------------------------------------------------------------
// RSS_SIGNATURE
//-----------------------------------------------------------------------------

RESOURCE RSS_SIGNATURE
    {
    }

//-----------------------------------------------------------------------------
// TBUF16
//-----------------------------------------------------------------------------
RESOURCE TBUF16
    {
    buf = qtn_apps_buf;
    }

//-----------------------------------------------------------------------------
// EIK_APP_INFO
//-----------------------------------------------------------------------------
//
RESOURCE EIK_APP_INFO
    {
    menubar = r_domtestcdl_menubar_main;
    cba = r_domtestcdl_cba_options_next;
    }

// ---------------------------------------------------------
// Provide Caption and Icon Info for Scalable UI
// ---------------------------------------------------------
//
RESOURCE LOCALISABLE_APP_INFO r_domtestcdl_localisable_app_info
    {
    short_caption = qtn_apps_tavl_grid; 

    caption_and_icon = 
    CAPTION_AND_ICON_INFO
        {
        caption = qtn_apps_tavl_list; 
        };
    }
    
//-----------------------------------------------------------------------------
//
// r_domtestCdl_view
// AVKON_VIEW for CdomTestDomCdlView
//
//-----------------------------------------------------------------------------
//
RESOURCE AVKON_VIEW r_domtestcdl_view
    {
    menubar = r_domtestcdl_menubar_main;
    }

//-----------------------------------------------------------------------------
//
// r_domtestCdl_menubar
// MenuBar
//
//-----------------------------------------------------------------------------
//
RESOURCE MENU_BAR r_domtestcdl_menubar_main
    {
    titles =
        {
        MENU_TITLE
            {
            menu_pane = r_domtestcdl_menu;            
            },
        MENU_TITLE
            {
            menu_pane = r_domtestcdl_case_menu;
            }
        };
    }

//-----------------------------------------------------------------------------
//
// r_domtestCdl_case_menu
// Menu pane
//
//-----------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_domtestcdl_case_menu
    {
    items = 
        {
        MENU_ITEM
            {
            command = EDOMTestCmdOutline1;
            txt = qtn_domtestcdl_outline1;
            }
        };
    }

//-----------------------------------------------------------------------------
//
// r_domtestCdl_menu
// Menu pane
//
//-----------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_domtestcdl_menu
    {
    items =
        {
        MENU_ITEM
            {
            command = EProgCmdAutoTest;
            txt = qtn_domtestcdl_autotest;
            },
        MENU_ITEM // Menu "Exit"
            {
            command = EAknCmdExit;
            txt = qtn_domtestcdl_menu_exit;
            }
        };
    }

// ----------------------------------------------------------------------------
// r_domtestCdl_cba_options_next
// ----------------------------------------------------------------------------
//

RESOURCE CBA r_domtestcdl_cba_options_next
    {
    buttons =
    {
    CBA_BUTTON 
        {
        id=EAknSoftkeyOptions; 
        txt = text_softkey_option;
        },
        AVKON_CBA_BUTTON
            {
            id = EDOMTestCdlCbaCmdNext;
            txt = qtn_domtestcdl_cba_next;
            }
    };
    }

RESOURCE TBUF32 r_domtest_text 
    { 
    buf = string_r_domtest_text; 
    }

//End of File