| Line | |
|---|
| 1 | #include <iostream.h>
|
|---|
| 2 |
|
|---|
| 3 | #include <TROOT.h>
|
|---|
| 4 | #include <TApplication.h>
|
|---|
| 5 |
|
|---|
| 6 | #include "MGStarguider.h"
|
|---|
| 7 |
|
|---|
| 8 | /* ---------------------------------------------------------------------- */
|
|---|
| 9 |
|
|---|
| 10 | //extern void InitGui();
|
|---|
| 11 | //VoidFuncPtr_t initfuncs[] = { InitGui, 0 };
|
|---|
| 12 |
|
|---|
| 13 | int main(int argc, char **argv)
|
|---|
| 14 | {
|
|---|
| 15 | TROOT root("GUI", "GUI test environement"); //, initfuncs);
|
|---|
| 16 |
|
|---|
| 17 | TApplication app("Starguider", &argc, argv);
|
|---|
| 18 |
|
|---|
| 19 | MGStarguider 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.