]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Added common inclusion file, added structure TextColor
authorsrn <srn@opencascade.com>
Mon, 4 Apr 2005 11:40:58 +0000 (11:40 +0000)
committersrn <srn@opencascade.com>
Mon, 4 Apr 2005 11:40:58 +0000 (11:40 +0000)
src/SALOMEDSClient/Makefile.in
src/SALOMEDSClient/SALOMEDSClient.hxx [new file with mode: 0644]
src/SALOMEDSClient/SALOMEDSClient_AttributeTextColor.hxx
src/SALOMEDSClient/SALOMEDSClient_AttributeTextHighlightColor.hxx
src/SALOMEDSClient/SALOMEDSClient_definitions.hxx [new file with mode: 0644]

index c016bdbfa9412d13ccebe992f04ed51c140684fa..c3c92b5e2c413e9938b75b2de2c0bfeb6d243768 100644 (file)
@@ -10,7 +10,8 @@ VPATH=.:@srcdir@:@top_srcdir@/idl:$(top_srcdir)/idl
 
 @COMMENCE@ 
 
-EXPORT_HEADERS= SALOMEDSClient_AttributeComment.hxx \
+EXPORT_HEADERS= SALOMEDSClient_definitions.hxx \
+                SALOMEDSClient_AttributeComment.hxx \
                SALOMEDSClient_AttributeDrawable.hxx \
                 SALOMEDSClient_AttributeExpandable.hxx \
                 SALOMEDSClient_AttributeExternalFileDef.hxx \
@@ -47,7 +48,8 @@ EXPORT_HEADERS= SALOMEDSClient_AttributeComment.hxx \
                 SALOMEDSClient_StudyBuilder.hxx \
                 SALOMEDSClient_StudyManager.hxx \
                 SALOMEDSClient_UseCaseBuilder.hxx \
-                SALOMEDSClient_UseCaseIterator.hxx
+                SALOMEDSClient_UseCaseIterator.hxx \
+               SALOMEDSClient.hxx
 
 @CONCLUDE@
 
diff --git a/src/SALOMEDSClient/SALOMEDSClient.hxx b/src/SALOMEDSClient/SALOMEDSClient.hxx
new file mode 100644 (file)
index 0000000..9a0bad0
--- /dev/null
@@ -0,0 +1,44 @@
+#ifndef  SALOMEDSCLIENT_HXX
+#define SALOMEDSCLIENT_HXX
+
+#include "SALOMEDSClient_definitions.hxx"
+#include "SALOMEDSClient_AttributeComment.hxx"
+#include "SALOMEDSClient_AttributeDrawable.hxx"
+#include "SALOMEDSClient_AttributeExpandable.hxx"
+#include "SALOMEDSClient_AttributeExternalFileDef.hxx"
+#include "SALOMEDSClient_AttributeFileType.hxx"
+#include "SALOMEDSClient_AttributeFlags.hxx"
+#include "SALOMEDSClient_AttributeGraphic.hxx"
+#include "SALOMEDSClient_AttributeIOR.hxx"
+#include "SALOMEDSClient_AttributeInteger.hxx"
+#include "SALOMEDSClient_AttributeLocalID.hxx"
+#include "SALOMEDSClient_AttributeName.hxx"
+#include "SALOMEDSClient_AttributeOpened.hxx"
+#include "SALOMEDSClient_AttributePersistentRef.hxx"
+#include "SALOMEDSClient_AttributePixMap.hxx"
+#include "SALOMEDSClient_AttributePythonObject.hxx"
+#include "SALOMEDSClient_AttributeReal.hxx"
+#include "SALOMEDSClient_AttributeSelectable.hxx"
+#include "SALOMEDSClient_AttributeSequenceOfInteger.hxx"
+#include "SALOMEDSClient_AttributeSequenceOfReal.hxx"
+#include "SALOMEDSClient_AttributeStudyProperties.hxx"
+#include "SALOMEDSClient_AttributeTableOfInteger.hxx"
+#include "SALOMEDSClient_AttributeTableOfReal.hxx"
+#include "SALOMEDSClient_AttributeTableOfString.hxx"
+#include "SALOMEDSClient_AttributeTarget.hxx"
+#include "SALOMEDSClient_AttributeTextColor.hxx"
+#include "SALOMEDSClient_AttributeTextHighlightColor.hxx"
+#include "SALOMEDSClient_AttributeTreeNode.hxx"
+#include "SALOMEDSClient_AttributeUserID.hxx"
+#include "SALOMEDSClient_ChildIterator.hxx"
+#include "SALOMEDSClient_GenericAttribute.hxx"
+#include "SALOMEDSClient_SComponent.hxx"
+#include "SALOMEDSClient_SComponentIterator.hxx"
+#include "SALOMEDSClient_SObject.hxx"
+#include "SALOMEDSClient_Study.hxx"
+#include "SALOMEDSClient_StudyBuilder.hxx"
+#include "SALOMEDSClient_StudyManager.hxx"
+#include "SALOMEDSClient_UseCaseBuilder.hxx"
+#include "SALOMEDSClient_UseCaseIterator.hxx"
+
+#endif
\ No newline at end of file
index eccbd17c69a73f80a151dec6bc68b6d3f4c8f808..fb5f65dcb948d74d48e9e446e7e782dfbce4f2e7 100644 (file)
@@ -7,13 +7,14 @@
 
 #include <vector>
 #include "SALOMEDSClient_GenericAttribute.hxx" 
+#include "SALOMEDSClient_definitions.hxx"
 
 class SALOMEDSClient_AttributeTextColor: public virtual SALOMEDSClient_GenericAttribute
 {
 public:
 
-  virtual std::vector<double> TextColor() = 0;
-  virtual void SetTextColor(const std::vector<double>& value) = 0;
+  virtual STextColor TextColor() = 0;
+  virtual void SetTextColor(STextColor value) = 0;
 
 };
 
index b728393a18f6c39af537b841b9a3662e1784fd77..1102ea355dcb5be6e8903d90cf52784191faa2c8 100644 (file)
@@ -7,12 +7,13 @@
 
 #include <vector>
 #include "SALOMEDSClient_GenericAttribute.hxx" 
+#include "SALOMEDSClient_definitions.hxx"
 
 class SALOMEDSClient_AttributeTextHighlightColor: public virtual SALOMEDSClient_GenericAttribute
 {
 public:
-  virtual std::vector<double> TextHighlightColor() = 0;
-  virtual void SetTextHighlightColor(const std::vector<double>& value) = 0;
+  virtual STextColor TextHighlightColor() = 0;
+  virtual void SetTextHighlightColor(STextColor value) = 0;
 };
 
 
diff --git a/src/SALOMEDSClient/SALOMEDSClient_definitions.hxx b/src/SALOMEDSClient/SALOMEDSClient_definitions.hxx
new file mode 100644 (file)
index 0000000..dd6f899
--- /dev/null
@@ -0,0 +1,11 @@
+#ifndef  SALOMEDSCLIENT_DEF_HXX
+#define SALOMEDSCLIENT_DEF_HXX
+
+struct STextColor
+{
+    double R;
+    double G;
+    double B;
+};
+
+#endif