diff -r 80ef3a206772 -r 48780e181b38 Symbian3/SDK/Source/GUID-10F1D390-2CB6-584B-B760-E6A6E1D8FDDA.dita --- a/Symbian3/SDK/Source/GUID-10F1D390-2CB6-584B-B760-E6A6E1D8FDDA.dita Fri Jul 16 17:23:46 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,18 +0,0 @@ - - - - - -C++ pre-processor statements

The following pre-processor statements are supported by the resource compiler:

The following sections give more detail on the use of the #ifdef and #include statements.

Conditional compilation in resource files

The resource compiler supports conditional compilation such as

#ifdef SOMETHING -// do something -#else -// do something else -#endif

or

#ifndef WHATEVER -// do something -#endif
Include files within a source file

You can include files within the source file by using a #include directive, for example:

#include <eikdef.rh>

or

#include "eikdef.hrh"

The searching algorithm used by the resource compiler depends on whether the item to be included is enclosed in double-quotes or angled brackets.

If the filename is enclosed in double-quotes, the resource compiler searches for that file through the following directories in the following order:

  • the current directory

  • the relative directory ..\inc

  • the absolute directory epocroot \epoc32\include

If the filename is enclosed in angled brackets, the resource compiler searches for that file through the following directories in the following order:

  • the relative directory ..\inc

  • the absolute directory epocroot \epoc32\include

\ No newline at end of file