2010-04-22 11:16:58 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
|
|
|
* \file bind.h
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
*
|
|
|
|
* \author Peter Kümmel
|
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef LYX_BIND_H
|
|
|
|
#define LYX_BIND_H
|
|
|
|
|
2010-10-23 10:49:45 +00:00
|
|
|
#include "support/functional.h"
|
2010-04-22 15:56:20 +00:00
|
|
|
|
2010-10-23 10:49:45 +00:00
|
|
|
#ifdef LYX_USE_TR1
|
2010-06-05 11:06:13 +00:00
|
|
|
|
2010-04-22 15:56:20 +00:00
|
|
|
namespace lyx
|
|
|
|
{
|
|
|
|
using std::tr1::bind;
|
|
|
|
using std::tr1::placeholders::_1;
|
|
|
|
using std::tr1::placeholders::_2;
|
|
|
|
using std::tr1::ref;
|
|
|
|
}
|
2010-04-22 11:16:58 +00:00
|
|
|
|
|
|
|
#else
|
|
|
|
|
2010-06-30 11:04:30 +00:00
|
|
|
#include <boost/bind.hpp>
|
2010-04-22 15:56:20 +00:00
|
|
|
|
|
|
|
namespace lyx
|
|
|
|
{
|
|
|
|
using boost::bind;
|
|
|
|
using boost::ref;
|
|
|
|
}
|
2010-04-22 11:16:58 +00:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|