]> git.lyx.org Git - lyx.git/blob - src/insets/mailinset.h
If I ever see another licence blurb again, it'll be too soon...
[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 Buffer;
21 class BufferView;
22
23
24 class MailInset {
25 public:
26         ///
27         virtual ~MailInset() {};
28         ///
29         void showDialog(BufferView *) const;
30         ///
31         void updateDialog(BufferView *) const;
32         ///
33         void hideDialog() const;
34         ///
35         virtual string const inset2string(Buffer const &) const = 0;
36
37 protected:
38         ///
39         virtual InsetBase & inset() const = 0;
40         ///
41         virtual string const & name() const = 0;
42 };
43
44
45 #endif // MAILINSET_H