Fresco/GGI/GGIKit GGIKitImpl.cc,1.6,1.7 GGIKitImpl.hh,1.7,1.8
Stefan Seefeld <[email protected]>
| Newsgroups | gmane.comp.video.fresco.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvs/fresco/Fresco/GGI/GGIKit
In directory purcel:/tmp/cvs-serv31700/GGI/GGIKit
Modified Files:
GGIKitImpl.cc GGIKitImpl.hh
Log Message:
a somewhat lengthy fix for http://issues.fresco.org/bug92
Index: GGIKitImpl.cc
===================================================================
RCS file: /cvs/fresco/Fresco/GGI/GGIKit/GGIKitImpl.cc,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- GGIKitImpl.cc 25 Jan 2003 22:37:05 -0000 1.6
+++ GGIKitImpl.cc 18 Feb 2003 07:26:41 -0000 1.7
@@ -24,8 +24,10 @@
using namespace Fresco;
-GGIKitImpl::GGIKitImpl(const std::string &id, const Fresco::Kit::PropertySeq &p)
- : KitImpl(id, p) {}
+GGIKitImpl::GGIKitImpl(const std::string &id,
+ const Fresco::Kit::PropertySeq &p,
+ ServerContextImpl *c)
+ : KitImpl(id, p, c) {}
GGIKitImpl::~GGIKitImpl() {}
GGI::Visual_ptr GGIKitImpl::create_visual(Fresco::PixelCoord w, Fresco::PixelCoord h)
@@ -38,5 +40,5 @@
extern "C" KitImpl *load()
{
static std::string properties[] = {"implementation", "GGIKitImpl"};
- return create_kit<GGIKitImpl>("IDL:GGI/GGIKit:1.0", properties, 2);
+ return create_prototype<GGIKitImpl>("IDL:GGI/GGIKit:1.0", properties, 2);
}
Index: GGIKitImpl.hh
===================================================================
RCS file: /cvs/fresco/Fresco/GGI/GGIKit/GGIKitImpl.hh,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- GGIKitImpl.hh 7 Nov 2002 16:20:06 -0000 1.7
+++ GGIKitImpl.hh 18 Feb 2003 07:26:41 -0000 1.8
@@ -31,9 +31,12 @@
public KitImpl
{
public:
- GGIKitImpl(const std::string &, const Fresco::Kit::PropertySeq &);
+ GGIKitImpl(const std::string &,
+ const Fresco::Kit::PropertySeq &,
+ ServerContextImpl *);
virtual ~GGIKitImpl();
- virtual KitImpl *clone(const Fresco::Kit::PropertySeq &p) { return new GGIKitImpl(repo_id(), p);}
+ virtual KitImpl *clone(const Fresco::Kit::PropertySeq &p, ServerContextImpl *c)
+ { return new GGIKitImpl(repo_id(), p, c);}
virtual GGI::Visual_ptr create_visual(Fresco::PixelCoord, Fresco::PixelCoord);
};