#ifndef BRANCHES_H
#define BRANCHES_H
-#include "LString.h"
+#include "support/std_string.h"
#include <list>
class Branch {
#ifndef BUFFER_VIEW_H
#define BUFFER_VIEW_H
-#include "LString.h"
+#include "support/std_string.h"
#include "insets/inset.h"
#ifndef BULLET_H
#define BULLET_H
-#include "LString.h"
+#include "support/std_string.h"
///
class Bullet {
+2003-09-05 Angus Leeming <leeming@lyx.org>
+
+ Replace LString.h with support/std_string.h,
+ Lsstream.h with support/std_sstream.h,
+ support/LIstream.h with support/std_istream.h,
+ support/LOstream.h with support/std_ostream.h.
+
+ Changes resulting throughout the tree.
+
2003-09-05 Angus Leeming <leeming@lyx.org>
* sgml.h: ensure that the header file can be compiled stand-alone.
#ifndef CHKTEX_H
#define CHKTEX_H
-#include "LString.h"
+#include "support/std_string.h"
class LyXLex;
class TeXErrors;
#ifndef DEP_TABLE_H
#define DEP_TABLE_H
-#include "LString.h"
+#include "support/std_string.h"
#include <map>
///
#include <map>
-#include "LString.h"
+#include "support/std_string.h"
class Floating;
#ifndef FLOATING_H
#define FLOATING_H
-#include "LString.h"
+#include "support/std_string.h"
/** This is a "float layout" object. It contains the parameters for how to
handle the different kinds of floats, default ones and user created ones.
#ifndef LCOLOR_H
#define LCOLOR_H
-#include "LString.h"
+#include "support/std_string.h"
#include <boost/scoped_ptr.hpp>
/**
+++ /dev/null
-// -*- 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
#define LATEX_H
#include "latexrunparams.h"
-#include "LString.h"
+#include "support/std_string.h"
#include <vector>
#include <set>
#include "FloatList.h"
#include "language.h"
#include "encoding.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include "support/filetools.h"
#include "support/types.h"
-#include "LString.h"
+#include "support/std_string.h"
#include <set>
#include <list>
+++ /dev/null
-// -*- C++ -*-
-/**
- * \file Lsstream.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 LSSTREAM_H
-#define LSSTREAM_H
-
-// Since we will include a string header anyway, we'd better do it
-// right now so that <string> is not loaded before lyxstring.h. (JMarc)
-#include "LString.h"
-
-#ifdef HAVE_SSTREAM
-#include <sstream>
-#else
-#include "support/sstream.h"
-#endif
-
-using std::istringstream;
-using std::ostringstream;
-using std::stringstream;
-
-#endif
#include "lfuns.h"
-#include "LString.h"
+#include "support/std_string.h"
#include <boost/utility.hpp>
#include <map>
InsetList.h \
LColor.C \
LColor.h \
- LString.h \
LaTeX.C \
LaTeX.h \
LaTeXFeatures.C \
LaTeXFeatures.h \
latexrunparams.h \
- Lsstream.h \
LyXAction.C \
LyXAction.h \
MenuBackend.C \
#ifndef MENUBACKEND_H
#define MENUBACKEND_H
-#include "LString.h"
+#include "support/std_string.h"
#include <boost/shared_ptr.hpp>
#include "buffer.h"
#include "BufferView.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include "gettext.h"
#include "lyxtext.h"
#ifndef PARAGRAPHPARAMETERS_H
#define PARAGRAPHPARAMETERS_H
-#include "LString.h"
+#include "support/std_string.h"
#include "ShareContainer.h"
#include "layout.h"
#include <map>
-#include "LString.h"
+#include "support/std_string.h"
#include "lyxfont.h"
///
#include <config.h>
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include "Spacing.h"
using std::ios;
#include <iosfwd>
-#include "LString.h"
+#include "support/std_string.h"
///
class Spacing {
#ifndef SPELL_BASE_H
#define SPELL_BASE_H
-#include "LString.h" // can't forward declare...
+#include "support/std_string.h" // can't forward declare...
class BufferParams;
class WordLangTuple;
#ifndef TEXT_CACHE_H
#define TEXT_CACHE_H
-#include "LString.h"
+#include "support/std_string.h"
#include <iosfwd>
#include <map>
#include <vector>
#include <map>
-#include "LString.h"
+#include "support/std_string.h"
#ifdef HAVE_LIBAIKSAURUS
#include AIKSAURUS_H_LOCATION
#endif
#include <vector>
#include <algorithm>
-#include "LString.h"
+#include "support/std_string.h"
class LyXLex;
#ifndef VARIABLES_H
#define VARIABLES_H
-#include "LString.h"
+#include "support/std_string.h"
#include <map>
#ifndef WORD_LANG_TUPLE_H
#define WORD_LANG_TUPLE_H
-#include "LString.h"
+#include "support/std_string.h"
/**
* A word and its given language code ("en_US").
#include "author.h"
#include "support/LAssert.h"
-#include "support/LIstream.h"
+#include "support/std_istream.h"
#include "support/lstrings.h"
using namespace lyx::support;
#include <map>
#include <iosfwd>
-#include "LString.h"
+#include "support/std_string.h"
class Author {
public:
#include "box.h"
-#include "support/LOstream.h"
+#include "support/std_ostream.h"
using std::ostream;
#include "gettext.h"
#include "language.h"
#include "exporter.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include "format.h"
#include "ParagraphParameters.h"
#include "iterators.h"
#ifndef BUFFER_H
#define BUFFER_H
-#include "LString.h"
+#include "support/std_string.h"
#include "undo.h"
#include "support/limited_stack.h"
#ifndef BUFFER_FUNCS_H
#define BUFFER_FUNCS_H
-#include "LString.h"
+#include "support/std_string.h"
class Buffer;
class TeXErrors;
#ifndef BUFFER_LIST_H
#define BUFFER_LIST_H
-#include "LString.h"
+#include "support/std_string.h"
#include <boost/utility.hpp>
#include "gettext.h"
#include "language.h"
#include "LaTeXFeatures.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include "lyxlex.h"
#include "lyxtextclasslist.h"
#include "tex-strings.h"
#ifndef BUFFERPARAMS_H
#define BUFFERPARAMS_H
-#include "LString.h"
+#include "support/std_string.h"
#include "vspace.h"
#include "Spacing.h"
#include "Bullet.h"
#include "mathed/math_cursor.h"
#include "support/tostr.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include "insets/insettext.h"
#ifndef BUFFERVIEW_FUNCS_H
#define BUFFERVIEW_FUNCS_H
-#include "LString.h"
+#include "support/std_string.h"
class BufferView;
class LyXFont;
#include <map>
#include <utility>
-#include "LString.h"
+#include "support/std_string.h"
/// a class for mapping char strings such as "\^{A}" to the integer value
class CharacterSet {
#include "counters.h"
#include "debug.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include "support/lstrings.h"
#include "support/LAssert.h"
#ifndef COUNTERS_H
#define COUNTERS_H
-#include "LString.h"
+#include "support/std_string.h"
#include <map>
#include <iosfwd>
-#include "LString.h"
+#include "support/std_string.h"
/** Ideally this should have been a namespace, but since we try to be
compilable on older C++ compilators too, we use a struct instead.
#ifndef ENCODING_H
#define ENCODING_H
-#include "LString.h"
+#include "support/std_string.h"
#include "lyxrc.h"
#include <map>
#ifndef ERRORLIST_H
#define ERRORLIST_H
-#include "LString.h"
+#include "support/std_string.h"
#include <vector>
#define EXPORTER_H
#include <vector>
-#include "LString.h"
+#include "support/std_string.h"
class Buffer;
class Format;
#define FORMAT_H
-#include "LString.h"
+#include "support/std_string.h"
#include <vector>
// GUI-specific implementations
-#include "LString.h"
+#include "support/std_string.h"
int prompt_pimpl(string const & title, string const & question,
#define DIALOGS_H
-#include "LString.h"
+#include "support/std_string.h"
#include <boost/utility.hpp>
#include <boost/scoped_ptr.hpp>
#include "lfuns.h"
-#include "LString.h"
+#include "support/std_string.h"
/**
* \class FileDialog
#ifndef LYXKEYSYM_H
#define LYXKEYSYM_H
-#include "LString.h"
+#include "support/std_string.h"
#include <boost/shared_ptr.hpp>
/**
#define LYXVIEW_H
-#include "LString.h"
+#include "support/std_string.h"
#include <boost/utility.hpp>
#include <boost/scoped_ptr.hpp>
#define MENUBAR_H
-#include "LString.h"
+#include "support/std_string.h"
/**
* The LyX GUI independent menubar class
#define PAINTER_H
-#include "LString.h"
+#include "support/std_string.h"
#include "LColor.h"
class LyXFont;
#define TOOLBAR_H
-#include "LString.h"
+#include "support/std_string.h"
#include "ToolbarBackend.h"
class LyXView;
#define BCVIEW_H
-#include "LString.h"
+#include "support/std_string.h"
#include <boost/shared_ptr.hpp>
#include <list>
#include "ButtonPolicies.h"
-#include "LString.h"
+#include "support/std_string.h"
#include <boost/scoped_ptr.hpp>
#include <vector>
#include <boost/utility.hpp>
-#include "support/LOstream.h"
+#include "support/std_ostream.h"
/** An abstract base class for button policies.
A state machine implementation of the various button policies used by the
#include "ControlAboutlyx.h"
#include "gettext.h"
#include "version.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include "support/filetools.h" // FileSearch
#include "support/path_defines.h"
#ifndef CONTROLCOMMANDBUFFER_H
#define CONTROLCOMMANDBUFFER_H
-#include "LString.h"
+#include "support/std_string.h"
#include <vector>
#include <boost/scoped_ptr.hpp>
#include "ControlDialog_impl.h"
-#include "LString.h"
+#include "support/std_string.h"
#include "bufferparams.h"
#include <vector>
#include "ControlDialog_impl.h"
-#include "LString.h"
+#include "support/std_string.h"
#include <boost/signals/connection.hpp>
#include "lyxlex.h"
#include "ParagraphParameters.h"
#include "support/LAssert.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
using namespace lyx::support;
#include "ControlDialog_impl.h"
-#include "LString.h"
+#include "support/std_string.h"
/** A controller for Preamble dialogs.
*/
#include "ControlDialog_impl.h"
-#include "LString.h"
+#include "support/std_string.h"
#include "funcrequest.h"
#include "lyxrc.h"
#include "LColor.h"
#include "ControlDialog_impl.h"
-#include "LString.h"
+#include "support/std_string.h"
class PrinterParams;
#include "ControlDialog_impl.h"
-#include "LString.h"
+#include "support/std_string.h"
/** A controller for Search dialogs.
*/
#include "ControlDialog_impl.h"
-#include "LString.h"
+#include "support/std_string.h"
#include <vector>
#include <boost/scoped_ptr.hpp>
#include "ControlDialog_impl.h"
-#include "LString.h"
+#include "support/std_string.h"
#include "WordLangTuple.h"
class SpellBase;
#include "Kernel.h"
-#include "LString.h"
+#include "support/std_string.h"
#include <boost/utility.hpp>
#include <boost/scoped_ptr.hpp>
#define KERNEL_H
-#include "LString.h"
+#include "support/std_string.h"
class Buffer;
class ControlButtons;
class ButtonController;
-#include "LString.h"
+#include "support/std_string.h"
#include <boost/utility.hpp>
#include "biblio.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include "gettext.h" // for _()
#include "support/lstrings.h"
#define BIBLIOHELPERS_H
-#include "LString.h"
+#include "support/std_string.h"
#include <map>
#include <vector>
#define FRNT_LANG_H
-#include "LString.h"
+#include "support/std_string.h"
#include <utility>
#include <vector>
#define HELPERFUNCS_H
-#include "LString.h"
+#include "support/std_string.h"
#include <utility> // pair
#include <vector> // pair
#define TEX_HELPERS_H
-#include "LString.h"
+#include "support/std_string.h"
#include <utility>
#include <vector>
#ifndef FONT_METRICS_H
#define FONT_METRICS_H
-#include "LString.h"
+#include "support/std_string.h"
class LyXFont;
#include <config.h>
#include "support/lstrings.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include "gnome_helpers.h"
#include "gnomeBC.h"
#include "xfont_loader.h"
#include "xformsImage.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include <iomanip>
#include <fcntl.h>
#include <boost/bind.hpp>
#include <config.h>
#include <gtkmm.h>
-#include "LString.h"
+#include "support/std_string.h"
#include "FileDialogPrivate.h"
#include "ButtonController.h"
#include "BCView.h"
-#include "LString.h"
+#include "support/std_string.h"
#include "gettext.h"
class GBC : public GuiBC<Gtk::Button, Gtk::Widget>
#ifndef GLYX_KEYSYM_H
#define GLYX_KEYSYM_H
-#include "LString.h"
+#include "support/std_string.h"
#include "frontends/LyXKeySym.h"
class GLyXKeySym : public LyXKeySym
#define GMINI_BUFFER_H
#include "frontends/Timeout.h"
-#include "LString.h"
+#include "support/std_string.h"
class ControlCommandBuffer;
class GMiniBuffer : public SigC::Object
#include <gtkmm.h>
#include "GPainter.h"
-#include "LString.h"
+#include "support/std_string.h"
#include "debug.h"
#include "GWorkArea.h"
#include "lyxrc.h"
#include <map>
#include "frontends/Painter.h"
-#include "LString.h"
+#include "support/std_string.h"
class LyXFont;
class GWorkArea;
#ifndef GPRINT_H
#define GPRINT_H
-#include "LString.h"
+#include "support/std_string.h"
#include "GViewBase.h"
class ControlPrint;
#define GTEXT_H
#include "GViewBase.h"
-#include "LString.h"
+#include "support/std_string.h"
class ControlCommand;
#include <gtkmm.h>
#include "frontends/Toolbar.h"
#include "ToolbarBackend.h"
-#include "LString.h"
+#include "support/std_string.h"
class GToolbar : public Toolbar, public SigC::Object
{
#ifndef ID_SC_H
#define ID_SC_H
-#include "LString.h"
+#include "support/std_string.h"
namespace id_sc
{
#include "xftFontLoader.h"
#include "GWorkArea.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include <iomanip>
#include <fcntl.h>
#include <boost/bind.hpp>
#define XFT_FONT_LOADER_H
#include "lyxfont.h"
-#include "LString.h"
+#include "support/std_string.h"
#include <X11/Xft/Xft.h>
class GWorkArea;
#define GUIAPI_H
-#include "LString.h"
+#include "support/std_string.h"
class Dialogs;
#define LYX_GUI_H
#include "LColor.h"
-#include "LString.h"
+#include "support/std_string.h"
#include "FuncStatus.h"
#include <vector>
#include "ui/BulletsModuleBase.h"
-#include "LString.h"
+#include "support/std_string.h"
#include <vector>
#include "Bullet.h"
#include <boost/array.hpp>
#include "frontends/FileDialog.h"
#include <qfiledialog.h>
-#include "LString.h"
+#include "support/std_string.h"
class QToolButton;
#include "support/lstrings.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include "qt_helpers.h"
#include "ButtonController.h"
#include "ControlAboutlyx.h"
#include "controllers/character.h"
#include "controllers/frnt_lang.h"
-#include "LString.h"
+#include "support/std_string.h"
#include <vector>
#include "ui/QDelimiterDialogBase.h"
-#include "LString.h"
+#include "support/std_string.h"
class QMathDelimiter;
class IconPalette;
#include "ui/QDocumentDialogBase.h"
-#include "LString.h"
+#include "support/std_string.h"
#include "ui/BulletsModuleBase.h"
#include "BulletsModule.h"
#define QLMENUBAR_H
#include "frontends/Menubar.h"
-#include "LString.h"
+#include "support/std_string.h"
#include <map>
class LyXView;
#include "Painter.h"
-#include "LString.h"
+#include "support/std_string.h"
#include "LColor.h"
#include <boost/scoped_ptr.hpp>
#include <qpopupmenu.h>
-#include "LString.h"
+#include "support/std_string.h"
#include <map>
#include "qt_helpers.h"
#include "ControlLog.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include <qtextview.h>
#include <qpushbutton.h>
#define QLYXKEYSYM_H
-#include "LString.h"
+#include "support/std_string.h"
#include "frontends/LyXKeySym.h"
#include <qstring.h>
#include "ui/QMathDialogBase.h"
-#include "LString.h"
+#include "support/std_string.h"
class QMath;
class IconPalette;
#include "qt_helpers.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include "ControlMath.h"
#include "QMath.h"
#include "QDialogView.h"
-#include "LString.h"
+#include "support/std_string.h"
#include <vector>
class ControlParagraph;
#include "support/lstrings.h"
#include "support/tostr.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include <iomanip>
#include "ControlPrefs.h"
#include "QDialogView.h"
#include <vector>
-#include "LString.h"
+#include "support/std_string.h"
class ControlRef;
class QRefDialog;
#include "ui/QSearchDialogBase.h"
-#include "LString.h"
+#include "support/std_string.h"
class QSearch;
class QCloseEvent;
#include <config.h>
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include "qt_helpers.h"
#include "support/lstrings.h"
#include "ControlVCLog.h"
* Full author contact details are available in file CREDITS.
*/
-#include "LString.h"
+#include "support/std_string.h"
#include <qwidget.h>
#include <qwidget.h>
-#include "LString.h"
+#include "support/std_string.h"
#include <utility>
#include <vector>
#ifndef PANELSTACK_H
#define PANELSTACK_H
-#include "LString.h"
+#include "support/std_string.h"
#include <qwidget.h>
#include <qnamespace.h>
-#include "LString.h"
+#include "support/std_string.h"
/**
* Return true if the key event is a modifier.
#define QTHELPERS_H
-#include "LString.h"
+#include "support/std_string.h"
#include <utility>
#include "lyx_forms.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include <iomanip>
namespace support = lyx::support;
#define COLOR_H
-#include "LString.h"
+#include "support/std_string.h"
#include "LColor.h"
/** Given col, fills r, g, b in the range 0-255.
#define FONTINFO_H
-#include "LString.h"
+#include "support/std_string.h"
#include <boost/scoped_array.hpp>
#include "ControlAboutlyx.h"
#include "forms/form_aboutlyx.h"
#include "xforms_helpers.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include "version.h"
#include "lyx_forms.h"
#include "ButtonPolicies.h"
#include "forms_fwd.h"
-#include "LString.h"
+#include "support/std_string.h"
#include <boost/scoped_ptr.hpp>
#include <X11/Xlib.h> // for Pixmap
#include "Color.h"
#include "forms_fwd.h"
-#include "LString.h"
+#include "support/std_string.h"
#include <boost/scoped_ptr.hpp>
#include <X11/Xlib.h> // for Pixmap
#include "ButtonPolicies.h"
#include "forms_fwd.h"
-#include "LString.h"
+#include "support/std_string.h"
#include <boost/scoped_ptr.hpp>
#include <X11/Xlib.h> // for Pixmap
-#include "LString.h"
+#include "support/std_string.h"
#include "forms_fwd.h"
#include "controllers/ButtonController.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include "delim.xbm"
#include "delim0.xpm"
#include "lyx_forms.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
using namespace lyx::support;
#include "lyx_forms.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
FormVCLog::FormVCLog(Dialog & parent)
#define TOOLTIPS_H
-#include "LString.h"
+#include "support/std_string.h"
#include <boost/utility.hpp>
#include <boost/signals/signal0.hpp>
#ifndef XFORMSMENUBAR_H
#define XFORMSMENUBAR_H
-#include "LString.h"
+#include "support/std_string.h"
#include "frontends/Menubar.h"
#include <boost/shared_ptr.hpp>
#define XLYXKEYSYM_H
-#include "LString.h"
+#include "support/std_string.h"
#include <X11/Xlib.h>
#include "frontends/LyXKeySym.h"
#include "lyx_forms.h"
-#include "LString.h"
+#include "support/std_string.h"
#include <boost/scoped_ptr.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/signals/connection.hpp>
#define XPAINTER_H
#include "frontends/Painter.h"
-#include "LString.h"
+#include "support/std_string.h"
#include <X11/Xlib.h>
EXTRA_DIST = fdfixc.sed fdfixh.sed fdfix.sh tmp_str.sed README $(SRCS)
-# For (forms_fwd.h, forms_gettext.h) and LString.h, respectively.
+# For (forms_fwd.h, forms_gettext.h) and support/std_string.h, respectively.
INCLUDES = -I$(srcdir)/.. -I$(top_srcdir)/src -I..
noinst_LTLIBRARIES = libfdesign.la
#define FORMS_GETTEXT_H
-#include "LString.h"
+#include "support/std_string.h"
/// Extract shortcut from "<identifer>|<shortcut>" string
string const scex(string const &);
#include <boost/bind.hpp>
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include <iomanip>
#include <fcntl.h>
#include <X11/Xlib.h>
#include "lyxfont.h"
-#include "LString.h"
+#include "support/std_string.h"
class FontInfo;
#define XFONT_METRICS_H
-#include "LString.h"
+#include "support/std_string.h"
#include "font_metrics.h"
#include "forms_fwd.h"
#include "Color.h"
-#include "LString.h"
+#include "support/std_string.h"
#include <algorithm>
#include <vector>
#include "lyxfunc.h" // only for setMessage()
#include "frontends/LyXView.h"
#include "debug.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
using std::vector;
#include "lfuns.h"
#include "frontends/mouse_state.h"
-#include "LString.h"
+#include "support/std_string.h"
class BufferView;
* Panic/fatal (that should not happen) messages need not be translated
*/
-#include "LString.h"
+#include "support/std_string.h"
//#ifdef ENABLE_NLS
#ifndef GRAPH_H
#define GRAPH_H
-#include "LString.h"
+#include "support/std_string.h"
#include <queue>
#include <vector>
#ifndef GRAPHICSCACHE_H
#define GRAPHICSCACHE_H
-#include "LString.h"
+#include "support/std_string.h"
#include <vector>
#include <boost/utility.hpp>
#include <boost/scoped_ptr.hpp>
#define GRAPHICSCACHEITEM_H
#include "GraphicsTypes.h"
-#include "LString.h"
+#include "support/std_string.h"
#include <boost/utility.hpp>
#include <boost/scoped_ptr.hpp>
#include <boost/bind.hpp>
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include <fstream>
namespace support = lyx::support;
#ifndef GRAPHICSCONVERTER_H
#define GRAPHICSCONVERTER_H
-#include "LString.h"
+#include "support/std_string.h"
#include <boost/signals/signal1.hpp>
#include <boost/scoped_ptr.hpp>
#include <boost/utility.hpp>
#ifndef GRAPHICSIMAGE_H
#define GRAPHICSIMAGE_H
-#include "LString.h"
+#include "support/std_string.h"
#include <boost/shared_ptr.hpp>
#include <boost/function/function0.hpp>
#define GRAPHICSLOADER_H
#include "GraphicsTypes.h"
-#include "LString.h"
+#include "support/std_string.h"
#include <boost/signals/signal0.hpp>
#include <boost/scoped_ptr.hpp>
#include "lyxlength.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
using std::abs;
#define GRAPHICSPARAMS_H
#include "GraphicsTypes.h"
-#include "LString.h"
+#include "support/std_string.h"
namespace lyx {
#ifndef GRAPHICSTYPES_H
#define GRAPHICSTYPES_H
-#include "LString.h"
+#include "support/std_string.h"
namespace lyx {
namespace graphics {
#ifndef PREVIEWIMAGE_H
#define PREVIEWIMAGE_H
-#include "LString.h"
+#include "support/std_string.h"
#include <boost/scoped_ptr.hpp>
class InsetOld;
#include <boost/bind.hpp>
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include <fstream>
#include <iomanip>
#ifndef PREVIEWLOADER_H
#define PREVIEWLOADER_H
-#include "LString.h"
+#include "support/std_string.h"
#include <boost/utility.hpp>
#include <boost/scoped_ptr.hpp>
#include <boost/signals/signal1.hpp>
#ifndef PREVIEWEDINSET_H
#define PREVIEWEDINSET_H
-#include "LString.h"
+#include "support/std_string.h"
#include <boost/signals/trackable.hpp>
#include <boost/signals/connection.hpp>
#ifndef PREVIEWS_H
#define PREVIEWS_H
-#include "LString.h"
+#include "support/std_string.h"
#include <boost/utility.hpp>
#include <boost/scoped_ptr.hpp>
#define IMPORTER_H
#include <vector>
-#include "LString.h"
+#include "support/std_string.h"
class LyXView;
class Format;
#include <iosfwd>
#include <map>
-#include "LString.h"
+#include "support/std_string.h"
#include <boost/utility.hpp>
class LyXLex;
#ifndef INSETBASE_H
#define INSETBASE_H
-#include "LString.h"
+#include "support/std_string.h"
#include <vector>
#include <memory>
#include "gettext.h"
#include "lyxlex.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
using std::auto_ptr;
using std::ostream;
#include "support/LAssert.h"
#include "support/lstrings.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
using namespace lyx::support;
#include "lyxlex.h"
#include "metricsinfo.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
using std::ostream;
#define INSETCOMMANDPARAMS_H
-#include "LString.h"
+#include "support/std_string.h"
#include <iosfwd>
#include "LaTeXFeatures.h"
#include "lyxlex.h"
#include "lyxrc.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include "frontends/lyx_gui.h"
#include "inset.h"
#include "graphics/GraphicsTypes.h"
#include "support/filename.h"
-#include "LString.h"
+#include "support/std_string.h"
#include <boost/scoped_ptr.hpp>
#include <boost/signals/trackable.hpp>
#include "support/lstrings.h"
#include "support/tostr.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
using namespace lyx::support;
#include "lyxlayout.h"
#include "paragraph_funcs.h"
-#include "support/LOstream.h"
+#include "support/std_ostream.h"
using std::auto_ptr;
using std::ostream;
#include "funcrequest.h"
#include "gettext.h"
#include "LaTeXFeatures.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include "lyxlex.h"
#include "lyxrc.h"
#include "graphics/GraphicsTypes.h"
-#include "LString.h"
+#include "support/std_string.h"
#include "lyxlength.h"
#include "support/filename.h"
#include <boost/bind.hpp>
-#include "Lsstream.h"
+#include "support/std_sstream.h"
using namespace lyx::support;
#define INSET_LATEX_ACCENT_H
#include "inset.h"
-#include "LString.h"
+#include "support/std_string.h"
#include "dimension.h"
/** Insertion of accents
#include "lyxfont.h"
#include "lyxtext.h"
-#include "support/LOstream.h"
+#include "support/std_ostream.h"
using std::endl;
using std::ostream;
#include "gettext.h"
-#include "support/LOstream.h"
+#include "support/std_ostream.h"
using std::auto_ptr;
using std::ostream;
#include "lyxlex.h"
#include "metricsinfo.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
using std::endl;
using std::auto_ptr;
#include "lyxlex.h"
#include "metricsinfo.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
using std::auto_ptr;
using std::ostream;
#include "inset.h"
-#include "LString.h"
+#include "support/std_string.h"
struct LaTeXFeatures;
#include "inset.h"
-#include "LString.h"
+#include "support/std_string.h"
struct LaTeXFeatures;
#include "support/LAssert.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
using namespace lyx::support;
using namespace lyx::graphics;
#include "inset.h"
#include "tabular.h"
-#include "LString.h"
+#include "support/std_string.h"
#include "frontends/mouse_state.h"
class FuncStatus;
#define INSETTEXT_H
#include "updatableinset.h"
-#include "LString.h"
+#include "support/std_string.h"
#include "LColor.h"
#include "ParagraphList.h"
#include "RowList.h"
#include "lyxtext.h"
#include "metricsinfo.h"
-#include "support/LOstream.h"
+#include "support/std_ostream.h"
using std::endl;
using std::ostream;
#include "support/tostr.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
using std::endl;
using std::auto_ptr;
#define MAILINSET_H
-#include "LString.h"
+#include "support/std_string.h"
class InsetBase;
#ifndef INTL_H
#define INTL_H
-#include "LString.h"
+#include "support/std_string.h"
#include "trans_mgr.h"
#ifndef KBMAP_H
#define KBMAP_H
-#include "LString.h"
+#include "support/std_string.h"
#include "frontends/key_state.h"
#include "frontends/LyXKeySym.h"
#include "frontends/key_state.h"
#include "frontends/LyXKeySym.h"
-#include "LString.h"
+#include "support/std_string.h"
#include <vector>
class kb_keymap;
#define LANGUAGE_H
#include <map>
-#include "LString.h"
+#include "support/std_string.h"
class Encoding;
#include <deque>
-#include "LString.h"
+#include "support/std_string.h"
#include <boost/utility.hpp>
/** The latest documents loaded.
#ifndef LENGTH_COMMON_H
#define LENGTH_COMMON_H
-#include "LString.h"
+#include "support/std_string.h"
#include "lyxlength.h"
/// the number of units possible
#ifndef LYX_CB_H
#define LYX_CB_H
-#include "LString.h"
+#include "support/std_string.h"
class Buffer;
class BufferView;
#ifndef LYX_MAIN_H
#define LYX_MAIN_H
-#include "LString.h"
+#include "support/std_string.h"
#include <boost/scoped_ptr.hpp>
#include <boost/utility.hpp>
#ifndef LYX_STY_H
#define LYX_STY_H
-#include "LString.h"
+#include "support/std_string.h"
///
extern string const lyx_def;
#ifndef LYXFIND_H
#define LYXFIND_H
-#include "LString.h"
+#include "support/std_string.h"
#include "support/types.h"
class BufferView;
#include "lyxrc.h"
#include "lyxlex.h"
#include "language.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include "support/lstrings.h"
#include "bufferparams.h" // stateText
#include <iosfwd>
-#include "LString.h"
+#include "support/std_string.h"
#include "LColor.h"
class LyXLex;
#include "LyXAction.h"
#include "debug.h"
#include "gettext.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include "encoding.h"
#include "frontends/LyXView.h"
#include "frontends/lyx_gui.h"
#include "kbsequence.h"
#include "lfuns.h"
-#include "LString.h"
+#include "support/std_string.h"
#include <boost/signals/trackable.hpp>
#include "lyxgluelength.h"
#include "lengthcommon.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
LyXGlueLength::LyXGlueLength(LyXLength const & len)
#include "lyxlength.h"
-#include "LString.h"
+#include "support/std_string.h"
class LyXGlueLength {
#include "lyxfont.h"
#include "layout.h"
#include "Spacing.h"
-#include "LString.h"
+#include "support/std_string.h"
class LyXLex;
class LyXTextClass;
#include "lyxrc.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
using std::abs;
#ifndef LYX_LENGTH_H
#define LYX_LENGTH_H
-#include "LString.h"
+#include "support/std_string.h"
/**
* LyXLength - Represents latex length measurement
#include <iosfwd>
-#include "LString.h"
+#include "support/std_string.h"
#include <boost/utility.hpp>
///
#ifndef LYXSERVER_H
#define LYXSERVER_H
-#include "LString.h"
+#include "support/std_string.h"
#include <boost/signals/trackable.hpp>
#define LYXTEXTCLASS_H
#include "lyxlayout.h"
-#include "LString.h"
+#include "support/std_string.h"
#include "lyxlayout_ptr_fwd.h"
#include "support/types.h"
#include <boost/utility.hpp>
-#include "LString.h"
+#include "support/std_string.h"
#include <vector>
#ifndef LYX_VC_H
#define LYX_VC_H
-#include "LString.h"
+#include "support/std_string.h"
class VCS;
class Buffer;
#include "command_inset.h"
#include "math_mathmlstream.h"
#include "funcrequest.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
using std::auto_ptr;
#include "debug.h"
#include "latexrunparams.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include "frontends/Painter.h"
#include <config.h>
#include "formulabase.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include "support/LAssert.h"
#include "formula.h"
#include "formulamacro.h"
#include "frontends/font_metrics.h"
#include "support/lstrings.h"
#include "lyxlex.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
using namespace lyx::support;
#include "math_parser.h"
#include "math_mathmlstream.h"
#include "math_streamstr.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include <iterator>
#include <config.h>
#include "math_autocorrect.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include "debug.h"
#include "support/filetools.h" // LibFileSearch
#include "math_data.h"
#define MATH_BIGINSET_H
#include "math_diminset.h"
-#include "LString.h"
+#include "support/std_string.h"
/// Inset for \bigl & Co.
#include "math_binaryopinset.h"
#include "PainterInfo.h"
-#include "support/LOstream.h"
+#include "support/std_ostream.h"
#include "math_support.h"
#include "math_mathmlstream.h"
#include "math_boxinset.h"
#include "math_mathmlstream.h"
#include "math_streamstr.h"
-#include "support/LOstream.h"
+#include "support/std_ostream.h"
using std::auto_ptr;
#define MATH_BOXINSET_H
#include "math_nestinset.h"
-#include "LString.h"
+#include "support/std_string.h"
class LyXFont;
#include "math_braceinset.h"
#include "math_support.h"
#include "math_mathmlstream.h"
-#include "support/LOstream.h"
+#include "support/std_ostream.h"
using std::max;
using std::auto_ptr;
#include "math_mathmlstream.h"
#include "math_support.h"
#include "LaTeXFeatures.h"
-#include "support/LOstream.h"
+#include "support/std_ostream.h"
using std::auto_ptr;
#include "math_charinset.h"
#include "dimension.h"
-#include "support/LOstream.h"
+#include "support/std_ostream.h"
#include "math_support.h"
#include "math_mathmlstream.h"
#include "textpainter.h"
#include "math_commentinset.h"
#include "math_support.h"
#include "math_mathmlstream.h"
-#include "support/LOstream.h"
+#include "support/std_ostream.h"
using std::auto_ptr;
#include "support/LAssert.h"
#include "support/limited_stack.h"
#include "debug.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include "math_cursor.h"
#include "formulabase.h"
#include "funcrequest.h"
#include "math_inset.h"
#include "math_iterator.h"
-#include "LString.h"
+#include "support/std_string.h"
class InsetFormulaBase;
class BufferView;
#include "math_parser.h"
#include "math_mathmlstream.h"
#include "math_streamstr.h"
-#include "support/LOstream.h"
+#include "support/std_ostream.h"
using std::auto_ptr;
#define MATH_DECORATIONINSET_H
#include "math_nestinset.h"
-#include "LString.h"
+#include "support/std_string.h"
class latexkeys;
#define MATH_DELIMINSET_H
#include "math_nestinset.h"
-#include "LString.h"
+#include "support/std_string.h"
/// A delimiter
#include "math_envinset.h"
#include "math_mathmlstream.h"
#include "math_streamstr.h"
-#include "support/LOstream.h"
+#include "support/std_ostream.h"
using std::auto_ptr;
#include "math_ertinset.h"
#include "math_mathmlstream.h"
-#include "support/LOstream.h"
+#include "support/std_ostream.h"
using std::auto_ptr;
#include "math_stringinset.h"
#include "math_symbolinset.h"
#include "math_parser.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include "debug.h"
#include "support/filetools.h"
#include "support/lstrings.h"
#define MATH_EXTERN_H
-#include "LString.h"
+#include "support/std_string.h"
class NormalStream;
class MapleStream;
#include "debug.h"
#include "math_support.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include "support/filetools.h" // LibFileSearch
#include "support/lstrings.h"
#include "frontends/lyx_gui.h"
#define MATH_FACTORY_H
-#include "LString.h"
+#include "support/std_string.h"
class MathAtom;
class MathArray;
#include "math_mathmlstream.h"
#include "math_parser.h"
#include "LaTeXFeatures.h"
-#include "support/LOstream.h"
+#include "support/std_ostream.h"
using std::auto_ptr;
#include "math_mathmlstream.h"
#include "math_streamstr.h"
#include "math_parser.h"
-#include "support/LOstream.h"
+#include "support/std_ostream.h"
using std::auto_ptr;
#ifndef MATH_GRIDINFO_H
#define MATH_GRIDINFO_H
-#include "LString.h"
+#include "support/std_string.h"
struct ColInfo
{
#include "funcrequest.h"
#include "frontends/Painter.h"
#include "debug.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include "insets/mailinset.h"
#include "math_nestinset.h"
#include "vspace.h"
-#include "LString.h"
+#include "support/std_string.h"
/** Gridded math inset base class.
#include "debug.h"
#include "textpainter.h"
#include "funcrequest.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include "LaTeXFeatures.h"
#include "support/LAssert.h"
#ifndef MATH_INSET_H
#define MATH_INSET_H
-#include "LString.h"
+#include "support/std_string.h"
#include "insets/insetbase.h"
/**
#include "math_inset.h"
#include "vspace.h"
-#include "LString.h"
+#include "support/std_string.h"
#include "math_nestinset.h"
#include <config.h>
#include "math_lefteqninset.h"
-#include "support/LOstream.h"
+#include "support/std_ostream.h"
using std::auto_ptr;
#include "math_nestinset.h"
#include "metricsinfo.h"
#include "math_macroarg.h"
-#include "LString.h"
+#include "support/std_string.h"
class MathMacroTemplate;
#define MATH_MACROTABLE_H
#include <map>
-#include "LString.h"
+#include "support/std_string.h"
#include "math_atom.h"
#define MATH_MACROTEMPLATE_H
#include "math_nestinset.h"
-#include "LString.h"
+#include "support/std_string.h"
class MathMacro;
#include "math_parinset.h"
#include "math_mathmlstream.h"
-#include "support/LOstream.h"
+#include "support/std_ostream.h"
MathParInset::MathParInset(MathArray const & ar)
#include "ref_inset.h"
#include "lyxlex.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include "debug.h"
#define MATH_PARSER_H
-#include "LString.h"
+#include "support/std_string.h"
class MathAtom;
class MathArray;
#include "math_parser.h"
#include "math_mathmlstream.h"
#include "math_streamstr.h"
-#include "support/LOstream.h"
+#include "support/std_ostream.h"
using std::atoi;
using std::auto_ptr;
#define MATH_SPLITINSET_H
#include "math_gridinset.h"
-#include "LString.h"
+#include "support/std_string.h"
class MathSplitInset : public MathGridInset {
#define MATH_STREAMSTR_H
-#include "LString.h"
+#include "support/std_string.h"
class WriteStream;
class NormalStream;
#include "math_substackinset.h"
#include "math_mathmlstream.h"
-#include "support/LOstream.h"
+#include "support/std_ostream.h"
using std::auto_ptr;
#include "frontends/font_metrics.h"
#include "frontends/lyx_gui.h"
#include "debug.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include "math_mathmlstream.h"
#include <map>
#ifndef MATH_SUPPORT_H
#define MATH_SUPPORT_H
-#include "LString.h"
+#include "support/std_string.h"
class PainterInfo;
class LyXFont;
#define MATH_XARROWINSET_H
#include "math_fracbase.h"
-#include "LString.h"
+#include "support/std_string.h"
/// Wide arrows like \xrightarrow
#include <config.h>
#include "textpainter.h"
-#include "support/LOstream.h"
+#include "support/std_ostream.h"
TextPainter::TextPainter(int xmax, int ymax)
#ifndef MESSAGES_H
#define MESSAGES_H
-#include "LString.h"
+#include "support/std_string.h"
#include <boost/scoped_ptr.hpp>
#define METRICSINFO_H
#include "lyxfont.h"
-#include "LString.h"
+#include "support/std_string.h"
class Painter;
class BufferView;
#include "language.h"
#include "latexrunparams.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include "insets/insetbibitem.h"
#include "insets/insetoptarg.h"
#include "changes.h"
#include "RowList.h"
-#include "LString.h"
+#include "support/std_string.h"
class Buffer;
class BufferParams;
#include "encoding.h"
#include "lyxlex.h"
#include "factory.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include "support/lstrings.h"
#include "support/LAssert.h"
#include <config.h>
-#include "support/LOstream.h"
+#include "support/std_ostream.h"
#include "paragraph.h"
#include "sgml.h"
#include "paragraph.h"
-#include "LString.h"
+#include "support/std_string.h"
#include <algorithm>
#include <iosfwd>
#ifndef DEBUGSTREAM_H
#define DEBUGSTREAM_H
-#include "LOstream.h"
+#include "std_ostream.h"
#ifdef TEST_DEBUGSTREAM
#include <string>
#include <sys/stat.h>
#include <unistd.h>
#include <boost/utility.hpp>
-#include "LString.h"
+#include "support/std_string.h"
namespace lyx {
namespace support {
#ifndef FILEMONITOR_H
#define FILEMONITOR_H
-#include "LString.h"
+#include "support/std_string.h"
#include <boost/utility.hpp>
#include <boost/scoped_ptr.hpp>
+++ /dev/null
-// -*- C++ -*-
-/**
- * \file LIstream.h
- * This file is part of LyX, the document processor.
- * Licence details can be found in the file COPYING.
- */
-
-#ifndef LISTREAM_H
-#define LISTREAM_H
-
-#ifdef HAVE_ISTREAM
-#include <istream>
-#else
-#include <iostream>
-#endif
-
-#endif
+++ /dev/null
-// -*- C++ -*-
-/**
- * \file LOstream.h
- * This file is part of LyX, the document processor.
- * Licence details can be found in the file COPYING.
- */
-
-#ifndef LOSTREAM_H
-#define LOSTREAM_H
-
-#ifdef HAVE_OSTREAM
-#include <ostream>
-#else
-#include <iostream>
-#endif
-
-#endif
FileMonitor.C \
LAssert.C \
LAssert.h \
- LIstream.h \
- LOstream.h \
- os.C \
- os.h \
abort.C \
atoi.C \
boost-inst.C \
$(LYXSTRING) lyxsum.C \
mkdir.C \
nt_defines.h \
+ os.C \
+ os.h \
os2_defines.h \
os2_errortable.h \
path.C \
snprintf.h \
snprintf.c \
sstream.h \
+ std_istream.h \
+ std_ostream.h \
+ std_sstream.h \
+ std_string.h \
systemcall.C \
systemcall.h \
tempname.C \
#include <fstream>
#include "support/lyxlib.h"
-#include "LString.h"
+#include "support/std_string.h"
using std::ifstream;
using std::ofstream;
#ifndef FILENAME_H
#define FILENAME_H
-#include "LString.h"
+#include "support/std_string.h"
namespace lyx {
#include "lyxlib.h"
#include "os.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include <boost/cregex.hpp>
#include <cctype>
#include <vector>
#include <utility>
-#include "LString.h"
+#include "support/std_string.h"
namespace lyx {
#ifndef FORKEDCALL_H
#define FORKEDCALL_H
-#include "LString.h"
+#include "support/std_string.h"
#include <boost/shared_ptr.hpp>
#include <boost/signals/signal2.hpp>
#include <queue>
#include <utility>
-#include "LString.h"
+#include "support/std_string.h"
namespace lyx {
namespace support {
#ifndef FORKEDCONTR_H
#define FORKEDCONTR_H
-#include "LString.h"
+#include "support/std_string.h"
#include <boost/signals/signal0.hpp>
#include <boost/signals/trackable.hpp>
#include <config.h>
-#include "LString.h"
+#include "support/std_string.h"
#include "lstrings.h"
#include "LAssert.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include "debug.h"
#include "BoostFormat.h"
#include "lyxlib.h"
#include <vector>
-#include "LString.h"
+#include "support/std_string.h"
namespace lyx {
namespace support {
#ifndef LYX_LIB_H
#define LYX_LIB_H
-#include "LString.h"
+#include "support/std_string.h"
namespace lyx {
namespace support {
#ifndef LYX_MANIP_H
#define LYX_MANIP_H
-#include "LString.h"
-#include "support/LOstream.h"
+#include "support/std_string.h"
+#include "support/std_ostream.h"
///
struct NewLineAndDepth_ {
#include <fcntl.h>
#include <unistd.h>
-#include "LString.h"
+#include "support/std_string.h"
#include "lyxlib.h"
#ifndef OS_H
#define OS_H
-#include "LString.h"
+#include "support/std_string.h"
/// wrap OS specific stuff
namespace lyx {
#ifndef PATH_H
#define PATH_H
-#include "LString.h"
+#include "support/std_string.h"
#include <boost/utility.hpp>
namespace lyx {
#ifndef PATH_DEFINES_H
#define PATH_DEFINES_H
-#include "LString.h"
+#include "support/std_string.h"
namespace lyx {
namespace support {
#ifndef SSTREAM_H
#define SSTREAM_H
-#include "LString.h"
+#include "support/std_string.h"
#include <iostream>
#include <streambuf.h>
--- /dev/null
+// -*- C++ -*-
+/**
+ * \file std_istream.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ */
+
+#ifndef STD_ISTREAM_H
+#define STD_ISTREAM_H
+
+#ifdef HAVE_ISTREAM
+#include <istream>
+#else
+#include <iostream>
+#endif
+
+#endif // NOT STD_ISTREAM_H
--- /dev/null
+// -*- C++ -*-
+/**
+ * \file std_ostream.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ */
+
+#ifndef STD_OSTREAM_H
+#define STD_OSTREAM_H
+
+#ifdef HAVE_OSTREAM
+#include <ostream>
+#else
+#include <iostream>
+#endif
+
+#endif // NOT STD_OSTREAM_H
--- /dev/null
+// -*- C++ -*-
+/**
+ * \file std_sstream.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 STD_SSTREAM_H
+#define STD_SSTREAM_H
+
+// Since we will include a string header anyway, we'd better do it
+// right now so that <string> is not loaded before lyxstring.h. (JMarc)
+#include "support/std_string.h"
+
+#ifdef HAVE_SSTREAM
+#include <sstream>
+#else
+#include "support/sstream.h"
+#endif
+
+using std::istringstream;
+using std::ostringstream;
+using std::stringstream;
+
+#endif // NOT STD_SSTREAM_H
--- /dev/null
+// -*- C++ -*-
+/**
+ * \file std_string.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 STD_STRING_H
+#define STD_STRING_H
+
+#if 0
+#ifndef _CONFIG_H
+#error The <config.h> header should always be included before std_string.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 std_string.h
+#else
+#define __STRING__
+#endif
+#include "support/lyxstring.h"
+using lyx::string;
+#define STRCONV(STR) STR.c_str()
+#endif
+
+#endif // NOT STD_STRING_H
#ifndef SYSTEMCALL_H
#define SYSTEMCALL_H
-#include "LString.h"
+#include "support/std_string.h"
namespace lyx {
namespace support {
#include <cstdlib>
#include <unistd.h>
-#include "LString.h"
+#include "support/std_string.h"
#include "support/lyxlib.h"
#include "support/filetools.h"
#include "support/tostr.h"
#include <config.h>
-#include "Lsstream.h"
-#include "LString.h"
+#include "support/std_sstream.h"
+#include "support/std_string.h"
string const tostr(bool b)
#ifndef TOSTR_H
#define TOSTR_H
-#include "LString.h"
+#include "support/std_string.h"
// When trying to convert this to a template using std::stringstream,
// note that this will pull in the whole of <string> in more than 150
#ifndef USERINFO_H
#define USERINFO_H
-#include "LString.h"
+#include "support/std_string.h"
namespace lyx {
namespace support {
#include "tabular.h"
#include "LaTeXFeatures.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include "buffer.h"
#include "debug.h"
#include "lyxlex.h"
#ifndef GETTEXT_H
#define GETTEXT_H
-#include "LString.h"
+#include "support/std_string.h"
///
string const _(string const &);
#include <config.h>
#include "lyxtext.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include "funcrequest.h"
#include "frontends/LyXView.h"
#include "undo_funcs.h"
#include "BufferView.h"
#include "funcrequest.h"
#include "lyxrc.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include "debug.h"
#include "buffer.h"
#include "ParagraphParameters.h"
#ifndef TOC_H
#define TOC_H
-#include "support/LOstream.h"
-#include "LString.h"
+#include "support/std_ostream.h"
+#include "support/std_string.h"
#include <map>
#include <vector>
#include <map>
#include "tex-accent.h"
-#include "LString.h"
+#include "support/std_string.h"
#include "trans_decl.h"
class LyXLex;
#ifndef TRANS_DECL_H
#define TRANS_DECL_H
-#include "LString.h"
+#include "support/std_string.h"
#include "tex-accent.h"
#include <list>
#include "tex-accent.h"
#include "trans_decl.h"
#include "chset.h"
-#include "LString.h"
+#include "support/std_string.h"
class LyXText;
class Trans;
#ifndef VC_BACKEND_H
#define VC_BACKEND_H
-#include "LString.h"
+#include "support/std_string.h"
class Buffer;
#include "lyxgluelength.h"
-#include "LString.h"
+#include "support/std_string.h"
class BufferParams;
class BufferView;