X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Fmailinset.h;h=3d4459b92b01698dcc777cd2fe54d8c693e63db7;hb=e28331ed63062dea10d0a21b9ec12034b4b17b9a;hp=fa4211d2ccb698318521956cb23b9d9bd212628d;hpb=7668244a7764ef252dbd3201332ab47107a68853;p=lyx.git diff --git a/src/insets/mailinset.h b/src/insets/mailinset.h index fa4211d2cc..3d4459b92b 100644 --- a/src/insets/mailinset.h +++ b/src/insets/mailinset.h @@ -6,14 +6,16 @@ * * \author Angus Leeming * - * Full author contact details are available in file CREDITS + * Full author contact details are available in file CREDITS. */ #ifndef MAILINSET_H #define MAILINSET_H +#include -#include "LString.h" + +namespace lyx { class InsetBase; @@ -32,14 +34,21 @@ public: /// void hideDialog() const; /// - virtual string const inset2string(Buffer const &) const = 0; + virtual std::string const inset2string(Buffer const &) const = 0; protected: /// virtual InsetBase & inset() const = 0; /// - virtual string const & name() const = 0; + virtual std::string const & name() const = 0; }; +void print_mailer_error(std::string const & class_name, + std::string const & data, + int arg_id, std::string const & arg); + + + +} // namespace lyx #endif // MAILINSET_H