2001-02-12 14:09:09 +00:00
|
|
|
|
/**
|
|
|
|
|
* \file FormCopyright.h
|
|
|
|
|
* Copyright 2001 the LyX Team
|
|
|
|
|
* Read the file COPYING
|
|
|
|
|
*
|
|
|
|
|
* \author J<EFBFBD>rgen Vigna
|
|
|
|
|
*/
|
2000-06-12 11:55:12 +00:00
|
|
|
|
#ifndef FORMCOPYRIGHT_H
|
|
|
|
|
#define FORMCOPYRIGHT_H
|
|
|
|
|
|
|
|
|
|
#include "DialogBase.h"
|
2000-10-02 14:35:11 +00:00
|
|
|
|
#include "boost/utility.hpp"
|
2000-06-12 11:55:12 +00:00
|
|
|
|
|
|
|
|
|
class Dialogs;
|
2000-08-14 15:17:54 +00:00
|
|
|
|
class LyXView;
|
2000-10-17 08:27:35 +00:00
|
|
|
|
class CopyrightDialog;
|
2000-06-12 11:55:12 +00:00
|
|
|
|
|
2001-03-07 14:25:31 +00:00
|
|
|
|
class FormCopyright : public DialogBase {
|
2000-06-12 11:55:12 +00:00
|
|
|
|
public:
|
2000-08-14 15:17:54 +00:00
|
|
|
|
FormCopyright(LyXView *, Dialogs *);
|
2001-02-12 14:09:09 +00:00
|
|
|
|
|
2000-06-12 11:55:12 +00:00
|
|
|
|
~FormCopyright();
|
|
|
|
|
|
|
|
|
|
private:
|
2001-02-12 14:09:09 +00:00
|
|
|
|
/// Create the dialog if necessary, update it and display it
|
2000-06-12 11:55:12 +00:00
|
|
|
|
void show();
|
2001-02-12 14:09:09 +00:00
|
|
|
|
/// Hide the dialog
|
2000-06-12 11:55:12 +00:00
|
|
|
|
void hide();
|
2001-02-12 14:09:09 +00:00
|
|
|
|
/// Not used but we've got to implement it
|
2000-10-13 05:57:05 +00:00
|
|
|
|
void update(bool) {}
|
2000-06-12 11:55:12 +00:00
|
|
|
|
|
2001-02-12 14:09:09 +00:00
|
|
|
|
/// Real GUI implementation
|
2000-10-17 08:27:35 +00:00
|
|
|
|
CopyrightDialog * dialog_;
|
2001-02-12 14:09:09 +00:00
|
|
|
|
/// Which LyXFunc do we use ?
|
2000-08-14 15:17:54 +00:00
|
|
|
|
LyXView * lv_;
|
2001-02-12 14:09:09 +00:00
|
|
|
|
/// dialogs object
|
2000-06-12 11:55:12 +00:00
|
|
|
|
Dialogs * d_;
|
|
|
|
|
/// Hide connection.
|
2000-08-14 15:17:54 +00:00
|
|
|
|
Connection h_;
|
2000-06-12 11:55:12 +00:00
|
|
|
|
};
|
|
|
|
|
|
2001-02-12 14:09:09 +00:00
|
|
|
|
#endif // FORMCOPYRIGHT_H
|