uiservicetab/vimpstui/inc/cvimpstuicveventlistener.h
branchRCL_3
changeset 29 9a48e301e94b
parent 0 5e5d6b214f4f
equal deleted inserted replaced
28:3104fc151679 29:9a48e301e94b
       
     1 /*
       
     2 * Copyright (c) 2008 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:  Defines the corresponding TAknsItemIds for bitmaps
       
    15 *  Description : Handles statuspane, context pane, navi pane
       
    16 *
       
    17 */
       
    18 
       
    19 #ifndef CVIMPSTUICVEVENTLISTENER_H_
       
    20 #define CVIMPSTUICVEVENTLISTENER_H_
       
    21 
       
    22 #include <e32base.h>
       
    23 #include <e32property.h>
       
    24 
       
    25 // FORWARD DECLARATION
       
    26 class CVIMPSTUiTabbedView;
       
    27 
       
    28 //CLASS DECLARATION
       
    29 /**
       
    30  *  Conversation view event listner.
       
    31  *
       
    32  *  @lib vimpstui.dll
       
    33  *  @since 5.0
       
    34  */
       
    35 class CVIMPSTUICvEventListener : public CActive
       
    36     {
       
    37 public :
       
    38         // Constructor
       
    39         /**
       
    40          * Creates a new CVIMPSTUICvEventListener.
       
    41          * @param aTabbedView, reference to tabbedview
       
    42          * @return New instance of this class         
       
    43          */
       
    44         static CVIMPSTUICvEventListener* NewL(CVIMPSTUiTabbedView& aTabbedView );
       
    45         
       
    46           /**
       
    47            * Standard C++ destructor.
       
    48            */
       
    49          ~CVIMPSTUICvEventListener();
       
    50          
       
    51          /**
       
    52           * start listening
       
    53          */
       
    54          void StartListening();
       
    55          
       
    56 private : // From CActive
       
    57 
       
    58         /**
       
    59          *  RunL
       
    60          */
       
    61         void RunL();  
       
    62         
       
    63         /**
       
    64          *  DoCancel
       
    65         */
       
    66         void DoCancel();
       
    67 
       
    68         
       
    69 private: // Implementation
       
    70        /**
       
    71         * Standard C++ constructor
       
    72         * @param aTabbedView, reference to tabbedview
       
    73         */
       
    74         CVIMPSTUICvEventListener( CVIMPSTUiTabbedView& aTabbedView);
       
    75 
       
    76        /**
       
    77         * Performs the 2nd phase of construction.
       
    78         */
       
    79        void ConstructL();
       
    80        
       
    81 private :
       
    82     
       
    83     // owns , property to use
       
    84     RProperty iProperty;
       
    85     // not owned,  reference to tabbedview
       
    86     CVIMPSTUiTabbedView& iTabbedView;
       
    87        
       
    88     };
       
    89 
       
    90 #endif /*CVIMPSTUICVEVENTLISTENER_H_*/