Fresco/Berlin/modules/Gadgets GadgetKitImpl.cc,1.15,1.16 GadgetKitImpl.hh,1.9,1.10

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

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

Index: GadgetKitImpl.cc
===================================================================
RCS file: /cvs/fresco/Fresco/Berlin/modules/Gadgets/GadgetKitImpl.cc,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- GadgetKitImpl.cc	25 Jan 2003 22:37:01 -0000	1.15
+++ GadgetKitImpl.cc	18 Feb 2003 07:26:30 -0000	1.16
@@ -203,8 +203,9 @@
 };
 
 GadgetKitImpl::GadgetKitImpl(const std::string &id,
-			     const Fresco::Kit::PropertySeq &p)
-  : KitImpl(id, p) { }
+			     const Fresco::Kit::PropertySeq &p,
+			     ServerContextImpl *c)
+  : KitImpl(id, p, c) { }
 GadgetKitImpl::~GadgetKitImpl() { }
 void GadgetKitImpl::bind(ServerContext_ptr context)
 {
@@ -280,5 +281,5 @@
 extern "C" KitImpl *load()
 {
   static std::string properties[] = {"implementation", "GadgetKitImpl"};
-  return create_kit<GadgetKitImpl>("IDL:fresco.org/Fresco/GadgetKit:1.0", properties, 2);
+  return create_prototype<GadgetKitImpl>("IDL:fresco.org/Fresco/GadgetKit:1.0", properties, 2);
 } 

Index: GadgetKitImpl.hh
===================================================================
RCS file: /cvs/fresco/Fresco/Berlin/modules/Gadgets/GadgetKitImpl.hh,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- GadgetKitImpl.hh	5 Jan 2003 16:21:32 -0000	1.9
+++ GadgetKitImpl.hh	18 Feb 2003 07:26:30 -0000	1.10
@@ -31,16 +31,21 @@
 
 class GraphicImpl;
 
-namespace Berlin {
-namespace GadgetKit {
+namespace Berlin 
+{
+namespace GadgetKit 
+{
 
 class GadgetKitImpl : public virtual POA_Fresco::GadgetKit,
 		      public KitImpl
 {
  public:
-  GadgetKitImpl(const std::string &, const Fresco::Kit::PropertySeq &);
+  GadgetKitImpl(const std::string &,
+		const Fresco::Kit::PropertySeq &,
+		ServerContextImpl *);
   virtual ~GadgetKitImpl();
-  virtual KitImpl *clone(const Fresco::Kit::PropertySeq &p) { return new GadgetKitImpl(repo_id(), p);}
+  virtual KitImpl *clone(const Fresco::Kit::PropertySeq &p, ServerContextImpl *c)
+  { return new GadgetKitImpl(repo_id(), p, c);}
   virtual void bind(Fresco::ServerContext_ptr);
   virtual Fresco::Graphic_ptr rgb(Fresco::Graphic_ptr, Fresco::BoundedValue_ptr, Fresco::BoundedValue_ptr, Fresco::BoundedValue_ptr);
   virtual Fresco::Graphic_ptr alpha(Fresco::Graphic_ptr, Fresco::BoundedValue_ptr);
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.