]> git.lyx.org Git - lyx.git/blobdiff - src/insets/mailinset.h
* src/LyXAction.C: mark goto-clear-bookmark as working without buffer
[lyx.git] / src / insets / mailinset.h
index b5a365e4cbf5cbc99c54b5a83b6cb18cac2bc5b8..3d4459b92b01698dcc777cd2fe54d8c693e63db7 100644 (file)
@@ -6,17 +6,20 @@
  *
  * \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 <string>
 
-#include "LString.h"
+
+namespace lyx {
 
 
 class InsetBase;
+class Buffer;
 class BufferView;
 
 
@@ -31,14 +34,21 @@ public:
        ///
        void hideDialog() const;
        ///
-       virtual string const inset2string() 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