This commit was generated by cvs2svn to compensate for changes in r13732,
[u/mrichter/AliRoot.git] / EVE / Reve / reve_main / reve_main.cxx
1 #include <Reve/Reve.h>
2 #include <Reve/RGTopFrame.h>
3
4 #include <TInterpreter.h>
5 #include <Getline.h>
6
7 int main(int argc, char **argv)
8 {
9   Reve::SetupEnvironment();
10
11   gROOT->SetMacroPath(Form(".:%s/macros", gSystem->Getenv("REVESYS")));
12   gInterpreter->AddIncludePath(Form("%s/macros", gSystem->Getenv("REVESYS")));
13
14   int r = Reve::RGTopFrame::SpawnGuiAndRun(argc, argv);
15   Getlinem(kCleanUp, 0);
16   return r;
17 }