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
|
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef MAILINSET_H
|
|
|
|
#define MAILINSET_H
|
|
|
|
|
|
|
|
|
|
|
|
#include "LString.h"
|
|
|
|
|
|
|
|
|
2003-03-10 13:33:39 +00:00
|
|
|
class InsetBase;
|
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;
|
|
|
|
///
|
|
|
|
virtual string const inset2string() const = 0;
|
|
|
|
|
|
|
|
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
|