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