From: mpv Date: Wed, 22 Nov 2017 11:51:49 +0000 (+0300) Subject: Access to preferences from python X-Git-Tag: V_2.10.0RC~146 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9f0127687171af0b45e972338829c990632fdfb3;p=modules%2Fshaper.git Access to preferences from python --- diff --git a/src/Config/ConfigAPI.i b/src/Config/ConfigAPI.i index deb262c36..2bf42f1a0 100644 --- a/src/Config/ConfigAPI.i +++ b/src/Config/ConfigAPI.i @@ -32,3 +32,5 @@ %include "std_string.i" %include "Config_ModuleReader.h" +%include "Config_PropManager.h" +%include "Config_Prop.h" diff --git a/src/Config/Config_Prop.h b/src/Config/Config_Prop.h index d6ce44e41..bdaecb59b 100644 --- a/src/Config/Config_Prop.h +++ b/src/Config/Config_Prop.h @@ -26,7 +26,7 @@ #include #include -const static char* SKETCH_TAB_NAME = "Sketch"; +static const char* SKETCH_TAB_NAME = "Sketch"; /*! * \class Config_Prop diff --git a/src/Config/Config_swig.h b/src/Config/Config_swig.h index c6cf51d51..cda0700d8 100644 --- a/src/Config/Config_swig.h +++ b/src/Config/Config_swig.h @@ -22,5 +22,7 @@ #define SRC_CONFIG_SWIG_H_ #include "Config_ModuleReader.h" + #include "Config_Prop.h" + #include "Config_PropManager.h" #endif /* SRC_CONFIG_SWIG_H_ */