#define TIZEN_CFG_CURL_TIMEOUT 120 /* seconds */
#define TIZEN_CFG_CURL_MULTITHREADS 8 /* the limit of multi-threads for CURL */
+#define TIZEN_CFG_CPP11_UNIQUE_PTR
+
/* for debugging */
//#define TIZEN_PROFILING_CURL_TIME
//#define TIZEN_PROFILING_MEMLEAK
*
* @param bitmap A pointer to an existing bitmap.
*/
-#ifdef TIZEN_MIGRATION
+#ifdef TIZEN_CFG_CPP11_UNIQUE_PTR
DrawableBitmap(std::unique_ptr<Tizen::Maps::Bitmap>& bitmap);
#else
DrawableBitmap(std::auto_ptr<Tizen::Graphics::Bitmap>& bitmap);
HERE_MAPS_NO_COPY_NO_ASSIGN(GeoMapObject);
class GeoMapObjectImpl;
+#ifdef TIZEN_CFG_CPP11_UNIQUE_PTR
+ std::unique_ptr<GeoMapObjectImpl> m_impl;
+#else
std::auto_ptr<GeoMapObjectImpl> m_impl;
+#endif
};
HERE_MAPS_END_NAMESPACE
HERE_MAPS_NO_COPY_NO_ASSIGN(GeoMapObjectPolyline);
class GeoMapObjectPolylineImpl;
+#ifdef TIZEN_CFG_CPP11_UNIQUE_PTR
+ std::unique_ptr<GeoMapObjectPolylineImpl> m_impl;
+#else
std::auto_ptr<GeoMapObjectPolylineImpl> m_impl;
+#endif
};
HERE_MAPS_END_NAMESPACE
HERE_MAPS_NO_COPY_NO_ASSIGN(GeoObjectProvider);
class GeoObjectProviderImpl;
+#ifdef TIZEN_CFG_CPP11_UNIQUE_PTR
+ std::unique_ptr<GeoObjectProviderImpl> m_impl;
+#else
std::auto_ptr<GeoObjectProviderImpl> m_impl;
+#endif
};
HERE_MAPS_END_NAMESPACE
private:
class GeoTileProviderImpl;
+#ifdef TIZEN_CFG_CPP11_UNIQUE_PTR
+ std::unique_ptr<GeoTileProviderImpl> m_impl;
+#else
std::auto_ptr<GeoTileProviderImpl> m_impl;
+#endif
};
HERE_MAPS_END_NAMESPACE