sbsv2/raptor/test/smoke_suite/test_resources/tools2/tool_exe_a.cpp
changeset 13 c327db0664bb
equal deleted inserted replaced
12:5e7562f67577 13:c327db0664bb
       
     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 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".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
       
    18 // the product HRH file
       
    19 #ifdef __PRODUCT_INCLUDE__
       
    20 #include __PRODUCT_INCLUDE__
       
    21 #endif
       
    22 
       
    23 // in the current directory
       
    24 #include "header_abc.h"
       
    25 
       
    26 // USERINCLUDES
       
    27 #include "header_def.h"
       
    28 #include "header_ghi.h"
       
    29 
       
    30 // SYSTEMINCLUDES
       
    31 #include <header_jkl.h>
       
    32 #include <header_mno.h>
       
    33 
       
    34 int tool_exe_b(int);
       
    35 int tool_lib1_a(int);
       
    36 int tool_lib1_b(int);
       
    37 int tool_lib2_a(int);
       
    38 int tool_lib2_b(int);
       
    39 
       
    40 
       
    41 #include "../inc/macrotests.h"
       
    42 
       
    43 int main(int argc, char *argv[])
       
    44 {
       
    45     // use all the functions
       
    46 
       
    47 	int a = tool_lib1_a(argc) + tool_lib2_a(argc);
       
    48 	int b = tool_lib1_b(argc) + tool_lib2_b(argc);
       
    49 
       
    50 	// defined in the headers
       
    51 	int caps = A + B + C + D + E + F + G + H + I + J + K + L + M + N + O;
       
    52 
       
    53 	return tool_exe_b(a + b + caps);
       
    54 }