Consider the case where there is not any layout name.
[lyx.git] / src / frontends / WorkAreaFactory.h
blobca679bf6ef6f4cc902a10c18986dbe87de56de73
1 // -*- C++ -*-
2 /**
3 * \file WorkAreaFactory.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author John Levon
9 * Full author contact details are available in file CREDITS.
12 #ifndef WORKAREAFACTORY_H
13 #define WORKAREAFACTORY_H
15 class WorkArea;
16 class LyXView;
18 namespace WorkAreaFactory {
19 /**
20 * Make a work area. Used because we want to generate
21 * a toolkit-specific instance.
23 WorkArea * create(LyXView & owner, int w, int h);
26 #endif // WORKAREA_FACTORY_H