Symbian学习笔记3 之 Resource File 

 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.

Standard GUI framework and S60- or UIQ-specific symbolic IDs, for instance flags and control IDs for the standard controls. 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值