Re: documentation, deprecated interfaces



On Mon, 2002-12-09 at 15:12, Jaka Mocnik wrote:
> heh... the use of PersistStream is a relic of the past, since I ported
> GGV (and its bonobo component) from Gnome 1 platform. I don't think that
> you should use deprecated interfaces in newly written code. On the other
> hand, I really don't know why the BonoboPersistStream object was
> deprecated: it offered a nice, effort-less way to add this functionality
> to one's component.

	The PersistStream interface is not deprecated; people are encouraged to
implement it. The mechanism of using an uber-ugly, incomplete C wrapper
to implement it is however gone completely. Thus to implement
PersistStream you have to use BonoboObject in a more sensible fashion;

	The easiest way to do that is to copy bonobo-persist-stream.c & .h,
rename it, chop the helpers from the bottom - and instead of throwing C
callbacks - just implement the load / save methods yourself nicely.

	HTH,

		Michael.

-- 
 mmeeks gnu org  <><, Pseudo Engineer, itinerant idiot




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]