Functions
gpprofile/main.cpp File Reference
#include <QGpCoreTools.h>
#include <QGpCoreWave.h>
#include "ProfileReader.h"
#include "gpprofileVersion.h"
#include "gpprofileInstallPath.h"

Functions

ApplicationHelphelp ()
int main (int argc, char *argv[])
 PACKAGE_INFO (gpprofile, GPPROFILE)

Function Documentation

int main ( int  argc,
char *  argv[] 
)

References help(), QGpCoreTools::ArgumentStdinReader::read(), ProfileReader::setOptions(), and ProfileReader::terminate().

{
  CoreApplication a(argc, argv, help);

  ProfileReader reader;
  if(reader.setOptions(argc, argv) && reader.read(argc, argv) && reader.terminate()) {
    return 0;
  } else {
    return 2;
  }
}
PACKAGE_INFO ( gpprofile  ,
GPPROFILE   
)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines