lyx_mirror/src/WordList.h

45 lines
661 B
C
Raw Normal View History

// -*- C++ -*-
/**
* \file WordList.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Stefan Schimanski
*
* Full author contact details are available in file CREDITS.
*/
#ifndef WORDLIST_H
#define WORDLIST_H
#include "support/docstring.h"
namespace lyx {
class WordList {
public:
///
WordList();
///
~WordList();
///
docstring const & word(size_t idx) const;
///
size_t size() const;
///
void insert(docstring const & w);
///
void remove(docstring const & w);
private:
struct Impl;
Impl * d;
};
WordList & theWordList();
} // namespace lyx
#endif // WORDLIST_H