lyx_mirror/src/lyxled/main.cpp
André Pönitz 11a0458d3f next try...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24100 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-02 23:06:22 +00:00

37 lines
698 B
C++

#include "LayoutEditor.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
lyx::MainWindow led;
QStringList args = app.arguments();
args.append("/data/lyx/trunk/lib/layouts/amsart.layout");
for (int i = 1; i != args.size(); ++i) {
led.loadLayoutFile(args[i]);
}
led.show();
return app.exec();
}
#include "LayoutEditor.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
lyx::MainWindow led;
QStringList args = app.arguments();
args.append("/data/lyx/trunk/lib/layouts/amsart.layout");
for (int i = 1; i != args.size(); ++i) {
led.loadLayoutFile(args[i]);
}
led.show();
return app.exec();
}