2003-09-02 10:29:05 +00:00
|
|
|
/**
|
|
|
|
* \file gtk/LyXScreenFactory.C
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
*
|
|
|
|
* \author Huang Ying
|
|
|
|
*
|
2003-09-02 17:02:32 +00:00
|
|
|
* Full author contact details are available in file CREDITS.
|
2003-09-02 10:29:05 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <config.h>
|
|
|
|
|
2004-11-16 23:18:46 +00:00
|
|
|
// Too hard to make concept checks work with this file
|
|
|
|
#ifdef _GLIBCPP_CONCEPT_CHECKS
|
|
|
|
#undef _GLIBCPP_CONCEPT_CHECKS
|
|
|
|
#endif
|
|
|
|
|
2003-09-02 10:29:05 +00:00
|
|
|
#include "GWorkArea.h"
|
|
|
|
#include "GScreen.h"
|
|
|
|
|
2004-09-26 18:36:07 +00:00
|
|
|
#include "frontends/LyXScreenFactory.h"
|
2003-09-02 10:29:05 +00:00
|
|
|
|
|
|
|
namespace LyXScreenFactory {
|
|
|
|
|
|
|
|
|
|
|
|
LyXScreen * create(WorkArea & owner)
|
|
|
|
{
|
2004-05-19 15:11:37 +00:00
|
|
|
using lyx::frontend::GScreen;
|
|
|
|
using lyx::frontend::GWorkArea;
|
|
|
|
|
2003-09-02 10:29:05 +00:00
|
|
|
return new GScreen(static_cast<GWorkArea &>(owner));
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|