Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix to meet coding rules
[modules/shaper.git]
/
src
/
InitializationPlugin
/
InitializationPlugin_Plugin.h
diff --git
a/src/InitializationPlugin/InitializationPlugin_Plugin.h
b/src/InitializationPlugin/InitializationPlugin_Plugin.h
index 64d4c951f60be5c23921d54807c20d49722525d6..52d5cc3e93664e2460c9c506175323fe31e60e65 100644
(file)
--- a/
src/InitializationPlugin/InitializationPlugin_Plugin.h
+++ b/
src/InitializationPlugin/InitializationPlugin_Plugin.h
@@
-4,11
+4,12
@@
#define INITIALIZATIONPLUGIN_PLUGIN_H_
#include <InitializationPlugin.h>
#define INITIALIZATIONPLUGIN_PLUGIN_H_
#include <InitializationPlugin.h>
-
#include <ModelAPI_Feature.h>
#include <Events_Loop.h>
#include <ModelAPI_Feature.h>
#include <Events_Loop.h>
+class InitializationPlugin_EvalListener;
+
/**\class InitializationPlugin_Plugin
* \ingroup Plugins
* This class is represents a plugin.
/**\class InitializationPlugin_Plugin
* \ingroup Plugins
* This class is represents a plugin.
@@
-40,7
+41,7
@@
class InitializationPlugin_Plugin : public Events_Listener
/// \param theX - X coordinate
/// \param theY - Y coordinate
/// \param theZ - Z coordinate
/// \param theX - X coordinate
/// \param theY - Y coordinate
/// \param theZ - Z coordinate
- FeaturePtr createPoint(DocumentPtr theDoc, const std::string& theName,
+ FeaturePtr createPoint(DocumentPtr theDoc, const std::string& theName,
double theX, double theY, double theZ);
/// Creates an axis which is started from origin point
double theX, double theY, double theZ);
/// Creates an axis which is started from origin point
@@
-49,8
+50,11
@@
class InitializationPlugin_Plugin : public Events_Listener
/// \param theX - X of direction point
/// \param theY - Y of direction point
/// \param theZ - Z of direction point
/// \param theX - X of direction point
/// \param theY - Y of direction point
/// \param theZ - Z of direction point
- FeaturePtr createAxis(DocumentPtr theDoc, FeaturePtr theOrigin,
+ FeaturePtr createAxis(DocumentPtr theDoc, FeaturePtr theOrigin,
double theX, double theY, double theZ);
double theX, double theY, double theZ);
+
+ private:
+ std::shared_ptr<InitializationPlugin_EvalListener> myEvalListener;
};
#endif
};
#endif