mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-13 06:20:28 +00:00
29 lines
604 B
C
29 lines
604 B
C
|
// -*- C++ -*-
|
||
|
/**
|
||
|
* \file TextClass_ptr.h
|
||
|
* This file is part of LyX, the document processor.
|
||
|
* Licence details can be found in the file COPYING.
|
||
|
*
|
||
|
* \author Richard Heck
|
||
|
*
|
||
|
* Full author contact details are available in file CREDITS.
|
||
|
*/
|
||
|
|
||
|
#ifndef TEXTCLASS_PTR_H
|
||
|
#define TEXTCLASS_PTR_H
|
||
|
|
||
|
#include <boost/shared_ptr.hpp>
|
||
|
|
||
|
namespace lyx {
|
||
|
|
||
|
class TextClass;
|
||
|
|
||
|
/** Shared pointer for possibly modular layout. Needed so that paste,
|
||
|
* for example, will still be able to retain the pointer, even when
|
||
|
* the buffer itself is closed.
|
||
|
*/
|
||
|
typedef boost::shared_ptr<TextClass> TextClass_ptr;
|
||
|
|
||
|
}
|
||
|
#endif
|