#define DALI_TOOLKIT_ASYNC_IMAGE_LOADER_H
/*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 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.
#include <dali/public-api/images/image-operations.h>
#include <dali/public-api/signals/dali-signal.h>
+// INTERNAL INCLUDES
+#include <dali-toolkit/public-api/dali-toolkit-common.h>
+
namespace Dali
{
class PixelData;
}
/**
+ * @addtogroup dali_toolkit_image_loader
+ * @{
+ */
+
+/**
* @brief The AsyncImageLoader is used to load pixel data from a URL asynchronously.
*
* The images are loaded in a worker thread to avoid blocking the main event thread.
*
* @endcode
*/
-class DALI_IMPORT_API AsyncImageLoader : public BaseHandle
+class DALI_TOOLKIT_API AsyncImageLoader : public BaseHandle
{
public:
AsyncImageLoader( const AsyncImageLoader& handle );
/**
+ * @brief Move constructor
+ * @SINCE_1_9.23
+ *
+ * @param[in] rhs A reference to the moved handle
+ */
+ AsyncImageLoader( AsyncImageLoader&& rhs );
+
+ /**
* @brief This assignment operator is required for (smart) pointer semantics.
* @SINCE_1_2_14
*
AsyncImageLoader& operator=( const AsyncImageLoader& handle );
/**
+ * @brief Move assignment
+ * @SINCE_1_9.23
+ *
+ * @param[in] rhs A reference to the moved handle
+ */
+ AsyncImageLoader& operator=( AsyncImageLoader&& rhs );
+
+ /**
* @brief Creates a new loader to load the image asynchronously in a worker thread.
* @SINCE_1_2_14
*
};
+/**
+ * @}
+ */
} // namespace Toolkit
} // namespace Dali