messagingapp/msgsettings/msginit/inc/msgsimnumberdetector.h
changeset 31 ebfee66fde93
parent 23 238255e8b033
child 48 4f501b74aeb1
equal deleted inserted replaced
30:6a20128ce557 31:ebfee66fde93
       
     1 /*
       
     2  * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
       
     3  * All rights reserved.
       
     4  * This component and the accompanying materials are made available
       
     5  * under the terms of "Eclipse Public License v1.0"
       
     6  * which accompanies this distribution, and is available
       
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8  *
       
     9  * Initial Contributors:
       
    10  * Nokia Corporation - initial contribution.
       
    11  *
       
    12  * Contributors:
       
    13  *
       
    14  * Description:  
       
    15  *     An active object class which takes care of reading the possible new
       
    16  *     service centres from SIM and adds them to Sms Settings.
       
    17  *
       
    18  */
       
    19 
       
    20 #ifndef __MSGSIMNUMBERDETECTOR_H__
       
    21 #define __MSGSIMNUMBERDETECTOR_H__
       
    22 
       
    23 #include <qobject.h>
       
    24 #include "simscnumberdetector.h"
       
    25 
       
    26 
       
    27 #ifdef  MSGINIT_DLL
       
    28 #define MSGINIT_DLL_EXPORT Q_DECL_EXPORT
       
    29 #else
       
    30 #define MSGINIT_DLL_EXPORT Q_DECL_IMPORT
       
    31 #endif
       
    32 
       
    33 class MsgSimNumDetectorPrivate;
       
    34 
       
    35 /**
       
    36  *  MsgSimOperation
       
    37  *  
       
    38  */
       
    39 class MSGINIT_DLL_EXPORT MsgSimNumDetector 
       
    40 {
       
    41 public:
       
    42     
       
    43     /**
       
    44      * Constructor.
       
    45      */
       
    46     MsgSimNumDetector();
       
    47 
       
    48     /**
       
    49      * Destructor
       
    50      */
       
    51     ~MsgSimNumDetector();
       
    52 
       
    53 private:
       
    54    
       
    55     MsgSimNumDetectorPrivate* d_ptr;
       
    56 
       
    57 };
       
    58 
       
    59 
       
    60 class MsgSimNumDetectorPrivate : public MSimOperationObserver
       
    61     {
       
    62 
       
    63 public:
       
    64     /**
       
    65      * Constructor
       
    66      */
       
    67     MsgSimNumDetectorPrivate();
       
    68 
       
    69     /**
       
    70      * Destructor
       
    71      */
       
    72     ~MsgSimNumDetectorPrivate();
       
    73     
       
    74 public:
       
    75     
       
    76     void CompleteOperation();
       
    77 
       
    78 
       
    79 private:
       
    80     /**
       
    81      * Does all the initialisations. 
       
    82      */
       
    83     void initL();
       
    84 
       
    85 
       
    86 private:
       
    87 
       
    88     /**
       
    89      * Conversation server client 
       
    90      */
       
    91     CMsgSimOperation* mSimOperation;
       
    92 
       
    93     };
       
    94     
       
    95 #endif  // not defined __MSGSIMNUMBERDETECTOR_H__
       
    96 // End of file