Seperate the API macros
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / public-api / image-loader / sync-image-loader.h
old mode 100644 (file)
new mode 100755 (executable)
index 9d0a820..732c937
@@ -2,7 +2,7 @@
 #define DALI_TOOLKIT_SYNC_IMAGE_LOADER_H
 
 /*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2018 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -22,6 +22,9 @@
 #include <dali/public-api/images/image-operations.h>
 #include <dali/public-api/images/pixel-data.h>
 
+// INTERNAL INCLUDES
+#include <dali-toolkit/public-api/dali-toolkit-common.h>
+
 namespace Dali
 {
 
@@ -61,7 +64,7 @@ namespace SyncImageLoader
  * @param[in] url The URL of the image file to load
  * @return A PixelData object containing the image, or an invalid object on failure
  */
-DALI_IMPORT_API PixelData Load( const std::string& url );
+DALI_TOOLKIT_API PixelData Load( const std::string& url );
 
 /**
  * @brief Loads an image synchronously by specifying the target dimensions.
@@ -77,7 +80,7 @@ DALI_IMPORT_API PixelData Load( const std::string& url );
  * @param[in] dimensions The width and height to fit the loaded image to
  * @return A PixelData object containing the image, or an invalid object on failure
  */
-DALI_IMPORT_API PixelData Load( const std::string& url, ImageDimensions dimensions );
+DALI_TOOLKIT_API PixelData Load( const std::string& url, ImageDimensions dimensions );
 
 /**
  * @brief Loads an image synchronously by specifying the target dimensions and options.
@@ -91,7 +94,7 @@ DALI_IMPORT_API PixelData Load( const std::string& url, ImageDimensions dimensio
  * @param[in] orientationCorrection Reorient the image to respect any orientation metadata in its header
  * @return A PixelData object containing the image, or an invalid object on failure
  */
-DALI_IMPORT_API PixelData Load( const std::string& url,
+DALI_TOOLKIT_API PixelData Load( const std::string& url,
                 ImageDimensions dimensions,
                 FittingMode::Type fittingMode,
                 SamplingMode::Type samplingMode,