Update contrib.
2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
22 This contains CT_ActiveCallbackIO
25 #if (!defined __T_ACTIVECALLBACK_IO_H__)
26 #define __T_ACTIVECALLBACK_IO_H__
29 #include "ActiveCallbackBase.h"
32 * Callback class for playing and recording processes
34 class CT_ActiveCallbackIO : public CActiveCallbackBase
37 static CT_ActiveCallbackIO* NewL(CDataWrapperBase& aCallback, TInt aPriority=EPriorityStandard);
38 ~CT_ActiveCallbackIO();
41 const TDesC8& Buffer();
42 void PrepareFromStringL(TInt aRepeat, const TDesC& aString);
43 void PrepareFromFileL(TInt aRepeat, const TDesC& aFilename);
46 CT_ActiveCallbackIO(CDataWrapperBase& aCallback, TInt aPriority);
49 void ConvertAndRepeatBuffer(TInt aRepeat);
50 void ConvertEscapeChars(TPtr8 aBuffer);
56 #endif /* __T_ACTIVECALLBACK_IO_H__ */