diff -r 8bda91a87a00 -r 8ee96d21d9bf profilesservices/RingingTone3DPlugin/inc/RingingTone3DPluginDebug.h --- a/profilesservices/RingingTone3DPlugin/inc/RingingTone3DPluginDebug.h Thu Aug 19 10:12:30 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,60 +0,0 @@ -/* -* 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: Plug-In that implements C3DRingingToneInterface. -* -*/ - - - -#ifndef RINGINGTONE_3D_PLUGIN_DEBUG_H -#define RINGINGTONE_3D_PLUGIN_DEBUG_H - - -#ifdef _DEBUG - -#include -#include - -_LIT(KLogFilename,"3d.txt"); -_LIT(KLogDir,"3d"); - -// Declare the FPrint function -inline void FPrint(const TRefByValue aFmt, ...) - { - VA_LIST list; - VA_START(list,aFmt); - RFileLogger::WriteFormat(KLogDir, KLogFilename, EFileLoggingModeAppend, aFmt, list); - } - - -#ifdef __WINS__ -#define FLOG(arg...) { FPrint(arg); } -//#define FLOG(a) { RDebug::Print(a); } -#else -//#define FLOG(arg...) { RDebug::Print(arg); } -#define FLOG(arg...) { FPrint(arg); } -#endif - -#else // _DEBUG - -#define FLOG(arg...) // No loggings - -#endif // _DEBUG - - - - -#endif // RINGINGTONE_3D_PLUGIN_DEBUG_H - -// End of File