diff -r 3321d3e205b6 -r b01126ce0bec idlehomescreen/xmluirendering/uiengine/inc/xnviewadapter.h --- a/idlehomescreen/xmluirendering/uiengine/inc/xnviewadapter.h Tue Sep 14 20:58:58 2010 +0300 +++ b/idlehomescreen/xmluirendering/uiengine/inc/xnviewadapter.h Wed Sep 15 12:00:00 2010 +0300 @@ -192,6 +192,14 @@ */ void EnterEditStateL( CXnViewData& aView, TBool aEnter ); + /** + * Tell if this adapter is on foreground. Returns EFalse immediately after + * adapter is deactivated (Avkon IsForeground has some delay). + * @since S60 5.0 + * @return ETrue if container is on foreground, EFalse otherwise + */ + TBool IsForegroundAdapter() const; + private: // new functions