#include "support/types.h"
+#include <boost/scoped_ptr.hpp>
+
#include <string>
#include <vector>
IconvProcessor(
char const * tocode = "",
char const * fromcode = "");
+ /// copy constructor needed because of pimpl_
+ IconvProcessor(IconvProcessor const &);
+ /// assignment operator needed because of pimpl_
+ IconvProcessor & operator=(IconvProcessor const &);
+ /// destructor (needs to be implemented in the .C file because the
+ /// boost::scoped_ptr destructor needs a fully defined type
~IconvProcessor();
/// convert any data from \c fromcode to \c tocode unicode format.
std::string fromcode_;
struct Private;
- Private * pimpl_;
+ boost::scoped_ptr<Private> pimpl_;
};
-// utf8_to_ucs4
+/// This is implemented in lyx_main.C for the LyX program
+/// and in client.C for the LyX client program.
+extern IconvProcessor & utf8ToUcs4();
// A single codepoint conversion for utf8_to_ucs4 does not make
// sense, so that function is left out.