mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-22 07:57:22 +00:00
41 lines
592 B
C
41 lines
592 B
C
|
// -*- 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);
|
||
|
|
||
|
private:
|
||
|
class Impl;
|
||
|
Impl * d;
|
||
|
};
|
||
|
|
||
|
} // namespace lyx
|
||
|
|
||
|
#endif // WORDLIST_H
|