--- a/src/hbcore/image/hbeglstate_p.h Mon Apr 19 14:02:13 2010 +0300
+++ b/src/hbcore/image/hbeglstate_p.h Mon May 03 12:48:33 2010 +0300
@@ -31,7 +31,6 @@
#include <QMutex>
#include <QSet>
-#include "hbforegroundwatcher_p.h"
#include "hbnvgiconimpl_p.h"
#include "hbnvgenginepool_p.h"
@@ -74,12 +73,7 @@
{
return init;
}
-
- int isBackground() const
- {
- return background;
- }
-
+
void deref(HbEglStates *& instance)
{
if (instance && --(instance->refCount) == 0) {
@@ -94,6 +88,7 @@
imageList.insert(image);
}
}
+ void handleForegroundLost();
EGLDisplay display;
EGLSurface currentReadSurface;
@@ -103,11 +98,6 @@
static HbEglStates *global();
-public slots:
-
- void handleForegroundLost();
- void handleForegroundGained();
-
private:
void clearImages();
@@ -120,9 +110,6 @@
int refCount;
int init;
- int background;
- HbForegroundWatcher * fgWatcher;
-
typedef QSet<VGImage*> ImageList;
typedef ImageList::iterator ImageListIter;