X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2FWorkAreaFactory.h;h=ca679bf6ef6f4cc902a10c18986dbe87de56de73;hb=e7fc677261bd14fdf159e594fcf422e985c72664;hp=ea08b70839d69c6141a14483d42e8a8cb368b0ae;hpb=0be0fcfd5907d448cd51addf83ed7032719a0692;p=lyx.git diff --git a/src/frontends/WorkAreaFactory.h b/src/frontends/WorkAreaFactory.h index ea08b70839..ca679bf6ef 100644 --- a/src/frontends/WorkAreaFactory.h +++ b/src/frontends/WorkAreaFactory.h @@ -13,13 +13,14 @@ #define WORKAREAFACTORY_H class WorkArea; +class LyXView; namespace WorkAreaFactory { /** * Make a work area. Used because we want to generate * a toolkit-specific instance. */ - WorkArea * create(int x, int y, int w, int h); + WorkArea * create(LyXView & owner, int w, int h); } #endif // WORKAREA_FACTORY_H