analyzetool/commandlineengine/src/utility.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 25 May 2010 14:22:58 +0300
branchRCL_3
changeset 13 da2cedce4920
permissions -rw-r--r--
Revision: 201019 Kit: 2010121

/*
* Copyright (c) 2009 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:  Miscellaneous utility functions.
*
*/
#include "../inc/ATCommonDefines.h"
#include "../inc/CATBase.h"
#include "../inc/CATProject.h"

//Analyze report logging level.
#define MAX_LOG_LEVEL 3

//Function declarations.
bool CheckSBS2Folder( void );

/**
* Helper function which checks does current dir contain atool_temp\build folder which
* is used in sbs2 support
*/
bool CheckSBS2Folder( void )
{
	LOG_FUNC_ENTRY("CheckSBS2Folder");
	if ( CATBase::DirectoryExists( RAPTOR_MAKEFILE_DIR ) )
		return true;
	return false;
}
//EOF