uiservicetab/vimpstengine/inc/cvimpstenginecvlistener.h
branchRCL_3
changeset 29 9a48e301e94b
parent 0 5e5d6b214f4f
equal deleted inserted replaced
28:3104fc151679 29:9a48e301e94b
       
     1 /*
       
     2 * Copyright (c) 2008-2009 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:  active object class for interacting with conversation view
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef CIMCVAPPLOGINEVENTLISTENER_H_
       
    19 #define CIMCVAPPLOGINEVENTLISTENER_H_
       
    20 
       
    21 #include <e32base.h>
       
    22 #include <e32property.h>
       
    23 #include <AknWaitDialog.h>
       
    24 #include <e32std.h>
       
    25 #include "cimcvkeys.h"
       
    26 
       
    27 class CVIMPSTEngineServiceTableFetcher;
       
    28 
       
    29 _LIT(KDelimiter, ":");
       
    30 /**
       
    31  * constant to define the size of the contact link
       
    32  */
       
    33 #define KMaxPackedContactLinkLength 300
       
    34 /**
       
    35  * constant to define the size of the contact link
       
    36  */
       
    37 #define KMaxServiceIdLength 3
       
    38 #define KMaxSerIdXspIdLen 512
       
    39 
       
    40 class CVIMPSTEngineCVListener : public CActive
       
    41     {
       
    42 public :
       
    43         // Constructor
       
    44         /**
       
    45          * Creates a new CVIMPSTEngineCVListener.
       
    46          * @param aServiceTableFetcher, service table handler
       
    47          * @return New instance of this class         
       
    48          */
       
    49         static CVIMPSTEngineCVListener* NewL(
       
    50                 CVIMPSTEngineServiceTableFetcher& aServiceTableFetcher );
       
    51         
       
    52           /**
       
    53            * Standard C++ destructor.
       
    54            */
       
    55          ~CVIMPSTEngineCVListener();
       
    56       
       
    57 private : // From CActive
       
    58 
       
    59         /**
       
    60         *  RunL
       
    61         */
       
    62         void RunL();  
       
    63         
       
    64         /**
       
    65         *  DoCancel
       
    66         */
       
    67         void DoCancel();
       
    68         
       
    69         /**
       
    70          * RunError.
       
    71          */
       
    72         TInt RunError( TInt  aError);
       
    73 
       
    74 private: // Implementation
       
    75        /**
       
    76         * Standard C++ constructor
       
    77         * @param aServiceTableFetcher, reference to service table handler
       
    78         */
       
    79         CVIMPSTEngineCVListener(
       
    80                 CVIMPSTEngineServiceTableFetcher& aServiceTableFetcher );
       
    81 
       
    82        /**
       
    83         * Performs the 2nd phase of construction.
       
    84         */
       
    85        void ConstructL();
       
    86        
       
    87 private :
       
    88     
       
    89     // owns , property to use
       
    90     RProperty iProperty;    
       
    91     
       
    92     // Not own, handle to service table
       
    93     CVIMPSTEngineServiceTableFetcher& iServiceTableFetcher;
       
    94     
       
    95     };
       
    96 
       
    97 #endif /*CIMCVAPPLOGINEVENTLISTENER_H_*/