lyx_mirror/src/support/docstring_list.h
Abdelrazak Younes 8a7c802ab0 Introduce docstring_list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24924 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-24 10:15:52 +00:00

38 lines
759 B
C++

// -*- C++ -*-
/**
* \file docstring_list.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Abdelrazak Younes
*
* Full author contact details are available in file CREDITS.
*/
#ifndef DOCSTRINGLIST_H
#define DOCSTRINGLIST_H
#include "support/docstring.h"
#include <vector>
namespace lyx {
/**
* Class for storing docstring list.
* std::vector can not be forward declared in a simple way. Creating a class solves
* this problem.
*/
class docstring_list : public std::vector<docstring>
{
public:
docstring_list(): std::vector<docstring>() {}
docstring_list(std::vector<docstring> const & v) : std::vector<docstring>(v)
{}
};
} // namespace lyx
#endif // DOCSTRINGLIST_H