*
* LyX, The Document Processor
*
- * Copyright 2000 Jean-Marc Lasgouttes
+ * Copyright 2000-2001 Jean-Marc Lasgouttes
*
* ======================================================*/
#include "LString.h"
#include <vector>
+///
class StrPool {
public:
- // delete all the strings that have been allocated by add()
+ /// delete all the strings that have been allocated by add()
~StrPool();
- // Make a copy of the string, and remember it in the pool
+ /// Make a copy of the string, and remember it in the pool
char const * add(string const & str);
private:
+ ///
typedef std::vector<char const *> Pool;
+ ///
Pool pool_;
};
+//extern StrPool strPool;
+
#endif