lyx_mirror/src/insets/mailinset.h

46 lines
745 B
C
Raw Normal View History

// -*- 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 "support/std_string.h"
class InsetBase;
class Buffer;
class BufferView;
class MailInset {
public:
///
virtual ~MailInset() {};
///
void showDialog(BufferView *) const;
///
void updateDialog(BufferView *) const;
///
void hideDialog() const;
///
virtual string const inset2string(Buffer const &) const = 0;
protected:
///
virtual InsetBase & inset() const = 0;
///
virtual string const & name() const = 0;
};
#endif // MAILINSET_H