]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormSplash.h
Implemented controller-view split for FormBibtex.
[lyx.git] / src / frontends / xforms / FormSplash.h
1 /**
2  * \file FormSplash.h
3  * Copyright 2001 the LyX Team
4  * Read the file COPYING
5  *
6  * \author Allan Rae
7  * \author John Levon
8  */
9
10 #ifndef FORMSPLASH_H
11 #define FORMSPLASH_H
12
13 #include <boost/smart_ptr.hpp>
14
15 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include "DialogBase.h"
20 #include "xformsBC.h"
21  
22 struct FD_form_splash;
23 class Dialogs; 
24 class LyXView;
25
26 /** The startup splash screen
27  */
28 class FormSplash : public DialogBase {
29 public:
30         ///
31         FormSplash(LyXView *, Dialogs *);
32
33         /// hide (and destroy) the dialog
34         void hide();
35  
36 private:
37         /// show the dialog
38         void show(); 
39         /// Build the dialog
40         void build();
41         /// Fdesign generated method
42         FD_form_splash * build_splash();
43
44         /// Real GUI implementation.
45         boost::scoped_ptr<FD_form_splash> dialog_;
46         /// our container
47         Dialogs * d_; 
48         /// the show connection
49         SigC::Connection c_; 
50 };
51
52 #endif // FORMSPLASH_H