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>
|
|
|
|
|
|
|
|
#include <gtkmm.h>
|
|
|
|
#include "frontends/LyXScreenFactory.h"
|
|
|
|
|
|
|
|
#include "GWorkArea.h"
|
|
|
|
#include "GScreen.h"
|
|
|
|
|
|
|
|
|
|
|
|
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));
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|