]>
Commit | Line | Data |
---|---|---|
c6d78c69 | 1 | #include "AliTestChildProc.h" |
2 | ||
3 | #include <TRint.h> | |
4 | #include <TSystem.h> | |
5 | ||
6 | #include <TGFrame.h> | |
7 | ||
8 | #include <cstdlib> | |
9 | ||
10 | int main(int argc, char **argv) | |
11 | { | |
12 | // Crash on SEGV. | |
13 | gSystem->IgnoreSignal(kSigSegmentationViolation, true); | |
14 | ||
15 | TRint app("App", &argc, argv); | |
16 | ||
17 | TGMainFrame* mf = new AliTestChildProc(atoi(argv[1])); | |
18 | mf->MapWindow(); | |
19 | ||
20 | app.Run(kTRUE); | |
e849dadd | 21 | |
22 | app.Terminate(0); | |
c6d78c69 | 23 | return 0; |
24 | } |