lyx_mirror/src/frontends/xforms/FormSplash.h
Angus Leeming d553558b19 Implemented controller-view split for Splash screen.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1836 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-27 13:00:41 +00:00

50 lines
784 B
C++

/**
* \file FormSplash.h
* Copyright 2001 the LyX Team
* Read the file COPYING
*
* \author Allan Rae
* \author John Levon
*/
#ifndef FORMSPLASH_H
#define FORMSPLASH_H
#include <boost/smart_ptr.hpp>
#ifdef __GNUG__
#pragma interface
#endif
#include "ViewBase.h"
class ControlSplash;
struct FD_form_splash;
/** The startup splash screen
*/
class FormSplash : public ViewSplash {
public:
///
FormSplash(ControlSplash &);
private:
/// Build the dialog
void build();
/// hide the dialog
void hide();
/// show the dialog
void show();
/// The parent controller
ControlSplash & controller() const;
/// Fdesign generated method
FD_form_splash * build_splash();
/// Real GUI implementation.
boost::scoped_ptr<FD_form_splash> dialog_;
};
#endif // FORMSPLASH_H