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 | |
---|
16 | using namespace std; |
---|
17 | |
---|
18 | class TGTransientFrame; |
---|
19 | class SimuApplication; |
---|
20 | class TGWindow; |
---|
21 | class TGMainFrame; |
---|
22 | |
---|
23 | class BaseDialogFactory { |
---|
24 | public: |
---|
25 | BaseDialogFactory(); |
---|
26 | virtual ~BaseDialogFactory(); |
---|
27 | |
---|
28 | virtual TGTransientFrame* BuildFrame( const string& name, |
---|
29 | SimuApplication*, TGWindow*, TGMainFrame* ) const = 0; |
---|
30 | |
---|
31 | private: |
---|
32 | ClassDef(BaseDialogFactory,0) |
---|
33 | }; |
---|
34 | |
---|
35 | #endif /* __BASEDIALOGFACTORY_HH_ */ |
---|
36 | |
---|
Note: See
TracBrowser
for help on using the repository browser.