]> git.lyx.org Git - lyx.git/blob - src/LString.h
split LyXText::rowlist_ into individual Paragraph::rows_ chunks
[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 #define STRCONV(STR) STR.c_str()
36 #endif
37
38 #endif