Salome HOME
95991739bb9bd3111e4f5b66f24c7e7da36e91b2
[modules/geom.git] / src / GEOMGUI / GEOMPluginGUI.h
1 // Copyright (C) 2007-2020  CEA/DEN, EDF R&D, OPEN CASCADE
2 //
3 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 //
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License, or (at your option) any later version.
10 //
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 // Lesser General Public License for more details.
15 //
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 //
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 //
22
23 // GEOM GEOMGUI : GUI for Geometry component
24 // File   : GEOMPluginGUI.h
25
26 #ifndef GEOMPLUGINGUI_H
27 #define GEOMPLUGINGUI_H
28
29 #include "GEOMGUI.h"
30
31 #include <QObject>
32
33 //=================================================================================
34 // class    : GEOMPluginGUI
35 // purpose  : Base class for all geometry Plugins
36 //=================================================================================
37 class GEOMGUI_EXPORT GEOMPluginGUI : public GEOMGUI
38 {
39 public :
40   // Constructor
41   GEOMPluginGUI (GeometryGUI* parent);
42   // Destructor
43   virtual ~GEOMPluginGUI();
44
45   //! Parameter action specifies the operation ID
46   virtual bool OnGUIEvent (const QString& action, SUIT_Desktop* parent);
47   //virtual bool OnGUIEvent (const QString& action, SUIT_Desktop* parent, const QVariant& theParam);
48 };
49
50 #endif // GEOMPluginGUI_H