]> git.lyx.org Git - lyx.git/blobdiff - src/Thesaurus.h
Fix up the InsetMathGrid output: detect better if we have a table, and
[lyx.git] / src / Thesaurus.h
index 9808a455ff49ab683e31734f39644553d9178ad0..65cd0de6553c4e846a1169cbfa074f6ab5017dfb 100644 (file)
 
 #include "support/docstring.h"
 
-#include <vector>
 #include <map>
 #include <string>
-
-#ifdef HAVE_LIBMYTHES
-#include MYTHES_H_LOCATION
-#else
-#ifdef HAVE_LIBAIKSAURUS
-#include AIKSAURUS_H_LOCATION
-#endif // HAVE_LIBAIKSAURUS
-#endif // !HAVE_LIBMYTHES
+#include <vector>
 
 namespace lyx {
 
@@ -51,18 +43,8 @@ public:
        bool thesaurusAvailable(docstring const & lang) const;
 
 private:
-#ifdef HAVE_LIBMYTHES
-       /// add a thesaurus to the list
-       bool addThesaurus(docstring const & lang);
-
-       typedef std::map<docstring, MyThes *> Thesauri;
-       /// the thesauri
-       Thesauri thes_;
-#else
-#ifdef HAVE_LIBAIKSAURUS
-       Aiksaurus * thes_;
-#endif // HAVE_LIBAIKSAURUS
-#endif // !HAVE_LIBMYTHES
+       struct Private;
+       Private * const d;
 };
 
 extern Thesaurus thesaurus;