- tms-old
- tms
- tmsSigGen
- mainGui.cpp
This file ( 795B ) exceeds the allowed full mode (48 kb) size.
The editor full hight is disabled, only scrolling is allowed..
If you wish to edit a file, it is recommended to use the scroll mode as some users do not like the full height
mode, although some users like it.
/*******************************************************************************
* MainGui.cc tmsSigGen GUI process
* T. Barnaby, BEAM Ltd, 2007-01-30
*******************************************************************************
*/
#include <stdio.h>
#include <syslog.h>
#include <unistd.h>
#include <signal.h>
#include <sys/resource.h>
#include <Gui.h>
void usage(){
fprintf(stderr, "Usage: tmsSigGen\n");
}
int main(int argc, char** argv){
BError err;
int a;
BString s;
QApplication* app;
Gui* gui;
for(a = 1; a < argc; a++){
if(argv[a][0] == '-'){
switch(argv[a][1]){
default: usage(); return 1;
}
}
}
app = new QApplication(argc, argv);
gui = new Gui();
gui->init("TmsSigGen");
app->setMainWidget(gui);
gui->show();
app->exec();
return 0;
}