]> git.lyx.org Git - lyx.git/blob - src/insets/mailinset.h
Collapse all those LFUN_XYZ_APPLY to a single LFUN_INSET_APPLY.
[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 Inset;
20
21
22 class MailInset {
23 public:
24         ///
25         virtual ~MailInset() {};
26         ///
27         void showDialog() const;
28         ///
29         void updateDialog() const;
30         ///
31         void hideDialog() const;
32         ///
33         virtual string const inset2string() const = 0;
34
35 protected:
36         ///
37         virtual Inset & inset() const = 0;
38         ///
39         virtual string const & name() const = 0;
40 };
41
42
43 #endif // MAILINSET_H