cbsref/telephonyrefplugins/atltsy/comms/inc/commwriter.h
branchRCL_3
changeset 20 07a122eea281
parent 19 630d2f34d719
child 21 4814c5a49428
equal deleted inserted replaced
19:630d2f34d719 20:07a122eea281
     1 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // CCommWriter.
       
    15 // 
       
    16 
       
    17 #ifndef __COMMWRITER_H__
       
    18 #define __COMMWRITER_H__
       
    19 
       
    20 #include<e32base.h>
       
    21 class MCommObserver;
       
    22 class CCommEngine;
       
    23 
       
    24 class CCommWriter : public CActive
       
    25 	{
       
    26 public:
       
    27 	CCommWriter(CCommEngine* aComm, TInt aPriority);
       
    28 	virtual ~CCommWriter();
       
    29 	void Activate();
       
    30 	TRequestStatus& StatusRef();
       
    31 protected:
       
    32 	virtual void RunL();
       
    33 	virtual void DoCancel();
       
    34 private:
       
    35 	CCommEngine* iComm; //Not owned
       
    36 	};
       
    37 
       
    38 #endif