免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 548 | 回复: 0
打印 上一主题 下一主题

Symbian学习笔记3 之 Resource File [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-01-29 12:18 |只看该作者 |倒序浏览

Resource files used in the filesystem browser

filebrowseapp.rss

Contains the GUI definitions. See the section below for a discussion of its contents for both S60 and UIQ implementations of the filesystem browser.

filebrowseapp.rsc

The compiled resource file, generated from filebrowseapp.rss by the resource compiler.

filebrowseapp.rsg

The compiler generated resource header which contains the symbolic IDs of every resource defined in filebrowseapp.rss. It is created in epoc32\include\ and can be included in the source files which need to refer to resources.

filebrowse.hrh

Defines the IDs of application-specific commands and controls using C++ syntax. It is included both in filebrowseapp.rss and in various .cpp files, on each platform.

For example, in the S60 implementation, the command IDs (TFileBrowseCommands) are associated in the .rss and .cpp files with the buttons, menu options and soft keys that issue them. The UIQ filesystem browser implementation does not use them because it does not have any command-generating resources.

filebrowseapp.rls

Contains localisation strings which are displayed in the GUI, for instance in dialog titles or in menus. These strings are referred to in the resource file or in code using their symbolic names. Defining the text in its own file, separate from the .rss file makes the task of translating the application into different languages (localisation) much easier.

filebrowseapp_reg.rss

A special type of resource file, called a registration file, which provides the information that allows the application to be displayed in the application launcher. As seen in the section on mmp file syntax, when specifying this file in a project's mmp file, it must always place the compiled resource file into \private\10003A3F\apps (the private use area of the apparc server, which is responsible for application registration).

This file includes the name of the application binary, the MIME types it can handle, and the location of the localisable registration information (built from filebrowseapp_loc.rss). The latter includes the icons and captions. This file is identical for both S60 and UIQ implementations of the filesystem browser.

Its format is documented in the Symbian OS Library, see Application registration information.

filebrowseapp_loc.rss

Contains location specific registration information (such as an application caption). The registration resource file (filebrowseapp_reg.rss) described above contains only non-localisable information and simply includes the location of this compiled resource file.

The _loc-file defines a single structure called LOCALISABLE_APP_INFO which contains the caption and the icon bitmap locations for the application. This file is identical for both S60 and UIQ implementations of the filesystem browser.

avkon.rh, qikon.rh, eikon.rh, appinfo.rh and others.

Standard GUI framework and S60- or UIQ-specific resource headers. These specify the standard resource structs used to define UI elements in the .rss file.

avkon.hrh, uikon.hrh, qikon.hrh, eikon.hrh and others.

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP