diff -r 000000000000 -r c40eb8fe8501 wlan_bearer/wlannwif/inc/receiver_hw.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wlan_bearer/wlannwif/inc/receiver_hw.h Tue Feb 02 02:03:13 2010 +0200 @@ -0,0 +1,87 @@ +/* +* Copyright (c) 2002-2006 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: Defines receiver class for target +* +*/ + +/* +* %version: 7 % +*/ + +#ifndef _RECEIVER_HW_H_ +#define _RECEIVER_HW_H_ + +#include + +class CLANLinkCommon; +class CPcCardPktDrv; +class TDataBuffer; + +/** +* Receiver active object +* +*/ +class CReceiver : public CActive + { +public: // Methods + + // NewL + static CReceiver* NewL( CPcCardPktDrv* aParent ); + + // destructor + virtual ~CReceiver(); + + /** + * Requests a new data frame from LDD. Calls SetActive(). + */ + void QueueRead(); + +private: // Methods + /** + * C++ constructor + * @param aParent + */ + CReceiver( CPcCardPktDrv* aParent ); + + /** + * RunL + */ + void RunL(); + + /** + * DoCancel + */ + void DoCancel(); + + /** + * Symbian second phase constructor + */ + void ConstructL(); + + // Prohibit copy constructor + CReceiver(const CReceiver&); + // Prohibit assigment operator + CReceiver& operator= (const CReceiver&); + +private: // Data + + /** */ + CPcCardPktDrv* iParent; + + /** */ + TDataBuffer* iDataBuffer; + + }; + +#endif //_RECEIVER_HW_H_