John Levon wrote: > On Thu, Aug 07, 2003 at 04:52:14PM +0200, Lars Gullik Bj?nnes wrote: > >> I nice implication of this might be that we won't need a BufferList >> anymore (at least not explicit), but keep only open those buffers that >> has a BufferView. > > Eh, how would that work ? > > john
As I read it, I think that Lars is saying we could store a BufferViewList. Presumably the BufferView would have a shared_ptr<Buffer> buffer_; member, so the Buffer is destroyed automatically when the last BufferView looking at it is destroyed. In order for lyx to continue to work from the command line, we would need a NullView frontend I think. -- Angus