A bit more re-organization.
[lyx.git] / src / mathed / MathCompletionList.h
blob7d36557fcb35723fbbc83e280f1d97d01151fab8
1 // -*- C++ -*-
2 /**
3 * \file MathCompletionList.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Stefan Schimanski
9 * Full author contact details are available in file CREDITS.
12 #ifndef MATH_COMPLETIONLIST_H
13 #define MATH_COMPLETIONLIST_H
15 #include "CompletionList.h"
17 #include "support/docstring.h"
19 #include <vector>
22 namespace lyx {
24 class MathCompletionList : public CompletionList {
25 public:
26 ///
27 MathCompletionList(Cursor const & cur);
28 ///
29 virtual ~MathCompletionList();
31 ///
32 virtual bool sorted() const { return false; }
33 ///
34 virtual size_t size() const;
35 ///
36 virtual docstring const & data(size_t idx) const;
37 ///
38 virtual std::string icon(size_t idx) const;
40 ///
41 static void addToFavorites(docstring const & completion);
43 private:
44 ///
45 static std::vector<docstring> globals;
46 ///
47 std::vector<docstring> locals;
50 } // namespace lyx
52 #endif // MATH_COMPLETIONLIST_H