messagingapp/msgnotifications/msgindicatorplugin/inc/msgindicator_p.h
changeset 23 238255e8b033
child 25 84d9eb65b26f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/messagingapp/msgnotifications/msgindicatorplugin/inc/msgindicator_p.h	Fri Apr 16 14:56:15 2010 +0300
@@ -0,0 +1,75 @@
+/*
+ * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+ * All rights reserved.
+ * This component and the accompanying materials are made available
+ * under the terms of "Eclipse Public License v1.0"
+ * which accompanies this distribution, and is available
+ * at the URL "http://www.eclipse.org/legal/epl-v10.html".
+ *
+ * Initial Contributors:
+ * Nokia Corporation - initial contribution.
+ *
+ * Contributors:
+ *
+ * Description: Message Indicator private class. 
+ * Gets the indicaton information from conversation server.
+ *
+ */
+
+#ifndef MSGINDICATOR_PRIVATE_H
+#define MSGINDICATOR_PRIVATE_H
+
+class MsgIndicator;
+class CCSRequestHandler;
+class IndicatorData;
+
+/**
+ * Message indicator class. 
+ * Handles client request and showing the indications. 
+ */
+class MsgIndicatorPrivate 
+{
+public:
+    /**
+     * Constructor
+     */
+    MsgIndicatorPrivate(MsgIndicator* indicator);
+
+    /**
+     * Destructor
+     */
+    ~MsgIndicatorPrivate();
+
+   /**
+    * Get the information required to show the inidctaions
+    * @pamam indicatorData indicator data which will be filled
+    */
+    void getIndicatorInfo(IndicatorData& indicatorData);
+
+    /**
+     * Get the information required to show the inidctaions. 
+     * Calls conversation sever to fetch the information.
+     * @pamam indicatorData indicator data which will be filled.
+     */
+    void getIndicatorInfoL(IndicatorData& indicatorData);
+    
+private : 
+    /**
+     * Does the initializations.
+     */
+    void initL();
+		
+private:
+    /**
+     * Pointer to msgnotifier
+     */
+    MsgIndicator* q_ptr;  
+
+    /**
+     * Conversation server object
+     */
+    CCSRequestHandler* mCvServer;
+};
+
+#endif // MSGINDICATOR_H
+