--- a/main/glxapplication.h Fri Aug 06 20:44:25 2010 +0530
+++ b/main/glxapplication.h Mon Aug 23 18:06:16 2010 +0530
@@ -22,22 +22,58 @@
class QSymbianEvent;
+/**
+ * Class Description
+ * Custom Glx appliaction class to monitor the low memory situation
+ */
+
class GlxApplication: public HbApplication
{
-
+ Q_OBJECT
public:
+ /**
+ * Constructor
+ */
GlxApplication( int &argc, char *argv[],
Hb::ApplicationFlags flags = Hb::DefaultApplicationFlags );
+ /**
+ * Constructor
+ */
GlxApplication( QApplication::QS60MainApplicationFactory factory,
int &argc,
char *argv[],
Hb::ApplicationFlags flags = Hb::DefaultApplicationFlags );
+ /**
+ * symbianEventFilter()
+ * /// From HbApplication
+ */
bool symbianEventFilter( const QSymbianEvent *aQSEvent );
+ /**
+ * initMattiAutomation() - To monitor the application ready event for matti tool.
+ */
+ void initMattiAutomation();
+
+signals :
+ /**
+ * applicationReady() - To emit the application ready signal for matti tool.
+ */
+ void applicationReady();
+
+public slots:
+ /**
+ * handleAppReady() - Call back function to get the notification of application ready.
+ * It is also used for matti tool.
+ */
+ void handleAppReady();
+
private :
+ /**
+ * cleanUpCache() - To clear the cache in the low memory situation.
+ */
void cleanUpCache();
};