source: trunk/MagicSoft/Cosy/starg.cc@ 758

Last change on this file since 758 was 738, checked in by tbretz, 24 years ago
*** empty log message ***
File size: 489 bytes
Line 
1#include <iostream.h>
2
3#include <TROOT.h>
4#include <TApplication.h>
5
6#include "Starguider.h"
7
8/* ---------------------------------------------------------------------- */
9
10extern void InitGui();
11VoidFuncPtr_t initfuncs[] = { InitGui, 0 };
12
13int main(int argc, char **argv)
14{
15 TROOT root("GUI", "GUI test environement", initfuncs);
16
17 TApplication app("Starguider", &argc, argv);
18
19 Starguider starg;
20
21 starg.Loop(0);
22
23 app.Run();
24
25 cout << "Exit." << endl;
26
27 return 0;
28}
Note: See TracBrowser for help on using the repository browser.