testapp.rss

来自「symbian的S60平台上文件处理的例子」· RSS 代码 · 共 85 行

RSS
85
字号
// ====================================================================
// File: TestApp.rss
// Created: 28/06/06 by Forum Nokia
// Author: 
// Copyright (c): , All rights reserved
// ==================================================================== */

NAME AWIZ

#include "TestApp.hrh"
#include "TestApp.loc" 

#ifdef EKA2
    #include <appinfo.rh>
#endif
#include <eikon.rh>
#include <avkon.rsg>
#include <avkon.rh>
#include <avkon.mbg>

// ---------------------------------------------------------
//   
//    Define the resource file signature 
//    This resource should be empty.
//
// ---------------------------------------------------------
//
RESOURCE RSS_SIGNATURE { }

// ---------------------------------------------------------
//   
//    Default Document Name
//
// ---------------------------------------------------------
//
RESOURCE TBUF r_default_document_name { buf=""; }

// ---------------------------------------------------------
//   
//    Define default menu and CBA key.
//
// ---------------------------------------------------------
//
RESOURCE EIK_APP_INFO
    {
    menubar = r_TestApp_menubar;
    cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
    }


// ---------------------------------------------------------
//   
//   r_TestApp_menubar
//   Menubar for TestApp example
//
// ---------------------------------------------------------
//
RESOURCE MENU_BAR r_TestApp_menubar
    {
    titles =
        {
        MENU_TITLE {menu_pane = r_TestApp_menu;}
        };
    }


// ---------------------------------------------------------
//   
//   r_TestApp_menu
//   Menu for "Options"
//
// ---------------------------------------------------------
//
RESOURCE MENU_PANE r_TestApp_menu
    {
    items = 
        {
        MENU_ITEM {command = ETestAppCommand1;  txt = "Test";},
        MENU_ITEM {command = ETestAppCommand2;  txt = "Test Embedded";},
        MENU_ITEM {command = EAknCmdExit;   txt = "Exit";}
        };
    }

// End of File

⌨️ 快捷键说明

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