]> git.lyx.org Git - lyx.git/blob - src/support/docstring_list.h
Cmake build: Adapt handling of mytheslib to automek behaviour
[lyx.git] / src / support / docstring_list.h
1 // -*- C++ -*-
2 /**
3  * \file docstring_list.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Abdelrazak Younes
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef DOCSTRINGLIST_H
13 #define DOCSTRINGLIST_H
14
15 #include "support/docstring.h"
16
17 #include <vector>
18
19 namespace lyx {
20
21 /**
22  * Class for storing docstring list.
23  * std::vector can not be forward declared in a simple way. Creating a class solves
24  * this problem.
25  */
26 class docstring_list : public std::vector<docstring>
27 {
28 public:
29         docstring_list(): std::vector<docstring>() {}
30
31         docstring_list(std::vector<docstring> const & v) : std::vector<docstring>(v)
32         {}
33 };
34
35 } // namespace lyx
36
37 #endif // DOCSTRINGLIST_H