Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge Python 3 porting.
[modules/smesh.git]
/
src
/
PluginUtils
/
GeomSelectionTools.h
diff --git
a/src/PluginUtils/GeomSelectionTools.h
b/src/PluginUtils/GeomSelectionTools.h
index 31c34360660ffa0a1c2da9b50b0b861afea5fac9..0fc4cbaf36910424fd7e9e40e1e8ee30aeda9898 100644
(file)
--- a/
src/PluginUtils/GeomSelectionTools.h
+++ b/
src/PluginUtils/GeomSelectionTools.h
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
4
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
6
CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-25,18
+25,10
@@
#ifndef _GEOMSELECTIONTOOLS_H_
#define _GEOMSELECTIONTOOLS_H_
#ifndef _GEOMSELECTIONTOOLS_H_
#define _GEOMSELECTIONTOOLS_H_
-#ifdef WIN32
-# ifdef GeomSelectionTools_EXPORTS
-# define GEOMSELECTIONTOOLS_EXPORT __declspec( dllexport )
-# else
-# define GEOMSELECTIONTOOLS_EXPORT __declspec( dllimport )
-# endif
-#else
-# define GEOMSELECTIONTOOLS_EXPORT
-#endif
+#include "SMESH_PluginUtils.h"
-#include
"SALOMEDSClient.hxx"
-#include
"SALOME_InteractiveObject.hxx"
+#include
<SALOMEDSClient.hxx>
+#include
<SALOME_InteractiveObject.hxx>
#include <SALOME_ListIO.hxx>
#include <SalomeApp_Application.h>
#include <SALOME_ListIO.hxx>
#include <SalomeApp_Application.h>
@@
-54,16
+46,12
@@
class LightApp_SelectionMgr;
*
*/
*
*/
-class
GEOMSELECTIONTOO
LS_EXPORT GeomSelectionTools
+class
PLUGINUTI
LS_EXPORT GeomSelectionTools
{
{
-private:
-
- _PTR(Study) myStudy;
-
public:
public:
- GeomSelectionTools(
_PTR(Study)
);
+ GeomSelectionTools();
static SalomeApp_Application* GetSalomeApplication();
static LightApp_SelectionMgr* selectionMgr();
SALOME_ListIO* getSelectedSalomeObjects();
static SalomeApp_Application* GetSalomeApplication();
static LightApp_SelectionMgr* selectionMgr();
SALOME_ListIO* getSelectedSalomeObjects();
@@
-75,7
+63,6
@@
public:
TopAbs_ShapeEnum getFirstSelectedShapeType();
TopAbs_ShapeEnum entryToShapeType(std::string );
GeomAbs_SurfaceType getFaceInformation(TopoDS_Shape);
TopAbs_ShapeEnum getFirstSelectedShapeType();
TopAbs_ShapeEnum entryToShapeType(std::string );
GeomAbs_SurfaceType getFaceInformation(TopoDS_Shape);
- _PTR(Study) getMyStudy();
};
//////////////////////////////////////////
};
//////////////////////////////////////////
@@
-84,7
+71,7
@@
public:
namespace PluginUtils
{
namespace PluginUtils
{
-
GEOMSELECTIONTOO
LS_EXPORT QString PrintDoubleValue( double, int = 16 );
+
PLUGINUTI
LS_EXPORT QString PrintDoubleValue( double, int = 16 );
};
#endif // _GEOMSELECTIONTOOLS_H_
};
#endif // _GEOMSELECTIONTOOLS_H_