main/glxapplication.h
changeset 61 743eb0b9959e
parent 48 d0b4e67b3a60
--- a/main/glxapplication.h	Wed Aug 18 09:48:53 2010 +0300
+++ b/main/glxapplication.h	Thu Sep 02 20:26:45 2010 +0300
@@ -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();
 
 };