Salome HOME
Axis feature in Construction plugin is created
[modules/shaper.git] / src / PartSet / PartSet_Operation.h
1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
2
3 // File:        PartSet_Operation.h
4 // Created:     24 Nov 2014
5 // Author:      Vitaly SMETANNIKOV
6
7 #ifndef PartSet_Operation_H
8 #define PartSet_Operation_H
9
10 #include "PartSet.h"
11
12 #include <ModuleBase_Operation.h>
13
14 class ModuleBase_IWorkshop;
15
16 class PARTSET_EXPORT PartSet_Operation : public ModuleBase_Operation
17 {
18 Q_OBJECT
19  public:
20    PartSet_Operation(const QString& theId = "", QObject* theParent = 0)
21      :ModuleBase_Operation(theId, theParent) {}
22
23    void setWorkshop(ModuleBase_IWorkshop* theWorkshop) { myWorkshop = theWorkshop; } 
24
25 public slots:
26   void onSelectionChanged();
27
28 private:
29   ModuleBase_IWorkshop* myWorkshop;
30 };
31
32 #endif