File indexing completed on 2024-04-14 14:16:43

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 
0010 using namespace Marble;
0011 
0012 int main(int argc, char *argv[])
0013 {
0014     TCCoreApplication app( argc, argv );
0015     if( argc < 5 ) {
0016     /*
0017             PREFIX: this is the prefix of the source directory
0018             INSTALLMAP: this is the map that you want to install - in the form MAPNAME/MAPNAME.jpg
0019             DEM: Digital Elevation Model(grayscale) set to "true" for srtm sources set to "false" else
0020             TARGETDIR: the directory where the output should go to
0021             */
0022         qDebug() << "Syntax: tilecreator PREFIX INSTALLMAP DEM TARGETDIR";
0023         return -1;
0024     } else {
0025         return app.exec();
0026     }
0027 }