// ESAF : Euso Simulation and Analysis Framework // $Id: BaseDialogFactory.hh,v 1.4 2004/09/28 09:46:25 thea Exp $ // Marco Pallavicini created Oct, 3 2002 // Factory class to create all TGFrame objects // (dialog window for configuration) // It is used by class EsafConfigurable to return the right object for each class // This is just an abstract interface // The real factory is in package/gui // #ifndef __BASEDIALOGFACTORY_HH_ #define __BASEDIALOGFACTORY_HH_ #include "euso.hh" #include using namespace std; class TGTransientFrame; class EusoApplication; class TGWindow; class TGMainFrame; class BaseDialogFactory { public: BaseDialogFactory(); virtual ~BaseDialogFactory(); virtual TGTransientFrame* BuildFrame( const string& name, EusoApplication*, TGWindow*, TGMainFrame* ) const = 0; private: ClassDef(BaseDialogFactory,0) }; #endif /* __BASEDIALOGFACTORY_HH_ */