// -*- C++ -*- /* This file is part of * ====================================================== * * LyX, The Document Processor * * Copyright 2000 Jean-Marc Lasgouttes * * ======================================================*/ #ifndef STRPOOL_H #define STRPOOL_H #ifdef __GNUG__ #pragma interface #endif #include "LString.h" #include /// class StrPool { public: /// delete all the strings that have been allocated by add() ~StrPool(); /// Make a copy of the string, and remember it in the pool char const * add(string const & str); private: /// typedef std::vector Pool; /// Pool pool_; }; #endif