Update contrib.
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "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.
28 //#define _TESTAPP_DEBUG_PRINT_
30 #if (defined(_DEBUG) || defined(_DEBUG_RELEASE))
34 #if defined(_TESTAPP_DEBUG_PRINT_) && (defined(_DEBUG) || defined(_DEBUG_RELEASE))
43 static const TInt KLogBufferSize = 0xFF;
45 TMsLogStaticFn(const TDesC8& aFunctionName);
50 TBuf8<KLogBufferSize> buf;
60 static const TInt KLogBufferSize = 0xFF;
61 TMsLogFn(const TDesC8& aFunctionName, void* aThisPointer);
66 TBuf8<KLogBufferSize> buf;
74 #define __MSFNLOG TMsLogFn funcLog(TPtrC8((TUint8*)__PRETTY_FUNCTION__), this);
75 #define __MSFNSLOG TMsLogStaticFn funcLog(TPtrC8((TUint8*)__PRETTY_FUNCTION__));
84 #define __PRINT(t) {RDebug::Print(t);}
85 #define __PRINT1(t,a) {RDebug::Print(t,a);}
86 #define __PRINT2(t,a,b) {RDebug::Print(t,a,b);}
87 #define __PRINT3(t,a,b,c) {RDebug::Print(t,a,b,c);}
91 #define __PRINT2(t,a,b)
92 #define __PRINT3(t,a,b,c)