kerneltest/e32test/usb/t_usb_device/include/activerw.h
changeset 247 d8d70de2bd36
parent 0 a41df078684a
child 257 3e88ff8f41d5
equal deleted inserted replaced
201:43365a9b78a3 247:d8d70de2bd36
     1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of the License "Eclipse Public License v1.0"
     4 // under the terms of the License "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
    37 	void Suspend(TXferType aType);
    37 	void Suspend(TXferType aType);
    38 	void Resume();
    38 	void Resume();
    39 	void ResumeAltSetting(TUint aAltSetting);
    39 	void ResumeAltSetting(TUint aAltSetting);
    40 	void SendWaitSetting();
    40 	void SendWaitSetting();
    41 	void StartOrSuspend();
    41 	void StartOrSuspend();
       
    42 	inline RDEVCLIENT* Ldd();
    42 			
    43 			
    43 private:
    44 private:
    44 	CActiveRW(CConsoleBase* aConsole, RDEVCLIENT* aPort, RFs aFs, TUint16 aIndex, TBool aLastSetting);
    45 	CActiveRW(CConsoleBase* aConsole, RDEVCLIENT* aPort, RFs aFs, TUint16 aIndex, TBool aLastSetting);
    45 	void ConstructL();
    46 	void ConstructL();
    46 	virtual void RunL();
    47 	virtual void RunL();
    84 	TBool iResult;
    85 	TBool iResult;
    85 	TUint16 iIndex;
    86 	TUint16 iIndex;
    86 	TBool iLastSetting;
    87 	TBool iLastSetting;
    87 	};
    88 	};
    88 
    89 
       
    90 inline RDEVCLIENT* CActiveRW::Ldd()
       
    91 	{
       
    92 	return iPort;
       
    93 	}
       
    94 
    89 #endif	// __ACTIVERW_H__
    95 #endif	// __ACTIVERW_H__