]> git.lyx.org Git - lyx.git/blobdiff - src/support/docstream.h
Fix samba related crashes
[lyx.git] / src / support / docstream.h
index 08d7dd0e744355830ce10b98008931ddd9b03452..920eafb5f58b529c579dbbe68247d0997c9a4aa7 100644 (file)
@@ -83,6 +83,9 @@ typedef std::basic_istringstream<char_type> idocstringstream;
 /// UCS4 output stringstream
 typedef std::basic_ostringstream<char_type> odocstringstream;
 
+/// UCS4 output manipulator
+typedef odocstream & (*odocstream_manip)(odocstream &);
+
 /** Wrapper class for odocstream.
     This class is used to automatically count the lines of the exported latex
     code and also to ensure that no blank lines may be inadvertently output.
@@ -140,6 +143,8 @@ otexstream & operator<<(otexstream &, BreakLine);
 ///
 otexstream & operator<<(otexstream &, SafeBreakLine);
 ///
+otexstream & operator<<(otexstream &, odocstream_manip);
+///
 otexstream & operator<<(otexstream &, docstring const &);
 ///
 otexstream & operator<<(otexstream &, char const *);