lyx_mirror/src/frontends/qt2/LyXScreenFactory.C

26 lines
502 B
C++
Raw Normal View History

/**
* \file qt2/LyXScreenFactory.C
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author John Levon
*
* Full author contact details are available in file CREDITS.
*/
#include <config.h>
#include "frontends/LyXScreenFactory.h"
#include "QWorkArea.h"
#include "qscreen.h"
namespace LyXScreenFactory {
LyXScreen * create(WorkArea & owner)
{
return new QScreen(static_cast<QWorkArea &>(owner));
}
} // namespace LyXScreenFactory