-/* This file is part of
-* ======================================================
-*
-* LyX, The Document Processor
-* Copyright (C) 1995 Matthias Ettrich
-*
-* This file is Copyleft (C) 1996
-* Lars Gullik Bjønnes
-*
-*======================================================*/
-
-#ifndef _BUFFER_LIST_H_
-#define _BUFFER_LIST_H_
-
-#ifdef __GNUG__
-#pragma interface
-#endif
-
-#include "buffer.h"
-#include "error.h"
-
-/** A class to hold all the buffers in a structure
- The point of this class is to hide from bufferlist what kind
- of structure the buffers are stored in. Should be no concern for
- bufferlist if the buffers is in a array or in a linked list.
-
- This class should ideally be enclosed inside class BufferList, but that
- gave me an "internal gcc error".
- */
-class BufferStorage {
-public:
- ///
- BufferStorage();
- ///
- bool isEmpty();
- ///
- void release(Buffer* buf);
- ///
- Buffer* newBuffer(string const &s, LyXRC *, bool =false);
-private:
- enum {
- /** The max number of buffers there are possible to have
- loaded at the same time. (this only applies when we use an
- array)
- */
- NUMBER_OF_BUFFERS = 50
- };
-
- /** The Bufferlist is currently implemented as a static array.
- The buffers are new'ed and deleted as reqested.
- */
- Buffer *buffer[NUMBER_OF_BUFFERS];
- ///
- friend class BufferStorage_Iter;
-};
+/**
+ * \file bufferlist.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author Lars Gullik Bjønnes
+ *
+ * Full author contact details are available in file CREDITS.
+ */