applayerprotocols/wapbase/inc/PragmaMessage.h
changeset 0 b16258d2340f
equal deleted inserted replaced
-1:000000000000 0:b16258d2340f
       
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Created at: 20-Dec-99 10:38:03 AM
       
    15 // Defines a macro for the file line pragma message
       
    16 // 
       
    17 //
       
    18 
       
    19 /**
       
    20  @file PragmaMessage.h 
       
    21  @publishedAll
       
    22  @deprecated
       
    23 */
       
    24  
       
    25 #if !defined __PRAGMAMESSAGE_H__
       
    26 #define __PRAGMAMESSAGE_H__
       
    27 
       
    28 #define _QUOTE(x) # x
       
    29 #define QUOTE(x) _QUOTE(x)
       
    30 
       
    31 // Use __FILE__LINE__ as a string containing "File.x(line#)" for example:
       
    32 //     #pragma message( __FILE__LINE__ "Remove this line after testing.")
       
    33 // The above example will display the file name and line number in the build window
       
    34 // in such a way as to allow you to double click on it to go to the line.
       
    35 #define __FILE__LINE__ __FILE__ "(" QUOTE(__LINE__) ") : "
       
    36 
       
    37 #endif	// __PRAGMAMESSAGE_H__
       
    38 
       
    39