--- a/photosgallery/viewframework/views/zoomview/inc/glxzoomcontrol.h Wed Jun 09 09:41:51 2010 +0300
+++ b/photosgallery/viewframework/views/zoomview/inc/glxzoomcontrol.h Mon Jun 21 15:40:32 2010 +0300
@@ -34,6 +34,7 @@
#include <glxfullscreenview.hrh>
#include <glxzoomeventhandler.h>
#include <mglxtvobserver.h> // for inteface MGlxTvObserver
+#include "glxrequestfreegoom.h"
//Gesture Helper namespace
namespace GestureHelper
{
@@ -66,6 +67,7 @@
// Commands sent to the view in response to zoom keys
const TInt KGlxZoomInCommand = 1 ;
const TInt KGlxZoomOutCommand = 2 ;
+const TInt KGlxZoomOrientationChange =3;
const TInt KGlxVerticalImageOrientationThreshold = 4 ;
/**
@@ -77,7 +79,8 @@
public MGlxTextureObserver,
public MGlxZoomEventHandlers,
public GestureHelper::MGestureObserver,
- public MGlxTvObserver
+ public MGlxTvObserver,
+ public MGoomNotifierObserver
{
public:
// Constructors and destructor
@@ -236,6 +239,11 @@
*/
void HandleHDMIGestureReleased();
+ /*
+ * @ Notification from MGoomNotifierObserver
+ */
+ void HandleGoomMemoryReleased(TInt aStatus);
+
private: // Data
CAlfEnv* iEnv; // AlfEnv
MGlxMediaList& iMediaList; // Medialist (not owned)
@@ -266,7 +274,7 @@
CGlxTv* iGlxTvOut;
CPeriodic* iTimer;
TBool iZoomIn;
-
+ CGlxRelaseGPUMemory* iGPUMemMonitor;
};
#endif // C_GLXZOOMCONTROL_H