2000-06-12 11:55:12 +00:00
|
|
|
|
/***************************************************************************
|
|
|
|
|
formcopyright.h - description
|
|
|
|
|
-------------------
|
|
|
|
|
begin : Thu Feb 3 2000
|
|
|
|
|
copyright : (C) 2000 by J<EFBFBD>rgen Vigna
|
|
|
|
|
email : jug@sad.it
|
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
|
|
/***************************************************************************
|
|
|
|
|
* *
|
|
|
|
|
* This program is free software; you can redistribute it and/or modify *
|
|
|
|
|
* it under the terms of the GNU General Public License as published by *
|
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or *
|
|
|
|
|
* (at your option) any later version. *
|
|
|
|
|
* *
|
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
|
|
#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-06-12 11:55:12 +00:00
|
|
|
|
class FormCopyrightDialog;
|
|
|
|
|
|
2000-08-07 20:58:24 +00:00
|
|
|
|
/**
|
|
|
|
|
@author J<EFBFBD>rgen Vigna
|
|
|
|
|
*/
|
2000-08-14 15:17:54 +00:00
|
|
|
|
class FormCopyright : public DialogBase, public noncopyable {
|
2000-06-12 11:55:12 +00:00
|
|
|
|
public:
|
2000-08-14 15:17:54 +00:00
|
|
|
|
FormCopyright(LyXView *, Dialogs *);
|
2000-06-12 11:55:12 +00:00
|
|
|
|
~FormCopyright();
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
/// Create the dialog if necessary, update it and display it.
|
|
|
|
|
void show();
|
|
|
|
|
/// Hide the dialog.
|
|
|
|
|
void hide();
|
|
|
|
|
/// 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
|
|
|
|
|
|
|
|
|
/// Real GUI implementation.
|
|
|
|
|
FormCopyrightDialog * dialog_;
|
|
|
|
|
/** Which LyXFunc do we use?
|
|
|
|
|
We could modify Dialogs to have a visible LyXFunc* instead and
|
|
|
|
|
save a couple of bytes per dialog.
|
|
|
|
|
*/
|
2000-08-14 15:17:54 +00:00
|
|
|
|
LyXView * lv_;
|
2000-06-12 11:55:12 +00:00
|
|
|
|
/** Which Dialogs do we belong to?
|
|
|
|
|
Used so we can get at the signals we have to connect to.
|
|
|
|
|
*/
|
|
|
|
|
Dialogs * d_;
|
|
|
|
|
/// Hide connection.
|
2000-08-14 15:17:54 +00:00
|
|
|
|
Connection h_;
|
2000-06-12 11:55:12 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|