mmsharing/livecommsui/lcui/tsrc/ipvtengine/inc/mccdatareceiver.h
branchRCL_3
changeset 33 bc78a40cd63c
parent 32 73a1feb507fb
child 35 6c57ef9392d2
equal deleted inserted replaced
32:73a1feb507fb 33:bc78a40cd63c
     1 /*
       
     2 * Copyright (c) 2006 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 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef MCCDATARECEIVER_H
       
    22 #define MCCDATARECEIVER_H
       
    23 #include <E32Base.h>
       
    24 #include <e32msgqueue.h>
       
    25 
       
    26 #include "mccdatareceiverobserver.h"
       
    27 #include "mccdatastructures.h"
       
    28 
       
    29 
       
    30 // CLASS DECLARATION
       
    31 
       
    32 /**
       
    33 *  CMccDataReceiver class declaration
       
    34 */
       
    35 class CMccDataReceiver : public CActive
       
    36 	{
       
    37     public:
       
    38     
       
    39 	    static CMccDataReceiver* NewL( MMccDataReceiverObserver& aObserver );
       
    40 		
       
    41 	    ~CMccDataReceiver(); 
       
    42 		
       
    43     	    TDataMessage iInitData;
       
    44 	 	
       
    45     public: // From CActive
       
    46 
       
    47 		void DoCancel();
       
    48 		void RunL();
       
    49 		TInt RunError(TInt aError);	
       
    50 
       
    51     private:
       
    52         CMccDataReceiver( MMccDataReceiverObserver& aObserver );
       
    53 	    void ConstructL(); // second construction phase
       
    54 
       
    55     private:
       
    56 	    
       
    57 		RMsgQueue<TDataMessage> iMsgQueue;		
       
    58 		MMccDataReceiverObserver* iObserver;
       
    59 
       
    60     };
       
    61 
       
    62 
       
    63 #endif