]> git.lyx.org Git - lyx.git/blob - src/support/bind.h
Fix import of latex documents with scaled fonts.
[lyx.git] / src / support / bind.h
1 // -*- C++ -*-
2 /**
3  * \file bind.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Peter Kümmel
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef LYX_BIND_H
13 #define LYX_BIND_H
14
15 #include "support/functional.h"
16
17 #ifdef LYX_USE_TR1
18
19 namespace lyx
20 {
21         using std::tr1::bind;
22         using std::tr1::placeholders::_1;
23         using std::tr1::placeholders::_2;
24         using std::tr1::ref;
25 }
26
27 #else
28
29 #include <boost/bind.hpp>
30
31 namespace lyx
32 {
33         using boost::bind;
34         using boost::ref;
35 }
36
37 #endif
38
39
40 #endif