File indexing completed on 2024-12-01 13:11:47

0001 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
0002 /* writerperfect
0003  * Version: MPL 2.0 / LGPLv2.1+
0004  *
0005  * This Source Code Form is subject to the terms of the Mozilla Public
0006  * License, v. 2.0. If a copy of the MPL was not distributed with this
0007  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
0008  *
0009  * Major Contributor(s):
0010  * Copyright (C) 2002-2004 William Lachance (wrlach@gmail.com)
0011  * Copyright (C) 2004-2006 Fridrich Strba (fridrich.strba@bluewin.ch)
0012  *
0013  * For minor contributions see the git repository.
0014  *
0015  * Alternatively, the contents of this file may be used under the terms
0016  * of the GNU Lesser General Public License Version 2.1 or later
0017  * (LGPLv2.1+), in which case the provisions of the LGPLv2.1+ are
0018  * applicable instead of those above.
0019  *
0020  * For further information visit http://libwpd.sourceforge.net
0021  */
0022 
0023 #ifndef WRITERPERFECT_UTILS_HXX
0024 #define WRITERPERFECT_UTILS_HXX
0025 
0026 #if defined(SHAREDPTR_TR1)
0027 #include <tr1/memory>
0028 using std::tr1::shared_ptr;
0029 #elif defined(SHAREDPTR_STD)
0030 #include <memory>
0031 using std::shared_ptr;
0032 #else
0033 #include <boost/shared_ptr.hpp>
0034 using boost::shared_ptr;
0035 #endif
0036 
0037 #endif // WRITERPERFECT_UTILS_HXX
0038 
0039 /* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */