]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/WorkAreaFactory.h
do not define boost::throw_exceptions if we are compiling with exceptions
[lyx.git] / src / frontends / WorkAreaFactory.h
index 98fc000992a11f6771f1e1fff1f5fbb1fa07b30c..ca679bf6ef6f4cc902a10c18986dbe87de56de73 100644 (file)
@@ -1,23 +1,26 @@
+// -*- C++ -*-
 /**
  * \file WorkAreaFactory.h
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author John Levon 
+ * \author John Levon
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef WORKAREAFACTORY_H
 #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