#include <QGpCoreTools.h>
#include "gpcoordVersion.h"
#include "gpcoordInstallPath.h"
#include "CoordReader.h"
Functions | |
ApplicationHelp * | help () |
int | main (int argc, char **argv) |
PACKAGE_INFO (gpcoord, GPCOORD) |
ApplicationHelp* help | ( | ) |
int main | ( | int | argc, |
char ** | argv | ||
) |
References CoordReader::hasInput(), help(), QGpCoreTools::ArgumentStdinReader::read(), CoordReader::setOptions(), and CoordReader::terminate().
{ CoreApplication a(argc, argv, help); // Options CoordReader reader; if(reader.setOptions(argc, argv) && (!reader.hasInput() || reader.read(argc, argv)) && reader.terminate()) { return 0; } else { return 2; } }
PACKAGE_INFO | ( | gpcoord | , |
GPCOORD | |||
) |