--- a/mpxplugins/viewplugins/views/collectionviewhg/inc/mpxcollectionviewhgcontainer.h Thu Dec 17 08:45:05 2009 +0200
+++ b/mpxplugins/viewplugins/views/collectionviewhg/inc/mpxcollectionviewhgcontainer.h Thu Jan 07 12:45:53 2010 +0200
@@ -52,6 +52,7 @@
class MMPXPlaybackUtility;
class MMpxCbaHandler;
class TAknsItemID;
+class CAsyncOneShot;
// CLASS DECLARATION
@@ -70,6 +71,7 @@
, public MMPXCollectionFindObserver
, public MHgVgMediaWallObserver
, public MMpxTNLoaderObserver
+ , public MCoeForegroundObserver
{
public:
@@ -448,6 +450,9 @@
TTypeUid::Ptr MopSupplyObject(TTypeUid aId);
+ void HandleGainingForeground();
+
+ void HandleLosingForeground();
// from base class MCoeControlObserver
@@ -538,6 +543,13 @@
CMPXMedia* SelectedItemMediaL();
+ /**
+ * Determines if current view is TBoneview
+ *
+ * @return ETrue if current view is TBoneview, EFalse otherwise
+ */
+ TBool IsTBoneView();
+
private:
/**
@@ -686,6 +698,8 @@
void PlayPlaylistL(TInt aIndex);
void PlayGenreL(TInt aIndex);
+ static TInt AsyncCallback( TAny* aPtr );
+
private: // data member
/**
@@ -803,7 +817,9 @@
TViewType iCurrentViewType;
TViewType iPrevViewType;
TFindOp iFindOp;
-
+ TBool iIsForeground;
+ TBool iDelayedControlCreation;
+ CAsyncCallBack* iAsyncCallBack;
};
#endif // CMPXCOLLECTIONVIEWHGCONTAINER_H