]> git.lyx.org Git - lyx.git/blobdiff - src/insets/mailinset.h
changelogs
[lyx.git] / src / insets / mailinset.h
index 965895deb96cfd26a4aa00fa897326aeaeabfa8f..4d5e6191f77506ae628f41d233d6ade534c34a66 100644 (file)
@@ -6,17 +6,18 @@
  *
  * \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"
 
-
-class Inset;
+class InsetBase;
+class Buffer;
+class BufferView;
 
 
 class MailInset {
@@ -24,20 +25,24 @@ public:
        ///
        virtual ~MailInset() {};
        ///
-       void showDialog() const;
+       void showDialog(BufferView *) const;
        ///
-       void updateDialog() const;
+       void updateDialog(BufferView *) const;
        ///
        void hideDialog() const;
        ///
-       virtual string const inset2string() const = 0;
+       virtual std::string const inset2string(Buffer const &) const = 0;
 
 protected:
        ///
-       virtual Inset & inset() const = 0;
+       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);
+
 
 #endif // MAILINSET_H