lyx_mirror/src/support/bind.h
Peter Kümmel d0feccc7ed switch mouse to busy symbol every 3 seconds and then back to show the
user something is done in the background


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35795 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-23 10:49:45 +00:00

41 lines
573 B
C++

// -*- 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
#include "support/functional.h"
#ifdef LYX_USE_TR1
namespace lyx
{
using std::tr1::bind;
using std::tr1::placeholders::_1;
using std::tr1::placeholders::_2;
using std::tr1::ref;
}
#else
#include <boost/bind.hpp>
namespace lyx
{
using boost::bind;
using boost::ref;
}
#endif
#endif