lyx_mirror/src/LString.h
Angus Leeming 0be0fcfd59 If I ever see another licence blurb again, it'll be too soon...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7598 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-23 00:17:00 +00:00

40 lines
736 B
C++

// -*- C++ -*-
/**
* \file LString.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Lars Gullik Bjønnes
* \author Jean-Marc Lasgouttes
*
* Full author contact details are available in file CREDITS.
*/
#ifndef LSTRING_H
#define LSTRING_H
#if 0
#ifndef _CONFIG_H
#error The <config.h> header should always be included before LString.h
#endif
#endif
#ifndef USE_INCLUDED_STRING
#include <string>
using std::string;
#define STRCONV(STR) STR
#else
#ifdef __STRING__
#error The <string> header has been included before LString.h
#else
#define __STRING__
#endif
#include "support/lyxstring.h"
using lyx::string;
#define STRCONV(STR) STR.c_str()
#endif
#endif