]> git.lyx.org Git - lyx.git/blob - src/LString.h
Lars says _(_(b)) is a bug ... fix
[lyx.git] / src / LString.h
1 // -*- C++ -*-
2 /* This file is part of
3  * ======================================================
4  *
5  *           LyX, The Document Processor
6  *
7  *          Copyright 1995 Matthias Ettrich
8  *          Copyright 1995-2001 The LyX Team.
9  *
10  * ====================================================== */
11
12 #ifndef LSTRING_H
13 #define LSTRING_H
14
15 #if 0
16 #ifndef _CONFIG_H
17 #error The <config.h> header should always be included before LString.h
18 #endif
19 #endif
20
21 #ifndef USE_INCLUDED_STRING
22
23 #include <string>
24 using std::string;
25 #define STRCONV(STR) STR
26 #else
27
28 #ifdef __STRING__
29 #error The <string> header has been included before LString.h
30 #else
31 #define __STRING__
32 #endif
33 #include "support/lyxstring.h"
34 // using lyx::string;
35 typedef lyxstring string;
36 #define STRCONV(STR) STR.c_str()
37 #endif
38
39 #endif