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-02-25 14:51:38 +00:00
|
|
|
|
|
|
|
|
|
|
|
class MailInset {
|
|
|
|
public:
|
|
|
|
///
|
|
|
|
virtual ~MailInset() {};
|
|
|
|
///
|
|
|
|
void showDialog() const;
|
|
|
|
///
|
|
|
|
void updateDialog() const;
|
|
|
|
///
|
|
|
|
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
|