]> git.lyx.org Git - lyx.git/blob - src/insets/mailinset.h
Rename LatexRunParams::fragile as moving_arg.
[lyx.git] / src / insets / mailinset.h
1 // -*- C++ -*-
2 /**
3  * \file mailinset.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Angus Leeming
8  *
9  * Full author contact details are available in file CREDITS
10  */
11
12 #ifndef MAILINSET_H
13 #define MAILINSET_H
14
15
16 #include "LString.h"
17
18
19 class InsetBase;
20 class BufferView;
21
22
23 class MailInset {
24 public:
25         ///
26         virtual ~MailInset() {};
27         ///
28         void showDialog(BufferView *) const;
29         ///
30         void updateDialog(BufferView *) const;
31         ///
32         void hideDialog() const;
33         ///
34         virtual string const inset2string() const = 0;
35
36 protected:
37         ///
38         virtual InsetBase & inset() const = 0;
39         ///
40         virtual string const & name() const = 0;
41 };
42
43
44 #endif // MAILINSET_H