File indexing completed on 2024-04-21 14:52:06

0001 // SPDX-License-Identifier: LGPL-2.1-or-later
0002 //
0003 // SPDX-FileCopyrightText: 2006-2007 Torsten Rahn <tackat@kde.org>
0004 // SPDX-FileCopyrightText: 2007 Inge Wallin <ingwa@kde.org>
0005 // SPDX-FileCopyrightText: 2008 Patrick Spendrin <ps_ml@gmx.de>
0006 //
0007 
0008 #include "tccore.h"
0009 #include <MarbleDebug.h>
0010 
0011 using namespace Marble;
0012 
0013 int main(int argc, char *argv[])
0014 {
0015     TCCoreApplication app( argc, argv );
0016     MarbleDebug::setEnabled( true );
0017     if( argc < 2 ) {
0018     /*
0019             PREFIX: this is the prefix of the source directory
0020             TARGETDIR: the directory where the output should go to
0021             */
0022         qDebug() << "Syntax: tilecreator PREFIX TARGETDIR";
0023         return -1;
0024     } else {
0025         return app.exec();
0026     }
0027 }