logsui/AppSrc/CLogsAppUi.cpp
branchRCL_3
changeset 85 38bb213f60ba
parent 68 9da50d567e3c
equal deleted inserted replaced
74:6b5524b4f673 85:38bb213f60ba
    28 #include <apgtask.h>
    28 #include <apgtask.h>
    29 #include <apgcli.h>
    29 #include <apgcli.h>
    30 #include <gsplugininterface.h>  
    30 #include <gsplugininterface.h>  
    31 #include <hlplch.h>
    31 #include <hlplch.h>
    32 #include <LogsUiCmdStarterConsts.h>
    32 #include <LogsUiCmdStarterConsts.h>
    33 #include <logs.rsg>
    33 #include <Logs.rsg>
    34 
    34 
    35 //+ __GFXTRANS__
    35 //+ __GFXTRANS__
    36 // Transition effects
    36 // Transition effects
    37 #include <gfxtranseffect/gfxtranseffect.h> 	
    37 #include <gfxtranseffect/gfxtranseffect.h> 	
    38 #include <akntranseffect.h> 				
    38 #include <akntranseffect.h> 				
  1209         }
  1209         }
  1210         
  1210         
  1211     return 0;
  1211     return 0;
  1212     }
  1212     }
  1213 
  1213 
  1214     // If Logs is background,returns is True,otherwise False.
       
  1215     TBool CLogsAppUi::IsBackground() const
       
  1216       {
       
  1217         CCoeEnv * env = CCoeEnv::Static();
       
  1218         TInt ordinal = env->RootWin().OrdinalPosition();
       
  1219         return ordinal != 0;
       
  1220       }
       
  1221 
       
  1222 
  1214 
  1223 //  End of File
  1215 //  End of File