diff -r 000000000000 -r 89d6a7a84779 Symbian3/SDK/Source/GUID-6D7F3D5C-BC1C-5657-993A-4D7E5712CAF5.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/SDK/Source/GUID-6D7F3D5C-BC1C-5657-993A-4D7E5712CAF5.dita Thu Jan 21 18:18:20 2010 +0000 @@ -0,0 +1,43 @@ + + + + + +start +stringtable +

start stringtable source-file

+

[exportpath location]

+

[headeronly]

+

end

+

A start stringtable section specifies the source file +for the string table. A string table is a collection of string identifiers +with corresponding values. The source file is a simple text file with the +file extension .st, and is used to generate the .cpp and .h files +which contains the string constants required for the program. The header file +location is added to the list of userinclude directories +so that the source files may include the generated header. The .cpp file +is added to the list of source files, which are built into a component.

+

For more information on string tables, refer to String +Pools.

+

Note: The .cpp file need not be added explicitly +into the list of sources, as this will be done implicitly while building the +component.

+

The optional exportpath location specifies +a directory location for the generated header file.

+

The optional headeronly keyword causes only the .h file +to be generated, and no .cpp files are generated or included +into the project. If the exportpath is specified, the .h file +is copied to the specified location.

+

This example will generate HttpStringConstants.cpp and HttpStringConstants.h using +the HttpStringConstants.st file, and export the HttpStringConstants.h to +the \epoc32\include directory.

START STRINGTABLE HttpStringConstants.st +EXPORTPATH \epoc32\include +END +
+
\ No newline at end of file