]> git.lyx.org Git - lyx.git/blob - src/TextClassPtr.h
GuiToc::initialiseParams(): Fix list type parsing
[lyx.git] / src / TextClassPtr.h
1 // -*- C++ -*-
2 /**
3  * \file TextClassPtr.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * Full author contact details are available in file CREDITS.
8  */
9
10 #ifndef TEXTCLASS_PTR_H
11 #define TEXTCLASS_PTR_H
12
13 #include <boost/shared_ptr.hpp>
14
15 namespace lyx {
16
17 class TextClass;
18
19 /// Global typedef
20 /** Shared pointer for possibly modular layout. Needed so that paste,
21  *  for example, will still be able to retain the pointer, even when
22  *  the buffer itself is closed.
23  */
24 typedef boost::shared_ptr<TextClass> TextClassPtr;
25
26 } // namespace lyx
27
28 #endif