X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Fmailinset.h;h=3d4459b92b01698dcc777cd2fe54d8c693e63db7;hb=e28331ed63062dea10d0a21b9ec12034b4b17b9a;hp=c492e727c1ad2b5805fa56d111cfff90c05a70a3;hpb=0be0fcfd5907d448cd51addf83ed7032719a0692;p=lyx.git diff --git a/src/insets/mailinset.h b/src/insets/mailinset.h index c492e727c1..3d4459b92b 100644 --- a/src/insets/mailinset.h +++ b/src/insets/mailinset.h @@ -12,8 +12,10 @@ #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