]> SALOME platform Git repositories - modules/gui.git/blob - src/CAM/CAM_DataObject.h
Salome HOME
70d09994ffcd7fd62f07021b9e3777f9333c503f
[modules/gui.git] / src / CAM / CAM_DataObject.h
1 // Copyright (C) 2005  OPEN CASCADE, CEA/DEN, EDF R&D, PRINCIPIA R&D
2 // 
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either 
6 // version 2.1 of the License.
7 // 
8 // This library is distributed in the hope that it will be useful 
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of 
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
11 // Lesser General Public License for more details.
12 //
13 // You should have received a copy of the GNU Lesser General Public  
14 // License along with this library; if not, write to the Free Software 
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 //
17 // See http://www.salome-platform.org/
18 //
19 #ifndef CAM_DATAOBJECT_H
20 #define CAM_DATAOBJECT_H
21
22 #include "CAM.h"
23
24 #include <SUIT_DataObject.h>
25
26 class CAM_Module;
27 class CAM_DataModel;
28
29 /*!
30   \class CAM_DataObject
31   Provides only additional link to CAM_DataModel
32 */
33 class CAM_EXPORT CAM_DataObject : public SUIT_DataObject
34 {
35 public:
36   CAM_DataObject( SUIT_DataObject* = 0 );
37   virtual ~CAM_DataObject();
38
39   CAM_Module*            module() const;
40   virtual CAM_DataModel* dataModel() const;
41 };
42
43 #endif
44
45 #if _MSC_VER > 1000
46 #pragma once
47 #endif