source: JEM-EUSO/esaf_cc_at_lal/packages/common/base/include/BaseDialogFactory.hh @ 114

Last change on this file since 114 was 114, checked in by moretto, 11 years ago

actual version of ESAF at CCin2p3

File size: 911 bytes
Line 
1// ESAF : Euso Simulation and Analysis Framework
2// $Id: BaseDialogFactory.hh 2218 2005-10-18 23:17:30Z thea $
3// Marco Pallavicini created Oct,  3 2002
4// Factory class to create all TGFrame objects
5// (dialog window for configuration)
6// It is used by class EsafConfigurable to return the right object for each class
7// This is just an abstract interface
8// The real factory is in package/gui
9//
10#ifndef __BASEDIALOGFACTORY_HH_
11#define __BASEDIALOGFACTORY_HH_
12
13#include "euso.hh"
14#include <string>
15
16using namespace std;
17
18class TGTransientFrame;
19class SimuApplication;
20class TGWindow;
21class TGMainFrame;
22
23class BaseDialogFactory {
24public:
25    BaseDialogFactory();
26    virtual ~BaseDialogFactory();
27
28    virtual TGTransientFrame* BuildFrame( const string& name, 
29                    SimuApplication*, TGWindow*, TGMainFrame* ) const = 0;
30
31private:
32    ClassDef(BaseDialogFactory,0)
33};
34
35#endif  /* __BASEDIALOGFACTORY_HH_ */
36
Note: See TracBrowser for help on using the repository browser.