From c15a8561b40d1c90b84e03f0806a9ac0bfa4b008 Mon Sep 17 00:00:00 2001 From: apo Date: Mon, 27 Nov 2006 11:46:03 +0000 Subject: [PATCH] To introduce a new method for ColoredPrs3dHolder to allow user to get know what type of presentation the holder instance is mananged --- idl/VISU_Gen.idl | 5 +++++ src/VISU_I/VISU_ColoredPrs3dHolder_i.hh | 1 + 2 files changed, 6 insertions(+) diff --git a/idl/VISU_Gen.idl b/idl/VISU_Gen.idl index c6f073d1..0d0a114f 100644 --- a/idl/VISU_Gen.idl +++ b/idl/VISU_Gen.idl @@ -608,6 +608,11 @@ module VISU { */ ColoredPrs3d GetDevice(); + /*! + * Gets type of the managed presentations. + */ + VISUType GetPrsType(); + /*! * Gets TimeStampsRange information from the last visited presentation. */ diff --git a/src/VISU_I/VISU_ColoredPrs3dHolder_i.hh b/src/VISU_I/VISU_ColoredPrs3dHolder_i.hh index e78aac0d..3947d48c 100644 --- a/src/VISU_I/VISU_ColoredPrs3dHolder_i.hh +++ b/src/VISU_I/VISU_ColoredPrs3dHolder_i.hh @@ -96,6 +96,7 @@ namespace VISU return VISU::TCOLOREDPRS3DHOLDER; } + virtual VISU::VISUType GetPrsType(); -- 2.39.2