diff -r 000000000000 -r 05e9090e2422 uiresources_plat/cdl_api/tsrc/data/testdomcdl.rss --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/uiresources_plat/cdl_api/tsrc/data/testdomcdl.rss Thu Dec 17 09:14:12 2009 +0200 @@ -0,0 +1,186 @@ +/* +* 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 +#include +#include +#include +#include +#include +#include +#include +#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