iEikonEnv
| Fri, 2006-01-13 11:29 | |
|
hey i have maybe a stupid question but i cant resolve this ;/
im using codewarrior and i have appui and appview in appui i can reach iEikonEnv. But i want to use it in AppView and when i write iEikonEnv->TitleFont() for example it says undefined symbol... shall i include something or what to see iEikonEnv in AppView (in AppUi class there is no iEikonEnv so i guess its in some include) Thank you BG |
|






Forum posts: 1379
(STATIC_CAST(CEikonEnv*,CCoeEnv::Static())->TitleFont();
iEikonEnv is defined as:
#define iEikonEnv (STATIC_CAST(CEikonEnv*,iCoeEnv))
in eikdef.h
didster
Forum posts: 101
thank you
Forum posts: 13
CEikonEnv::Static()->TitleFont();
Forum posts: 1
As per the documentation you do not need to do any static casting just include your application header file in view. Actually iEikonEnv is a marco and this is defined in CEikApplication class.
It means that if you are including your application header file then you will get this macro.
cheers
Krishan