File: main.cpp

package info (click to toggle)
odin 2.0.5-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,196 kB
  • sloc: cpp: 62,638; sh: 4,541; makefile: 779
file content (12 lines) | stat: -rw-r--r-- 367 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
#include "geoedit.h"

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

  // do this here so we do not have to query X server in order to get usage for manual
  if(hasHelpOption(argc, argv)) {GeoEditApp::usage();exit(0);}

  GuiApplication a(argc, argv); // debug handler will be initialized here
  GeoEditApp *geoedit=new GeoEditApp();
  return a.start(geoedit->get_widget());
}