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