1999-09-27 18:44:28 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/* This file is part of
|
|
|
|
* ======================================================
|
2002-03-21 17:27:08 +00:00
|
|
|
*
|
1999-09-27 18:44:28 +00:00
|
|
|
* LyX, The Document Processor
|
2002-03-21 17:27:08 +00:00
|
|
|
*
|
1999-12-13 21:59:26 +00:00
|
|
|
* Copyright 1995 Matthias Ettrich
|
2001-05-30 13:53:44 +00:00
|
|
|
* Copyright 1995-2001 The LyX Team.
|
1999-09-27 18:44:28 +00:00
|
|
|
*
|
1999-11-15 12:01:38 +00:00
|
|
|
* ====================================================== */
|
1999-09-27 18:44:28 +00:00
|
|
|
|
1999-10-02 16:21:10 +00:00
|
|
|
#ifndef LSTRING_H
|
2002-03-21 17:27:08 +00:00
|
|
|
#define LSTRING_H
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2002-08-07 22:45:38 +00:00
|
|
|
#if 0
|
2001-06-01 10:53:24 +00:00
|
|
|
#ifndef _CONFIG_H
|
|
|
|
#error The <config.h> header should always be included before LString.h
|
|
|
|
#endif
|
2002-08-07 22:45:38 +00:00
|
|
|
#endif
|
2001-06-01 10:53:24 +00:00
|
|
|
|
1999-10-02 16:21:10 +00:00
|
|
|
#ifndef USE_INCLUDED_STRING
|
2002-11-04 02:12:42 +00:00
|
|
|
|
1999-10-02 16:21:10 +00:00
|
|
|
#include <string>
|
|
|
|
using std::string;
|
2002-11-04 02:12:42 +00:00
|
|
|
#define STRCONV(STR) STR
|
1999-09-27 18:44:28 +00:00
|
|
|
#else
|
2002-11-04 02:12:42 +00:00
|
|
|
|
2000-06-12 11:27:15 +00:00
|
|
|
#ifdef __STRING__
|
|
|
|
#error The <string> header has been included before LString.h
|
|
|
|
#else
|
|
|
|
#define __STRING__
|
|
|
|
#endif
|
1999-10-02 16:21:10 +00:00
|
|
|
#include "support/lyxstring.h"
|
2003-06-30 23:56:22 +00:00
|
|
|
using lyx::string;
|
2002-11-04 02:12:42 +00:00
|
|
|
#define STRCONV(STR) STR.c_str()
|
1999-09-27 18:44:28 +00:00
|
|
|
#endif
|
2002-11-04 02:12:42 +00:00
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
#endif
|