idlehomescreen/inc/ai3perf.h
author jake
Tue, 13 Apr 2010 15:08:48 +0300
branchv5backport
changeset 32 91826b468eb8
parent 0 f72a12da539e
permissions -rw-r--r--
Many of the components were not compiling,because bld.inf had undefined flag #ifdef RD_CUSTOMIZABLE_AI. All the flags removed now. Components do not compile right away. E.g. many icons are missing and need to be copied from Symbian3. See example from MCSPlugin. Shortcut plugin does not need to be compiled as MCSPlugin replaces it.

/*
* Copyright (c) 2007 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 macros to log performance related details
*
*/


#ifndef AI3PERF_H
#define AI3PERF_H
#include "ai3.hrh"
#ifdef AI3_DEBUG_PERFORMANCE
#include "ai3performance.h"
  #define AI3_PERF_START(p1,p2) CAi3Perf::TPerfData* p1 = CAi3Perf::StartTestCase(_L(p2));
  #define AI3_PERF_STOP(p1,p2) CAi3Perf::StopTestCase(p1,_L(p2));
#else
  #define AI3_PERF_START(p1,p2)
  #define AI3_PERF_STOP(p1,p2)
#endif

#endif //AI3PERF_H