epoc32/include/mw/pragmamessage.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     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