00001 // @(#)root/eve:$Id: TEveMacro.h 21054 2007-11-26 18:00:41Z matevz $ 00002 // Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007 00003 00004 /************************************************************************* 00005 * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. * 00006 * All rights reserved. * 00007 * * 00008 * For the licensing terms see $ROOTSYS/LICENSE. * 00009 * For the list of contributors see $ROOTSYS/README/CREDITS. * 00010 *************************************************************************/ 00011 00012 #ifndef ROOT_TEveMacro 00013 #define ROOT_TEveMacro 00014 00015 #include "TEveUtil.h" 00016 00017 #include "TMacro.h" 00018 00019 class TEveMacro : public TMacro 00020 { 00021 protected: 00022 00023 public: 00024 TEveMacro(); 00025 TEveMacro(const TEveMacro&); 00026 TEveMacro(const char* name); 00027 virtual ~TEveMacro() {} 00028 00029 virtual Long_t Exec(const char* params = "0", Int_t* error = 0); 00030 00031 void ResetRoot(); 00032 00033 ClassDef(TEveMacro, 1); // TMacro wrapper (attempting to fix issues with different macro loading and execution schemes). 00034 }; 00035 00036 #endif