filelist.rss

来自「Symbian中如何显示其系统文件列表的一个范例」· RSS 代码 · 共 102 行

RSS
102
字号
/*
* ============================================================================
*  Name     : FileList.rss
*  Part of  : FileList
*  Created  : 04.11.2006 by Forum Nokia
*  Description:
*     This file contains all the resources for the FileList.
*     Initial content was generated by Nokia Series 60 AppWizard.
*  Version  : 2.0
*  Copyright: Nokia Corporation
* ============================================================================
*/

//  RESOURCE IDENTIFIER
NAME    FILE // 4 letter ID

//  INCLUDES

#include <eikon.rh>
#include "filelist.hrh"
#include "filelist.loc"
#include <avkon.rsg>
#include <avkon.rh>
#include <avkon.mbg>


//  RESOURCE DEFINITIONS 

RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF { buf="FileList"; }

RESOURCE EIK_APP_INFO
    {
    hotkeys=r_filelist_hotkeys;
    menubar=r_filelist_menubar;
    cba=R_AVKON_SOFTKEYS_OPTIONS_BACK;     
    }

//----------------------------------------------------
//   
//    r_filelist_hotkeys
//
//----------------------------------------------------
//
RESOURCE HOTKEYS r_filelist_hotkeys
    {
    control=
        {
        HOTKEY { command=EAknCmdExit; key='e'; }
        };
    }

//----------------------------------------------------
//   
//    r_filelist_menubar
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_filelist_menubar
    {
    titles=
        {
        MENU_TITLE { menu_pane=r_filelist_menu; txt="File"; }
        };
    }

//----------------------------------------------------
//   
//    r_filelist_menu
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_filelist_menu
    {
    items=
        {
        MENU_ITEM { command=EFileListCmdAppTest1; txt=qtn_appl_option_item1; },
        MENU_ITEM { command=EFileListCmdAppTest2; txt=qtn_appl_option_item2; },
        MENU_ITEM { command=EFileListCmdAppTest3; txt=qtn_appl_option_item3; },
        MENU_ITEM { command=EFileListCmdAppTest4; txt=qtn_appl_option_item4; },
        MENU_ITEM { command=EAknCmdExit; txt="Exit"; }
        };
    }

//----------------------------------------------------
//   
//    r_filelist_app_menu
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_filelist_app_menu
    {
    items=
        {
        MENU_ITEM { command=EFileListCmdAppTest; txt="<App spesific menu item>"; },
        MENU_ITEM { command=EAknCmdExit; txt="Exit"; }
        };
    }

// End of File

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?