Mercurial > hg > grouptrack
view src/main.cpp @ 14:34156549d423
termapp handles signals and termination a bit better.
author | samer |
---|---|
date | Mon, 20 Feb 2012 15:38:16 +0000 |
parents | 2aa8ba4db20e |
children |
line wrap: on
line source
#include "ofMain.h" #include "testApp.h" #define HOST "localhost" #define PORT 7770 //======================================================================== int main(int argc, const char **argv){ ofRunApp(new testApp( argc>1 ? argv[1] : HOST, argc>2 ? atoi(argv[2]) : PORT, argc>3 ? atoi(argv[3]) : 15)); }