The Symbian platform provides support for loading and formatting
resource strings through StringLoader
. To use this
class, you must define your strings in the resource file with the RESOURCE TBUF
statement.
The syntax for the resource string declaration is as follows:
RESOURCE TBUF r_name34 { buf = STRING_value_in_rls_file; }
where
RESOURCE
is the keyword for
the statement.
TBUF
is a utility structure
to contain the string.
r_name34
is the symbolic ID
used in your code.
STRING_value_in_rls_file
maps
to a value in an rls
file to support localization and
internationalization.
For more information, see TBuf
.