2003-02-25 14:51:38 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
|
|
|
* \file mailinset.h
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
*
|
|
|
|
* \author Angus Leeming
|
|
|
|
*
|
2003-08-23 00:17:00 +00:00
|
|
|
* Full author contact details are available in file CREDITS.
|
2003-02-25 14:51:38 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef MAILINSET_H
|
|
|
|
#define MAILINSET_H
|
|
|
|
|
|
|
|
|
2003-09-05 17:23:11 +00:00
|
|
|
#include "support/std_string.h"
|
2003-02-25 14:51:38 +00:00
|
|
|
|
|
|
|
|
2003-03-10 13:33:39 +00:00
|
|
|
class InsetBase;
|
2003-07-23 09:54:21 +00:00
|
|
|
class Buffer;
|
2003-03-10 22:12:07 +00:00
|
|
|
class BufferView;
|
2003-02-25 14:51:38 +00:00
|
|
|
|
|
|
|
|
|
|
|
class MailInset {
|
|
|
|
public:
|
|
|
|
///
|
|
|
|
virtual ~MailInset() {};
|
|
|
|
///
|
2003-03-10 22:12:07 +00:00
|
|
|
void showDialog(BufferView *) const;
|
2003-02-25 14:51:38 +00:00
|
|
|
///
|
2003-03-10 22:12:07 +00:00
|
|
|
void updateDialog(BufferView *) const;
|
2003-02-25 14:51:38 +00:00
|
|
|
///
|
|
|
|
void hideDialog() const;
|
|
|
|
///
|
2003-07-23 09:54:21 +00:00
|
|
|
virtual string const inset2string(Buffer const &) const = 0;
|
2003-02-25 14:51:38 +00:00
|
|
|
|
|
|
|
protected:
|
|
|
|
///
|
2003-03-10 13:33:39 +00:00
|
|
|
virtual InsetBase & inset() const = 0;
|
2003-02-25 14:51:38 +00:00
|
|
|
///
|
|
|
|
virtual string const & name() const = 0;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // MAILINSET_H
|