mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 11:52:25 +00:00
cdf1378200
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21506 a592a061-630c-0410-9148-cb99ea01b6c8
29 lines
610 B
C++
29 lines
610 B
C++
// -*- C++ -*-
|
|
/**
|
|
* \file TextClassPtr.h
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* 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;
|
|
|
|
/// Global typedef
|
|
/** 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> TextClassPtr;
|
|
|
|
} // namespace lyx
|
|
|
|
#endif
|