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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // Created at: 20-Dec-99 10:38:03 AM
15 // Defines a macro for the file line pragma message
25 #if !defined __PRAGMAMESSAGE_H__
26 #define __PRAGMAMESSAGE_H__
29 #define QUOTE(x) _QUOTE(x)
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__) ") : "
37 #endif // __PRAGMAMESSAGE_H__