Salome HOME
Update mail address
[modules/geom.git] / src / BlocksGUI / BlocksGUI.h
1 //  GEOM GEOMGUI : GUI for Geometry component
2 //
3 //  Copyright (C) 2003  CEA
4 //
5 //  This library is free software; you can redistribute it and/or
6 //  modify it under the terms of the GNU Lesser General Public
7 //  License as published by the Free Software Foundation; either
8 //  version 2.1 of the License.
9 //
10 //  This library is distributed in the hope that it will be useful,
11 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
12 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 //  Lesser General Public License for more details.
14 //
15 //  You should have received a copy of the GNU Lesser General Public
16 //  License along with this library; if not, write to the Free Software
17 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
18 //
19 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 //
21 //
22 //
23 //  File   : BuildGUI.h
24 //  Author : Julia DOROVSKIKH
25 //  Module : GEOM
26 //  $Header$
27
28 #ifndef BLOCKSGUI_H
29 #define BLOCKSGUI_H
30
31 #include "GEOMGUI.h"
32
33 //=================================================================================
34 // class    : BlocksGUI
35 // purpose  :
36 //=================================================================================
37 class BlocksGUI : public GEOMGUI
38 {
39  protected:
40   BlocksGUI( GeometryGUI* parent ); // hide constructor to avoid direct creation
41
42  public:
43   ~BlocksGUI();
44
45   // Get the only BuildGUI object
46   static BlocksGUI* GetBlocksGUI( GeometryGUI* parent );
47
48   bool OnGUIEvent (int theCommandID, SUIT_Desktop* parent);
49
50 private:
51   static BlocksGUI* myGUIObject;        // the only BlocksGUI object
52 };
53
54 #endif