Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

message.h

Go to the documentation of this file.
00001 /* vim:expandtab:autoindent:tabstop=4:shiftwidth=4:filetype=c:cindent: 
00002  *
00003  * Copyright (C) 2005 Dell Inc.
00004  *  by Michael Brown <Michael_E_Brown@dell.com>
00005  * Licensed under the Open Software License version 2.1 
00006  * 
00007  * Alternatively, you can redistribute it and/or modify 
00008  * it under the terms of the GNU General Public License as published 
00009  * by the Free Software Foundation; either version 2 of the License, 
00010  * or (at your option) any later version.
00011 
00012  * This program is distributed in the hope that it will be useful, but 
00013  * WITHOUT ANY WARRANTY; without even the implied warranty of 
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
00015  * See the GNU General Public License for more details.
00016  */
00017 
00018 
00019 #ifndef _MESSAGE_H
00020 #define _MESSAGE_H
00021 
00022 /* This header file should only ever be included in .cpp files. It should never
00023  * be included in header files, due to the fact that it will sometimes mess up
00024  * portions of the standard library because of the redefinitions.
00025  *
00026  * Always include this file as the last include in the .cpp file, if it is
00027  * needed.
00028  */
00029 
00030 #include "smbios/compat.h"
00031 
00032 #if defined(LIBSMBIOS_HAS_GETTEXT)
00033 #   include <libintl.h>
00034 #   define _(String) gettext (String)
00035 #   define gettext_noop(String) String
00036 #   define N_(String) gettext_noop (String)
00037 #else
00038 #   define _(string) string
00039 #   define N_(string) string
00040 #   define textdomain(Domain)
00041 #   define bindtextdomain(Package, Directory)
00042 #endif
00043 
00044 
00045 #endif /* _MESSAGE_H */

Generated on Wed Apr 11 16:25:10 2007 for SMBIOS Library by doxygen 1.3.5