logsui/AppSrc/CLogsAppUi.cpp
branchRCL_3
changeset 18 d4f567ce2e7c
parent 3 04ab22b956c2
equal deleted inserted replaced
17:2666d9724c76 18:d4f567ce2e7c
  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 
  1214 
  1222 
  1215 //  End of File
  1223 //  End of File