]> git.lyx.org Git - lyx.git/blob - src/LaTeXPackages.h
Fix #10778 (issue with CJK and language nesting)
[lyx.git] / src / LaTeXPackages.h
1 // -*- C++ -*-
2 /**
3  * \file LaTeXPackages.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Lars Gullik Bjønnes
8  * \author Jean-Marc Lasgouttes
9  *
10  * Full author contact details are available in file CREDITS.
11  */
12
13 #ifndef LATEXPACKAGES_H
14 #define LATEXPACKAGES_H
15
16 #include <string>
17 #include <set>
18
19
20 namespace lyx {
21
22
23 /** The list of avilable LaTeX packages
24  */
25 class LaTeXPackages {
26 public:
27         /// Which of the required packages are installed?
28         static void getAvailable();
29         /// Is the (required) package available?
30         static bool isAvailable(std::string const & name);
31 private:
32         /// The available (required) packages
33         typedef std::set<std::string> Packages;
34         ///
35         static Packages packages_;
36 };
37
38
39 } // namespace lyx
40
41 #endif