Fresco/Berlin/modules/Commands CommandKitImpl.cc,1.28,1.29 CommandKitImpl.hh,1.17,1.18
Stefan Seefeld <[email protected]>
| Newsgroups | gmane.comp.video.fresco.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvs/fresco/Fresco/Berlin/modules/Commands
In directory purcel:/tmp/cvs-serv31700/Berlin/modules/Commands
Modified Files:
CommandKitImpl.cc CommandKitImpl.hh
Log Message:
a somewhat lengthy fix for http://issues.fresco.org/bug92
Index: CommandKitImpl.cc
===================================================================
RCS file: /cvs/fresco/Fresco/Berlin/modules/Commands/CommandKitImpl.cc,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- CommandKitImpl.cc 23 Jan 2003 22:31:02 -0000 1.28
+++ CommandKitImpl.cc 18 Feb 2003 07:26:24 -0000 1.29
@@ -143,8 +143,9 @@
CommandKitImpl::CommandKitImpl(const std::string &id,
- const Fresco::Kit::PropertySeq &p)
- : KitImpl(id, p) { }
+ const Fresco::Kit::PropertySeq &p,
+ ServerContextImpl *c)
+ : KitImpl(id, p, c) { }
CommandKitImpl::~CommandKitImpl() { }
@@ -270,5 +271,5 @@
extern "C" KitImpl *load()
{
static std::string properties[] = {"implementation", "CommandKitImpl"};
- return create_kit<CommandKitImpl>("IDL:fresco.org/Fresco/CommandKit:1.0", properties, 2);
+ return create_prototype<CommandKitImpl>("IDL:fresco.org/Fresco/CommandKit:1.0", properties, 2);
}
Index: CommandKitImpl.hh
===================================================================
RCS file: /cvs/fresco/Fresco/Berlin/modules/Commands/CommandKitImpl.hh,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- CommandKitImpl.hh 29 May 2002 06:49:38 -0000 1.17
+++ CommandKitImpl.hh 18 Feb 2003 07:26:24 -0000 1.18
@@ -36,9 +36,12 @@
public KitImpl
{
public:
- CommandKitImpl(const std::string &, const Fresco::Kit::PropertySeq &);
+ CommandKitImpl(const std::string &,
+ const Fresco::Kit::PropertySeq &,
+ ServerContextImpl *);
virtual ~CommandKitImpl();
- virtual KitImpl *clone(const Fresco::Kit::PropertySeq &p) { return new CommandKitImpl(repo_id(), p);}
+ virtual KitImpl *clone(const Fresco::Kit::PropertySeq &p, ServerContextImpl *c)
+ { return new CommandKitImpl(repo_id(), p, c);}
virtual void bind(Fresco::ServerContext_ptr);
virtual Fresco::Command_ptr debugger(Fresco::Command_ptr, const char *);