]> git.lyx.org Git - lyx.git/blob - src/frontends/kde/FormCopyright.h
abcecbc0d0d3afed5fb3d5f94201dfb62b0fb1c3
[lyx.git] / src / frontends / kde / FormCopyright.h
1 /**
2  * \file FormCopyright.h
3  * Copyright 2001 the LyX Team
4  * Read the file COPYING
5  *
6  * \author Jürgen Vigna
7  */
8 #ifndef FORMCOPYRIGHT_H
9 #define FORMCOPYRIGHT_H
10
11 #include "DialogBase.h"
12 #include "boost/utility.hpp"
13
14 class Dialogs;
15 class LyXView;
16 class CopyrightDialog;
17
18 class FormCopyright : public DialogBase, public noncopyable {
19 public: 
20         FormCopyright(LyXView *, Dialogs *);
21  
22         ~FormCopyright();
23
24 private: 
25         /// Create the dialog if necessary, update it and display it
26         void show();
27         /// Hide the dialog
28         void hide();
29         /// Not used but we've got to implement it
30         void update(bool) {}
31
32         /// Real GUI implementation
33         CopyrightDialog * dialog_;
34         /// Which LyXFunc do we use ?
35         LyXView * lv_;
36         /// dialogs object
37         Dialogs * d_;
38         /// Hide connection.
39         Connection h_;
40 };
41
42 #endif // FORMCOPYRIGHT_H