=== modified file 'Nux/TimerProc.h'
@@ -23,6 +23,7 @@
#ifndef TIMERPROC_H
#define TIMERPROC_H
+#include <memory>
namespace nux
{
=== modified file 'NuxCore/Logger.h'
@@ -22,9 +22,9 @@
#ifndef NUX_CORE_LOGGER_H
#define NUX_CORE_LOGGER_H
+#include <memory>
#include <ostream>
#include <string>
-#include <boost/shared_ptr.hpp>
#if defined(NUX_OS_WINDOWS)
#define __func__ __FUNCTION__
@@ -134,7 +134,7 @@
class LoggerModule;
-typedef boost::shared_ptr<LoggerModule> LoggerModulePtr;
+typedef std::shared_ptr<LoggerModule> LoggerModulePtr;
class Logger
{
=== modified file 'NuxCore/LoggingWriter.cpp'
@@ -47,7 +47,7 @@
struct StreamWrapper
{
- typedef boost::shared_ptr<StreamWrapper> Ptr;
+ typedef std::shared_ptr<StreamWrapper> Ptr;
StreamWrapper(std::ostream& output) : out(output) {}
std::ostream& out;
=== modified file 'NuxCore/PropertyAnimation.h'
@@ -22,23 +22,22 @@
#ifndef NUX_CORE_PROPERTY_ANIMATION_H
#define NUX_CORE_PROPERTY_ANIMATION_H
+#include <memory>
#include "Animation.h"
#include "Property.h"
-#include <boost/shared_ptr.hpp>
-
namespace nux
{
namespace animation
{
template <typename T>
-boost::shared_ptr<AnimateValue<T>> animate_property(Property<T>& prop,
+std::shared_ptr<AnimateValue<T>> animate_property(Property<T>& prop,
T const& start,
T const& finish,
int ms_duration)
{
- boost::shared_ptr<AnimateValue<T> > anim(new AnimateValue<T>(start, finish, ms_duration));
+ std::shared_ptr<AnimateValue<T> > anim(new AnimateValue<T>(start, finish, ms_duration));
anim->updated.connect([&prop](T const& v) { prop = v; });
return anim;
}
=== modified file 'autogen.sh'
@@ -2,13 +2,12 @@
srcdir=`dirname $0`
-PKG_NAME="Nux"
+#PKG_NAME="Nux"
which gnome-autogen.sh || {
echo "You need gnome-common from GNOME SVN"
exit 1
}
-USE_GNOME2_MACROS=1 \
. gnome-autogen.sh
=== modified file 'configure.ac'
@@ -93,6 +93,7 @@
dnl ===========================================================================
# Checks for programs
+AM_CXXFLAGS-"$CXXFLAGS -std=c++0x"
AC_PROG_CC_C99
AC_PROG_CXX
AM_PROG_CC_C_O