Salome HOME
Merge from V6_main_20120808 08Aug12
[modules/yacs.git] / doc / exemples / exemple9 / alglin_i.hxx
index 52301f7bd79e1624c0727224b0231b738ebb20af..5e1a0b3f51f79cde3e972978f41a6faed786cc36 100755 (executable)
@@ -1,47 +1,47 @@
-#ifndef ALGLIN_I_\r
-#define ALGLIN_I_\r
-\r
-#include "alglin.hxx"\r
-#include <SALOMEconfig.h>\r
-#include CORBA_SERVER_HEADER(alglin)\r
-#include "SALOME_Component_i.hxx"\r
-\r
-class AlgLin_i : public POA_Engines::AlgLin,\r
-                public Engines_Component_i {\r
-\r
-private:\r
-\r
-  alglin A_interne;\r
-\r
-public:\r
-\r
-  AlgLin_i(CORBA::ORB_ptr orb,\r
-          PortableServer::POA_ptr poa,\r
-          PortableServer::ObjectId * contId, \r
-          const char *instanceName,\r
-          const char *interfaceName);\r
-\r
-  virtual ~AlgLin_i();\r
-\r
-  void addvec(Engines::vecteur_out C, \r
-             const Engines::vecteur& A, \r
-             const Engines::vecteur& B);\r
-\r
-  CORBA::Double prdscl(const Engines::vecteur& A, \r
-                      const Engines::vecteur& B);\r
-\r
-  Engines::vecteur* create_vector(CORBA::Long n);\r
-  void destroy_vector(const Engines::vecteur& V);\r
-  \r
-};\r
-\r
-\r
-extern "C"\r
-PortableServer::ObjectId * \r
-     AlgLinEngine_factory(CORBA::ORB_ptr orb ,\r
-                         PortableServer::POA_ptr poa , \r
-                         PortableServer::ObjectId * contId ,\r
-                         const char *instanceName ,\r
-                         const char *interfaceName );\r
-\r
-#endif\r
+#ifndef ALGLIN_I_
+#define ALGLIN_I_
+
+#include "alglin.hxx"
+#include <SALOMEconfig.h>
+#include CORBA_SERVER_HEADER(alglin)
+#include "SALOME_Component_i.hxx"
+
+class AlgLin_i : public POA_Engines::AlgLin,
+                public Engines_Component_i {
+
+private:
+
+  alglin A_interne;
+
+public:
+
+  AlgLin_i(CORBA::ORB_ptr orb,
+          PortableServer::POA_ptr poa,
+          PortableServer::ObjectId * contId, 
+          const char *instanceName,
+          const char *interfaceName);
+
+  virtual ~AlgLin_i();
+
+  void addvec(Engines::vecteur_out C, 
+             const Engines::vecteur& A, 
+             const Engines::vecteur& B);
+
+  CORBA::Double prdscl(const Engines::vecteur& A, 
+                      const Engines::vecteur& B);
+
+  Engines::vecteur* create_vector(CORBA::Long n);
+  void destroy_vector(const Engines::vecteur& V);
+  
+};
+
+
+extern "C"
+PortableServer::ObjectId * 
+     AlgLinEngine_factory(CORBA::ORB_ptr orb ,
+                         PortableServer::POA_ptr poa , 
+                         PortableServer::ObjectId * contId ,
+                         const char *instanceName ,
+                         const char *interfaceName );
+
+#endif