messagingapp/msgsettings/msginit/inc/msgsimnumberdetector.h
changeset 31 ebfee66fde93
parent 23 238255e8b033
child 48 4f501b74aeb1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/messagingapp/msgsettings/msginit/inc/msgsimnumberdetector.h	Fri Jun 04 10:25:39 2010 +0100
@@ -0,0 +1,96 @@
+/*
+ * Copyright (c) 2002 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:  
+ *     An active object class which takes care of reading the possible new
+ *     service centres from SIM and adds them to Sms Settings.
+ *
+ */
+
+#ifndef __MSGSIMNUMBERDETECTOR_H__
+#define __MSGSIMNUMBERDETECTOR_H__
+
+#include <qobject.h>
+#include "simscnumberdetector.h"
+
+
+#ifdef  MSGINIT_DLL
+#define MSGINIT_DLL_EXPORT Q_DECL_EXPORT
+#else
+#define MSGINIT_DLL_EXPORT Q_DECL_IMPORT
+#endif
+
+class MsgSimNumDetectorPrivate;
+
+/**
+ *  MsgSimOperation
+ *  
+ */
+class MSGINIT_DLL_EXPORT MsgSimNumDetector 
+{
+public:
+    
+    /**
+     * Constructor.
+     */
+    MsgSimNumDetector();
+
+    /**
+     * Destructor
+     */
+    ~MsgSimNumDetector();
+
+private:
+   
+    MsgSimNumDetectorPrivate* d_ptr;
+
+};
+
+
+class MsgSimNumDetectorPrivate : public MSimOperationObserver
+    {
+
+public:
+    /**
+     * Constructor
+     */
+    MsgSimNumDetectorPrivate();
+
+    /**
+     * Destructor
+     */
+    ~MsgSimNumDetectorPrivate();
+    
+public:
+    
+    void CompleteOperation();
+
+
+private:
+    /**
+     * Does all the initialisations. 
+     */
+    void initL();
+
+
+private:
+
+    /**
+     * Conversation server client 
+     */
+    CMsgSimOperation* mSimOperation;
+
+    };
+    
+#endif  // not defined __MSGSIMNUMBERDETECTOR_H__
+// End of file