openenvutils/commandshell/shell/inc/example.mdh
author William Roberts <williamr@symbian.org>
Fri, 23 Apr 2010 14:37:17 +0100
branchRCL_3
changeset 22 c82a39b81a38
parent 0 2e3d3ce01487
permissions -rw-r--r--
Rework addition of Symbian splash screen to reduce the source impact (uses SVG from Bug 2414) Notes: by using the OPTION SOURCEDIR parameter in the mifconv extension instructions, I can arrange to use the same source file name in sfimage, without having to export over the original Nokia file. This means that the name inside splashscreen.mbg is the same, which removes the need for the conditional compilation in SplashScreen.cpp, and gets rid of sf_splashscreen.mmp.

#ifndef have_zshQsexample_module
#define have_zshQsexample_module

# ifndef IMPORTING_MODULE_zshQsexample
#  ifndef MODULE
#   define boot_ boot_zshQsexample
#   define cleanup_ cleanup_zshQsexample
#   define setup_ setup_zshQsexample
#   define finish_ finish_zshQsexample
#  endif /* !MODULE */
# endif /* !IMPORTING_MODULE_zshQsexample */

/* Module dependencies */
# define IMPORTING_MODULE_zshQsmain 1
# include "zsh.mdh"

# undef mod_import_variable
# undef mod_import_function
# if defined(IMPORTING_MODULE_zshQsexample) &&  defined(MODULE)
#  define mod_import_variable 
#  define mod_import_function 
# else
#  define mod_import_function
#  define mod_import_variable
# endif /* IMPORTING_MODULE_zshQsexample && MODULE */
# include "example.epro"
# undef mod_import_variable
# define mod_import_variable
# undef mod_import_variable
# define mod_import_variable
# ifndef mod_export
#  define mod_export 
# endif /* mod_export */

#endif /* !have_zshQsexample_module */