Files
@ 3cf2a77a4420
Branch filter:
Location: libtransport.git/include/boost/signalslib.hpp - annotation
3cf2a77a4420
659 B
text/x-c++hdr
CMake: rename remaining ENABLE_SWIFTEN entries
6d2f8c192761 6d2f8c192761 6d2f8c192761 6d2f8c192761 6d2f8c192761 6d2f8c192761 6d2f8c192761 6d2f8c192761 6d2f8c192761 6d2f8c192761 6d2f8c192761 6d2f8c192761 6d2f8c192761 6d2f8c192761 6d2f8c192761 6d2f8c192761 6d2f8c192761 6d2f8c192761 6d2f8c192761 6d2f8c192761 6d2f8c192761 6d2f8c192761 6d2f8c192761 6d2f8c192761 6d2f8c192761 6d2f8c192761 6d2f8c192761 6d2f8c192761 6d2f8c192761 6d2f8c192761 6d2f8c192761 6d2f8c192761 6d2f8c192761 | /*
* Walkaroung for Boost, Qt namespace clash
*
* Taken from boost documantation:
* http://www.boost.org/doc/libs/1_55_0/doc/html/signals/s04.html
*/
#ifndef SIGNALSLIB_HPP_INCLUDED
#define SIGNALSLIB_HPP_INCLUDED
#if defined(signals) && defined(QOBJECTDEFS_H) && \
!defined(QT_MOC_CPP)
# undef signals
# define signals signals
#endif
#include <boost/signal.hpp>
namespace boost
{
namespace signalslib = signals;
}
#if defined(signals) && defined(QOBJECTDEFS_H) && \
!defined(QT_MOC_CPP)
# undef signals
// Restore the macro definition of "signals", as it was
// defined by Qt's <qobjectdefs.h>.
# define signals protected
#endif
#endif
|