1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-03 23:50:33 +02:00

Setup for CLI app

This commit is contained in:
Laurent Cozic
2017-01-27 20:26:46 +00:00
parent 99666740e8
commit 2fbbdbdb34
6 changed files with 77 additions and 3 deletions

View File

@ -1,6 +1,11 @@
#include <stable.h>
#if defined(JOP_FRONT_END_CLI)
#include "cliapplication.h"
#elif defined(JOP_FRONT_END_GUI)
#include "application.h"
#endif
#include "models/folder.h"
#include "database.h"
#include "models/foldermodel.h"
@ -26,7 +31,7 @@ int main(int argc, char *argv[]) {
#endif
#ifdef JOP_FRONT_END_CLI
QCoreApplication app(argc, argv);
CliApplication app(argc, argv);
#endif
return app.exec();