diff -r 2dac0fdba72b -r 191387a8b767 photosgallery/slideshow/view/inc/shwslideshowview.h --- a/photosgallery/slideshow/view/inc/shwslideshowview.h Wed Apr 14 15:57:24 2010 +0300 +++ b/photosgallery/slideshow/view/inc/shwslideshowview.h Tue Apr 27 16:37:53 2010 +0300 @@ -32,6 +32,8 @@ #include "shwgestureobserver.h" #include "gesturecontrol.h" #include "glxmmcnotifier.h" +#include +#include // FORWARD DECLARATIONS class CAlfEnv; class CAlfDisplay; @@ -67,7 +69,8 @@ public MProgressDialogCallback, public MShwTickObserver, public MShwGestureObserver, - public MStorageNotifierObserver + public MStorageNotifierObserver, + public MGlxTvObserver { public: @@ -179,6 +182,9 @@ /// @ref MGlxMediaListObserver::HandlePopulatedL void HandlePopulatedL( MGlxMediaList* aList ); + // From MGlxTVObserver + virtual void HandleTvStatusChangedL ( TTvChangeType aChangeType ); + //form CAknView void ProcessCommandL(TInt aCommandId); private: // From MShwEngineObserver @@ -379,7 +385,10 @@ CMPXCollectionPath* iCollectionPath; // owned NShwSlideshow::TPlayDirection iPlayDirection; // owned - + + /// Own: The TV connection monitor + CGlxTv * iTvConnection; + TBool iEngineStartFailed; /// Own: asynch callback needed for media list population @@ -413,6 +422,8 @@ CGlxMMCNotifier* iMMCNotifier; TBool iMMCState; TBool iIsForegrnd; + TSize iScrnSize; + TSize iGridIconSize; //to check if slideshow is paused in BG //and after that we are bringing to foreground TBool iPrevNotInBackground;