Juergen Vigna <[EMAIL PROTECTED]> writes:
| On 03-Jul-2001 Lars Gullik Bjønnes wrote:
| >
| > This patch, with the (close to) minimal amount of changes needed:
| >
|
| So how do you plan to do this if the qt2 view is called QtView.h?
| We then have to use preprocessor symbols? I still opt to call it
| LyXView!
|
| Jürgen
|
| Index: src/lyx_gui.C
| ===================================================================
| RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lyx_gui.C,v
| retrieving revision 1.88
| diff -u -p -r1.88 lyx_gui.C
| --- src/lyx_gui.C 2001/06/25 00:06:15 1.88
| +++ src/lyx_gui.C 2001/07/03 12:52:19
| @@ -26,6 +26,7 @@
| #include "debug.h"
| #include "version.h"
| #include "LyXView.h"
| +#include "XFormsView.h"
|
| ^^^^^^^??????
the methods in LyXGUI have not been GUII'fied yet...
most likely a method createMainView will be added to GUIRuntime:
xforms:
LyXView * createMainView(int a, int b) {
return new XFormsView(a, b);
}
qt2:
LyXView * createMainView(int a, int b) {
return QT2View(a, b);
}
|
| Jürgen
| --
| -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
| Dr. Jürgen Vigna E-Mail: [EMAIL PROTECTED]
| Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253
| I-39100 Bozen Web: http://www.sad.it/~jug
| -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
|
| "The one charm of marriage is that it makes a life of deception a neccessity."
| - Oscar Wilde
|
--
Lgb