No more "Proxy" in idl files
- From: Stefan Westerfeld <stefan space twc de>
- To: beast gnome org
- Subject: No more "Proxy" in idl files
- Date: Wed Nov 26 16:32:02 2003
Hi!
While cleaning up sfidl, I removed the "Proxy" primitive type from sfidl. This
had been a FIXME for a long time anyway. So bserecords.idl says now:
class Item;
sequence ProxySeq {
Info BLURB = ("An item list");
Item proxies;
Info HELP = ("A list of BSE objects, usually items.");
};
instead of using "Proxy proxies;". As the C++ binding will be statically
typed, it would be probably a good idea to introduce different kinds of
sequences to minimize casts. ProxySeq then probably should be called ItemSeq.
Currently sfidl generates the param spec for objects like this:
case OBJECT:
{
/* FIXME: the ParamSpec doesn't transport the type of the objects we require */
pspec = "sfidl_pspec_Proxy";
if (pdef.args == "")
pspec += "_default (" + group + ",\"" + pdef.name + "\")";
else
pspec += " (" + group + ",\"" + pdef.name + "\"," + pdef.args + ")";
}
break;
Probably the SFI ParamSpec for proxies should say which type to accept?
Cu... Stefan
--
-* Stefan Westerfeld, stefan@space.twc.de (PGP!), Hamburg/Germany
KDE Developer, project infos at http://space.twc.de/~stefan/kde *-
[Date Prev][Date Next] [Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]