📄 cssync.rss
字号:
/*
* ==============================================================================
* Name : CSSync.rss
* Part of : clientserversync
* Interface :
* Description :
* Version :
* ==============================================================================
*/
// RESOURCE IDENTIFIER
NAME CSSY // 4 letter ID
// INCLUDES
#include <eikon.rh>
#include <avkon.rh>
#include <avkon.rsg>
#include <appinfo.rh>
#include "CSSync.hrh"
#include "CSSync.rls"
// RESOURCE DEFINITIONS
// -----------------------------------------------------------------------------
//
// Define the resource file signature
// This resource should be empty.
//
// -----------------------------------------------------------------------------
//
RESOURCE RSS_SIGNATURE
{
}
// -----------------------------------------------------------------------------
//
// Default Document Name
//
// -----------------------------------------------------------------------------
//
RESOURCE TBUF r_default_document_name
{
buf="CSSY";
}
// -----------------------------------------------------------------------------
//
// Define default menu and CBA key.
//
// -----------------------------------------------------------------------------
//
RESOURCE EIK_APP_INFO
{
menubar = r_cssync_menubar;
cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
}
// -----------------------------------------------------------------------------
//
// Localizable application information
//
// -----------------------------------------------------------------------------
//
RESOURCE LOCALISABLE_APP_INFO r_cssync_localisable_app_info
{
short_caption = STRING_cssy_short_caption_string;
caption_and_icon =
CAPTION_AND_ICON_INFO
{
caption = STRING_cssy_caption_string;
number_of_icons = 1;
icon_file = "\\resource\\apps\\CSSync_reg.mif";
};
}
// -----------------------------------------------------------------------------
//
// r_cssync_menubar
// Menubar for CSSync example
//
// -----------------------------------------------------------------------------
//
RESOURCE MENU_BAR r_cssync_menubar
{
titles =
{
MENU_TITLE { menu_pane = r_cssync_menu; }
};
}
// -----------------------------------------------------------------------------
//
// r_cssync_menu
// Menu for "Options"
//
// -----------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_cssync_menu
{
items =
{
MENU_ITEM
{
command = EFileCreation;
txt = STRING_cssy_submenu_filecreation;
},
MENU_ITEM
{
command = EFileDeletion;
txt = STRING_cssy_submenu_filedeletion;
},
MENU_ITEM
{
command = EAknCmdExit;
txt = STRING_cssy_submenu_exit;
}
};
}
RESOURCE DIALOG r_demo_data_query
{
flags = EGeneralQueryFlags;
buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
items =
{
DLG_LINE
{
type = EAknCtQuery;
id = EGeneralQuery;
control = AVKON_DATA_QUERY
{
layout = EDataLayout;
label = ""; // prompt text
control = EDWIN
{
width = 5;
lines = 1;
maxlength = 15;
};
};
}
};
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -