Fresco/Berlin/modules/Primitives PrimitiveKitImpl.cc,1.9,1.10 PrimitiveKitImpl.hh,1.7,1.8

Stefan Seefeld <[email protected]>
Newsgroups gmane.comp.video.fresco.cvs
Message-ID <[email protected]>
Update of /cvs/fresco/Fresco/Berlin/modules/Primitives
In directory purcel:/tmp/cvs-serv31700/Berlin/modules/Primitives

Modified Files:
	PrimitiveKitImpl.cc PrimitiveKitImpl.hh 
Log Message:
a somewhat lengthy fix for http://issues.fresco.org/bug92

Index: PrimitiveKitImpl.cc
===================================================================
RCS file: /cvs/fresco/Fresco/Berlin/modules/Primitives/PrimitiveKitImpl.cc,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- PrimitiveKitImpl.cc	25 Jan 2003 22:37:02 -0000	1.9
+++ PrimitiveKitImpl.cc	18 Feb 2003 07:26:32 -0000	1.10
@@ -33,8 +33,9 @@
 using namespace Berlin::PrimitiveKit;
 
 PrimitiveKitImpl::PrimitiveKitImpl(const std::string &id,
-		                   const Fresco::Kit::PropertySeq &p)
-  : KitImpl(id, p) { }
+		                   const Fresco::Kit::PropertySeq &p,
+				   ServerContextImpl *c)
+  : KitImpl(id, p, c) { }
 
 PrimitiveKitImpl::~PrimitiveKitImpl() { }
 
@@ -141,5 +142,5 @@
 extern "C" KitImpl *load()
 {
   static std::string properties[] = {"implementation", "PrimitiveKitImpl"};
-  return create_kit<PrimitiveKitImpl> ("IDL:fresco.org/Fresco/PrimitiveKit:1.0", properties, 2);
+  return create_prototype<PrimitiveKitImpl> ("IDL:fresco.org/Fresco/PrimitiveKit:1.0", properties, 2);
 }

Index: PrimitiveKitImpl.hh
===================================================================
RCS file: /cvs/fresco/Fresco/Berlin/modules/Primitives/PrimitiveKitImpl.hh,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- PrimitiveKitImpl.hh	5 Jan 2003 16:21:34 -0000	1.7
+++ PrimitiveKitImpl.hh	18 Feb 2003 07:26:35 -0000	1.8
@@ -28,16 +28,21 @@
 #include <Fresco/Primitive.hh>
 #include <Berlin/KitImpl.hh>
 
-namespace Berlin {
-namespace PrimitiveKit {
+namespace Berlin 
+{
+namespace PrimitiveKit 
+{
 
 class PrimitiveKitImpl : public virtual POA_Fresco::PrimitiveKit,
 			 public KitImpl
 {
 public:
-  PrimitiveKitImpl(const std::string &, const Fresco::Kit::PropertySeq &);
+  PrimitiveKitImpl(const std::string &,
+		   const Fresco::Kit::PropertySeq &,
+		   ServerContextImpl *);
   virtual ~PrimitiveKitImpl();
-  virtual KitImpl *clone(const Fresco::Kit::PropertySeq &p) { return new PrimitiveKitImpl(repo_id(), p);}
+  virtual KitImpl *clone(const Fresco::Kit::PropertySeq &p, ServerContextImpl *c)
+  { return new PrimitiveKitImpl(repo_id(), p, c);}
 
   Fresco::Graphic_ptr root(Fresco::Graphic_ptr);
   Primitive::Geometry_ptr geometry(const Fresco::Mesh &);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.