]> git.lyx.org Git - lyx.git/blobdiff - src/insets/mailinset.h
Enable convertDefault.sh to run even if its executable bit is not set.
[lyx.git] / src / insets / mailinset.h
index 965895deb96cfd26a4aa00fa897326aeaeabfa8f..c492e727c1ad2b5805fa56d111cfff90c05a70a3 100644 (file)
@@ -6,7 +6,7 @@
  *
  * \author Angus Leeming
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef MAILINSET_H
@@ -16,7 +16,9 @@
 #include "LString.h"
 
 
-class Inset;
+class InsetBase;
+class Buffer;
+class BufferView;
 
 
 class MailInset {
@@ -24,17 +26,17 @@ 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 string const inset2string(Buffer const &) const = 0;
 
 protected:
        ///
-       virtual Inset & inset() const = 0;
+       virtual InsetBase & inset() const = 0;
        ///
        virtual string const & name() const = 0;
 };