memana/analyzetoolclient/commandlineengine/internal/src/utility.cpp
changeset 2 6a82cd05fb1e
parent 1 3ff3fecb12fe
equal deleted inserted replaced
1:3ff3fecb12fe 2:6a82cd05fb1e
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     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".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Miscellaneous utility functions.
       
    15 *
       
    16 */
       
    17 #include "../inc/ATCommonDefines.h"
       
    18 #include "../inc/CATBase.h"
       
    19 #include "../inc/CATProject.h"
       
    20 
       
    21 //Analyze report logging level.
       
    22 #define MAX_LOG_LEVEL 3
       
    23 
       
    24 //Function declarations.
       
    25 bool CheckSBS2Folder( void );
       
    26 
       
    27 /**
       
    28 * Helper function which checks does current dir contain atool_temp\build folder which
       
    29 * is used in sbs2 support
       
    30 */
       
    31 bool CheckSBS2Folder( void )
       
    32 {
       
    33 	LOG_FUNC_ENTRY("CheckSBS2Folder");
       
    34 	if ( CATBase::DirectoryExists( RAPTOR_MAKEFILE_DIR ) )
       
    35 		return true;
       
    36 	return false;
       
    37 }
       
    38 //EOF